diff options
author | Paul W. Frields <stickster@gmail.com> | 2006-04-11 20:24:26 +0000 |
---|---|---|
committer | Paul W. Frields <stickster@gmail.com> | 2006-04-11 20:24:26 +0000 |
commit | b37063719f44eb16fb297f6c9a98294e14a8f9f4 (patch) | |
tree | f8ce5bf8ae83b443111df41f9b4780613c6e4600 /packaging | |
parent | 7813413bd391fdd00f0717419b849f61022e4143 (diff) | |
download | fedora-doc-utils-b37063719f44eb16fb297f6c9a98294e14a8f9f4.tar.gz fedora-doc-utils-b37063719f44eb16fb297f6c9a98294e14a8f9f4.tar.xz fedora-doc-utils-b37063719f44eb16fb297f6c9a98294e14a8f9f4.zip |
Fix locale to proper en_US notation, and correct filename
Diffstat (limited to 'packaging')
-rw-r--r-- | packaging/omf.xsl | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/packaging/omf.xsl b/packaging/omf.xsl index 222dcdf..b827841 100644 --- a/packaging/omf.xsl +++ b/packaging/omf.xsl @@ -5,7 +5,7 @@ <!-- 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="/"> @@ -34,15 +34,15 @@ </type> <format mime="text/xml" dtd="-//OASIS//DTD DocBook XML V4.2//EN"/> <xsl:choose> - <xsl:when test="$lang='en'"> - <identifier url="file:/usr/share/fedora/doc/fedora-doc-{$docbase}/C/{$docbase}-{$lang}.xml"/> + <xsl:when test="$lang='en_US'"> + <identifier url="file:/usr/share/fedora/doc/fedora-doc-{$docbase}/C/{$docbase}.xml"/> </xsl:when> <xsl:otherwise> - <identifier url="file:/usr/share/fedora/doc/fedora-doc-{$docbase}/{$lang}/{$docbase}-{$lang}.xml"/> + <identifier url="file:/usr/share/fedora/doc/fedora-doc-{$docbase}/{$lang}/{$docbase}.xml"/> </xsl:otherwise> </xsl:choose> <xsl:choose> - <xsl:when test="$lang='en'"><language code="C"/></xsl:when> + <xsl:when test="$lang='en_US'"><language code="C"/></xsl:when> <xsl:otherwise><language code="$lang"/></xsl:otherwise> </xsl:choose> <relation seriesid="7a5d3ea2-2a1e-11da-86a3-8ea47a4bb227"/> |