summaryrefslogtreecommitdiffstats
path: root/packaging/kde-desktop.xsl
diff options
context:
space:
mode:
authorPaul W. Frields <stickster@gmail.com>2006-04-11 20:19:26 +0000
committerPaul W. Frields <stickster@gmail.com>2006-04-11 20:19:26 +0000
commit91212918d93727bd7cf20ed07a4b71257b4c0451 (patch)
tree59fa159f9deaa2f56f468147bea7ad905f69576a /packaging/kde-desktop.xsl
parent4e6372dc35cc1414c2d38099efdb6abe7f66518c (diff)
downloadfedora-doc-utils-91212918d93727bd7cf20ed07a4b71257b4c0451.tar.gz
fedora-doc-utils-91212918d93727bd7cf20ed07a4b71257b4c0451.tar.xz
fedora-doc-utils-91212918d93727bd7cf20ed07a4b71257b4c0451.zip
Fix locale to proper en_US notation
Diffstat (limited to 'packaging/kde-desktop.xsl')
-rw-r--r--packaging/kde-desktop.xsl8
1 files changed, 4 insertions, 4 deletions
diff --git a/packaging/kde-desktop.xsl b/packaging/kde-desktop.xsl
index ab8c89f..9dd1dbd 100644
--- a/packaging/kde-desktop.xsl
+++ b/packaging/kde-desktop.xsl
@@ -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