Przeglądaj źródła

build: Add l10n option for pdf and nochunks (issue #2)

Xi Ruoyao 7 lat temu
rodzic
commit
91b4dd825d
1 zmienionych plików z 2 dodań i 0 usunięć
  1. 2 0
      Makefile

+ 2 - 0
Makefile

@@ -75,6 +75,7 @@ pdf: validate
 
 	@echo "Generating FO file..."
 	$(Q)xsltproc --nonet                           \
+                 --stringparam l10n.gentext.default.language "zh_cn" \
                  --stringparam rootid "$(ROOT_ID)" \
                  --output $(RENDERTMP)/lfs-pdf.fo  \
                  stylesheets/lfs-pdf.xsl           \
@@ -97,6 +98,7 @@ pdf: validate
 nochunks: validate profile-html
 	@echo "Generating non chunked XHTML file..."
 	$(Q)xsltproc --nonet                                \
+                --stringparam l10n.gentext.default.language "zh_cn" \
                 --stringparam rootid "$(ROOT_ID)"      \
                 --output $(BASEDIR)/$(NOCHUNKS_OUTPUT) \
                 stylesheets/lfs-nochunks.xsl           \