Author: pfrields
Update of /cvs/docs/docs-common/packaging
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv1013/packaging
Modified Files:
gnome-desktop.xsl
Log Message:
Fix locale and one minor filename issue
Index: gnome-desktop.xsl
===================================================================
RCS file: /cvs/docs/docs-common/packaging/gnome-desktop.xsl,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -r1.4 -r1.5
--- gnome-desktop.xsl 29 Dec 2005 22:37:32 -0000 1.4
+++ gnome-desktop.xsl 11 Apr 2006 20:21:13 -0000 1.5
@@ -5,29 +5,28 @@
<!-- 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"/>
-GenericName=<xsl:value-of
select="/rpm-info/titles/translation[@lang='en']/title"/>
+Name=<xsl:value-of
select="/rpm-info/titles/translation[@lang='en_US']/title"/>
+GenericName=<xsl:value-of
select="/rpm-info/titles/translation[@lang='en_US']/title"/>
Exec=gnome-help file:///usr/share/fedora/doc/fedora-doc-<xsl:value-of
- select="$docbase"/>/C/<xsl:value-of
select="$docbase"/>-en.xml
-Comment=<xsl:value-of
select="/rpm-info/titles/translation[@lang='en']/desc"/>
+ select="$docbase"/>/C/<xsl:value-of
select="$docbase"/>.xml
+Comment=<xsl:value-of
select="/rpm-info/titles/translation[@lang='en_US']/desc"/>
-<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'">Exec[<xsl:value-of select="@lang"/>]=gnome-help
file:///usr/share/fedora/doc/fedora-doc-<xsl:value-of
+ 'en_US'">Exec[<xsl:value-of select="@lang"/>]=gnome-help
file:///usr/share/fedora/doc/fedora-doc-<xsl:value-of
select="$docbase"/>/<xsl:value-of
select="@lang"/>/<xsl:value-of
- select="$docbase"/>-<xsl:value-of
- select="@lang"/>.xml</xsl:if></xsl:for-each>
+ select="$docbase"/>.xml</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
select="desc"/></xsl:if></xsl:for-each>
+ 'en_US'">Comment[<xsl:value-of
select="@lang"/>]=<xsl:apply-templates
select="desc"/></xsl:if></xsl:for-each>
Icon=icon-documentation.png
Terminal=false
Show replies by date