docs-common/packaging kde-desktop.xsl,1.2,1.3
Paul W. Frields (pfrields)
fedora-docs-commits at redhat.com
Tue Apr 11 20:22:55 UTC 2006
Author: pfrields
Update of /cvs/docs/docs-common/packaging
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv1130/packaging
Modified Files:
kde-desktop.xsl
Log Message:
Fix locale to proper en_US notation
Index: kde-desktop.xsl
===================================================================
RCS file: /cvs/docs/docs-common/packaging/kde-desktop.xsl,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- kde-desktop.xsl 29 Dec 2005 22:37:32 -0000 1.2
+++ kde-desktop.xsl 11 Apr 2006 20:22:53 -0000 1.3
@@ -5,22 +5,22 @@
<!-- Note: do not indent this file! Any whitespace here
will be reproduced in the output -->
- <xsl:param name="lang" select="'en'" />
+ <xsl:param name="lang" select="'en_US'" />
<xsl:param name="docbase" select="'example-tutorial'" />
<xsl:template match="/">[Desktop Entry]
Encoding=UTF-8
Categories=X-Fedora-Documentation;
-Name=<xsl:value-of select="/rpm-info/titles/translation[@lang='en']/title"/>
+Name=<xsl:value-of select="/rpm-info/titles/translation[@lang='en_US']/title"/>
Exec=khelpcenter help:/fedora-doc-<xsl:value-of
select="$docbase"/>/index.html
-<xsl:for-each select="/rpm-info/titles/translation"><xsl:if test="@lang != 'en'">Name[<xsl:value-of
+<xsl:for-each select="/rpm-info/titles/translation"><xsl:if test="@lang != 'en_US'">Name[<xsl:value-of
select="@lang"/>]=<xsl:apply-templates
select="title"/></xsl:if></xsl:for-each>
<xsl:for-each select="/rpm-info/titles/translation"><xsl:if test="@lang !=
- 'en'">Comment[<xsl:value-of select="@lang"/>]=<xsl:apply-templates
+ 'en_US'">Comment[<xsl:value-of select="@lang"/>]=<xsl:apply-templates
select="desc"/></xsl:if></xsl:for-each>
Icon=icon-documentation.png
More information about the Fedora-docs-commits
mailing list