docs-common/packaging bookinfo.xsl,1.27,1.28

Paul W. Frields (pfrields) fedora-docs-commits at redhat.com
Sat Aug 5 03:50:55 UTC 2006


Author: pfrields

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

Modified Files:
	bookinfo.xsl 
Log Message:
This change temporarily breaks building but will improve translation
overall.  The rpm-info.xml should no longer contain any translations,
and should now be stored in the original language directory.  It will
still be used to generate fdp-info.xml, and we will probably also
strip RPM information out of the DTD since we intend to use a standard
specfile for this purpose from here on out.



Index: bookinfo.xsl
===================================================================
RCS file: /cvs/docs/docs-common/packaging/bookinfo.xsl,v
retrieving revision 1.27
retrieving revision 1.28
diff -u -r1.27 -r1.28
--- bookinfo.xsl	15 Jul 2006 15:20:46 -0000	1.27
+++ bookinfo.xsl	5 Aug 2006 03:50:52 -0000	1.28
@@ -59,27 +59,9 @@
 	      <xsl:call-template name="initials"><xsl:with-param name="who" select="author/@worker"/></xsl:call-template>
 	    </xsl:element>
 	    <xsl:element name="revdescription">
-	      <xsl:choose>
-		<xsl:when test="details[@lang = $lang]">
-		  <xsl:for-each select="details[@lang = $lang]">
-		    <xsl:element name="para">
-		      <xsl:apply-templates/>
-		    </xsl:element>
-		  </xsl:for-each>
-		</xsl:when>
-		<xsl:when test="details[@lang = 'en_US']">
-		  <xsl:for-each select="details[@lang = 'en_US']">
-		    <xsl:element name="para">
-		      <xsl:apply-templates/>
-		    </xsl:element>
-		  </xsl:for-each>
-		</xsl:when>
-		<xsl:otherwise>
-		  <xsl:element name="para">
-		    <xsl:text>(...)</xsl:text>
-		  </xsl:element>
-		</xsl:otherwise>
-	      </xsl:choose>
+	      <xsl:element name="para">
+		<xsl:value-of select="details"/>
+	      </xsl:element>
 	    </xsl:element>
 	  </xsl:element>
 	</xsl:for-each>




More information about the docs-commits mailing list