Author: pfrields
Update of /cvs/docs/docs-common/common/entities
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv30565
Modified Files:
Makefile entities.xsl
Log Message:
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.
Index: Makefile
===================================================================
RCS file: /cvs/docs/docs-common/common/entities/Makefile,v
retrieving revision 1.40
retrieving revision 1.41
diff -u -r1.40 -r1.41
--- Makefile 23 Apr 2007 18:01:16 -0000 1.40
+++ Makefile 28 Apr 2007 00:36:59 -0000 1.41
@@ -177,6 +177,7 @@
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})))
Index: entities.xsl
===================================================================
RCS file: /cvs/docs/docs-common/common/entities/entities.xsl,v
retrieving revision 1.8
retrieving revision 1.9
diff -u -r1.8 -r1.9
--- entities.xsl 18 Mar 2007 20:29:36 -0000 1.8
+++ entities.xsl 28 Apr 2007 00:36:59 -0000 1.9
@@ -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>