[lfs-fr] r1077 - branches/lfs-6.5/stylesheets/lfs-xsl

jmengual at linuxfromscratch.org jmengual at linuxfromscratch.org
Mar 29 Déc 14:36:15 PST 2009


Author: jmengual
Date: 2009-12-29 23:36:15 +0100 (Tue, 29 Dec 2009)
New Revision: 1077

Modified:
   branches/lfs-6.5/stylesheets/lfs-xsl/common.xsl
Log:
Conclusion 1ere enquete: la taille des paquets


Modified: branches/lfs-6.5/stylesheets/lfs-xsl/common.xsl
===================================================================
--- branches/lfs-6.5/stylesheets/lfs-xsl/common.xsl	2009-12-29 19:27:28 UTC (rev 1076)
+++ branches/lfs-6.5/stylesheets/lfs-xsl/common.xsl	2009-12-29 22:36:15 UTC (rev 1077)
@@ -413,7 +413,7 @@
     <xsl:param name="position">1</xsl:param>
     <xsl:variable name="tokens" select="count($scope/varlistentry)"/>
     <xsl:variable name="token" select="$scope/varlistentry[$position]/term/token"/>
-    <xsl:variable name="size" select="substring-before($token,' KB')"/>
+    <xsl:variable name="size" select="substring-before($token,' Kio')"/>
     <xsl:variable name="rawsize">
       <xsl:choose>
         <xsl:when test="contains($size,',')">
@@ -436,17 +436,17 @@
         <xsl:choose>
           <xsl:when test="$total < '1000'">
             <xsl:value-of select="$total"/>
-            <xsl:text>  KB</xsl:text>
+            <xsl:text>  Kio</xsl:text>
           </xsl:when>
           <xsl:when test="$total > '1000' and $total < '5000'">
             <xsl:value-of select="substring($total,1,1)"/>
             <xsl:text>,</xsl:text>
             <xsl:value-of select="substring($total,2)"/>
-            <xsl:text>  KB</xsl:text>
+            <xsl:text>  Kio</xsl:text>
           </xsl:when>
           <xsl:otherwise>
             <xsl:value-of select="round($total div 1024)"/>
-            <xsl:text>  MB</xsl:text>
+            <xsl:text>  Mio</xsl:text>
           </xsl:otherwise>
         </xsl:choose>
       </xsl:otherwise>




More information about the lfs-traducfr mailing list