docs-common/packaging omf.xsl,1.4,1.5

Paul W. Frields (pfrields) fedora-docs-commits at redhat.com
Sat Jan 28 18:34:18 UTC 2006


Author: pfrields

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

Modified Files:
	omf.xsl 
Log Message:
Fix lang for English document OMFs


Index: omf.xsl
===================================================================
RCS file: /cvs/docs/docs-common/packaging/omf.xsl,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -r1.4 -r1.5
--- omf.xsl	20 Jan 2006 02:05:15 -0000	1.4
+++ omf.xsl	28 Jan 2006 18:34:08 -0000	1.5
@@ -41,7 +41,10 @@
 	    <identifier url="file:/usr/share/fedora/doc/fedora-doc-{$docbase}/{$lang}/{$docbase}-{$lang}.xml"/>
 	  </xsl:otherwise>
 	</xsl:choose>
-        <language code="{$lang}"/>
+        <xsl:choose>
+	  <xsl:when test="$lang='en'"><language code="C"/></xsl:when>
+	  <xsl:otherwise><language code="$lang"/></xsl:otherwise>
+	</xsl:choose>
         <relation seriesid="7a5d3ea2-2a1e-11da-86a3-8ea47a4bb227"/>
         <rights type="GNU FDL" license.version="1.1" />
       </resource>




More information about the Fedora-docs-commits mailing list