浏览代码

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

Xi Ruoyao 7 年之前
父节点
当前提交
91b4dd825d
共有 1 个文件被更改,包括 2 次插入0 次删除
  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           \