docs-common/packaging omf.xsl,1.7,1.8

Paul W. Frields (pfrields) fedora-docs-commits at redhat.com
Tue Apr 11 20:24:29 UTC 2006


Author: pfrields

Update of /cvs/docs/docs-common/packaging
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv1268/packaging

Modified Files:
	omf.xsl 
Log Message:
Fix locale to proper en_US notation, and correct filename


Index: omf.xsl
===================================================================
RCS file: /cvs/docs/docs-common/packaging/omf.xsl,v
retrieving revision 1.7
retrieving revision 1.8
diff -u -r1.7 -r1.8
--- omf.xsl	23 Feb 2006 23:06:41 -0000	1.7
+++ omf.xsl	11 Apr 2006 20:24:26 -0000	1.8
@@ -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"/>




More information about the Fedora-docs-commits mailing list