diff options
author | Rémi Verschelde <rverschelde@gmail.com> | 2021-12-21 10:53:07 +0100 |
---|---|---|
committer | Rémi Verschelde <rverschelde@gmail.com> | 2021-12-21 13:47:11 +0100 |
commit | b98785309f9e8f64299fa39403266cc743bde722 (patch) | |
tree | ad0f76a6d9f2236b0071f3d1172b7c939e5e6e90 /doc/Makefile | |
parent | d321858732c83f1aecfbc7e3de4c347cd509639e (diff) |
i18n: Add `--lang` option to `make_rst.py` to write translated headings
Add a few missing headings to the translation templates.
Diffstat (limited to 'doc/Makefile')
-rw-r--r-- | doc/Makefile | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/doc/Makefile b/doc/Makefile index c46a485da1..c29843f303 100644 --- a/doc/Makefile +++ b/doc/Makefile @@ -3,6 +3,8 @@ CLASSES = $(BASEDIR)/classes/ $(BASEDIR)/../modules/ OUTPUTDIR = $(BASEDIR)/_build TOOLSDIR = $(BASEDIR)/tools JSDIR = $(BASEDIR)/../platform/javascript +LANGARG ?= en +LANGCMD = -l $(LANGARG) .ONESHELL: @@ -17,7 +19,7 @@ doxygen: rst: rm -rf $(OUTPUTDIR)/rst mkdir -p $(OUTPUTDIR)/rst - python3 $(TOOLSDIR)/make_rst.py -o $(OUTPUTDIR)/rst $(CLASSES) + python3 $(TOOLSDIR)/make_rst.py -o $(OUTPUTDIR)/rst $(LANGCMD) $(CLASSES) rstjs: rm -rf $(OUTPUTDIR)/rstjs |