summaryrefslogtreecommitdiffstats
path: root/packaging
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
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')
-rw-r--r--packaging/bookinfo.xsl4
-rw-r--r--packaging/kde-desktop.xsl8
-rw-r--r--packaging/khelpcenter-plugin.xsl4
3 files changed, 8 insertions, 8 deletions
diff --git a/packaging/bookinfo.xsl b/packaging/bookinfo.xsl
index 8b87564..eb6d249 100644
--- a/packaging/bookinfo.xsl
+++ b/packaging/bookinfo.xsl
@@ -66,8 +66,8 @@
</xsl:element>
</xsl:for-each>
</xsl:when>
- <xsl:when test="details[@lang = 'en']">
- <xsl:for-each select="details[@lang = 'en']">
+ <xsl:when test="details[@lang = 'en_US']">
+ <xsl:for-each select="details[@lang = 'en_US']">
<xsl:element name="para">
<xsl:apply-templates/>
</xsl:element>
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
diff --git a/packaging/khelpcenter-plugin.xsl b/packaging/khelpcenter-plugin.xsl
index d8a206a..991f3df 100644
--- a/packaging/khelpcenter-plugin.xsl
+++ b/packaging/khelpcenter-plugin.xsl
@@ -5,12 +5,12 @@
<!-- 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]
DocPath=help:/fedora-doc-<xsl:value-of select="$docbase"/>/index.html
-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"/>
<xsl:for-each select="/rpm-info/titles/translation">Name[<xsl:value-of
select="@lang"/>]=<xsl:value-of select="title"/>