summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPaul W. Frields <stickster@gmail.com>2007-04-28 00:36:59 +0000
committerPaul W. Frields <stickster@gmail.com>2007-04-28 00:36:59 +0000
commit5f491fd9caf71304905e14144bb381a75e332607 (patch)
tree044fad797ae0858ed31cd2275473558102f8759e
parentdb27a3dae65bbd22259a97e5caa8b3725e137985 (diff)
downloadfedora-doc-utils-5f491fd9caf71304905e14144bb381a75e332607.tar.gz
fedora-doc-utils-5f491fd9caf71304905e14144bb381a75e332607.tar.xz
fedora-doc-utils-5f491fd9caf71304905e14144bb381a75e332607.zip
Add another global entity LANG for the current locale code; this is useful for snippets where there is no translatable content for translators to change.
-rw-r--r--common/entities/Makefile1
-rw-r--r--common/entities/entities.xsl1
-rw-r--r--common/entities/po/entities.pot2
3 files changed, 3 insertions, 1 deletions
diff --git a/common/entities/Makefile b/common/entities/Makefile
index ff64787..0b47b20 100644
--- a/common/entities/Makefile
+++ b/common/entities/Makefile
@@ -177,6 +177,7 @@ help::
define ENT_template
entities-${1}.ent:: entities-${1}.xml po/entities.pot
xsltproc -o $$@ --stringparam FDPCOMMONDIR "${FDPCOMMONDIR}" \
+ --stringparam LANG "${1}" \
entities.xsl entities-${1}.xml
endef
$(foreach L,${PRI_LANG} ${OTHERS},$(eval $(call ENT_template,${L})))
diff --git a/common/entities/entities.xsl b/common/entities/entities.xsl
index 9d1f8e5..f0d0505 100644
--- a/common/entities/entities.xsl
+++ b/common/entities/entities.xsl
@@ -4,6 +4,7 @@
<xsl:output indent="yes" omit-xml-declaration="yes"/>
<xsl:param name="FDPCOMMONDIR">/usr/share/fedora/doc/docs-common/common</xsl:param>
+ <xsl:param name="LANG">en_US</xsl:param>
<xsl:template match="/">
<xsl:comment>
diff --git a/common/entities/po/entities.pot b/common/entities/po/entities.pot
index e358d98..4217127 100644
--- a/common/entities/po/entities.pot
+++ b/common/entities/po/entities.pot
@@ -1,7 +1,7 @@
msgid ""
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
-"POT-Creation-Date: 2007-04-17 21:59-0700\n"
+"POT-Creation-Date: 2007-04-27 20:34-0400\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <LL@li.org>\n"