]> granicus.if.org Git - docbook-dsssl/commitdiff
Empty translation in gentext is copied to target locale file (it is not replaced...
authorJirka Kosek <jirka@kosek.cz>
Sun, 25 Feb 2007 09:57:20 +0000 (09:57 +0000)
committerJirka Kosek <jirka@kosek.cz>
Sun, 25 Feb 2007 09:57:20 +0000 (09:57 +0000)
gentext/xsl/xsl.xsl

index c60b8126d2f80a5b355b84abec2c3f6adc2754bf..ab5e350a8c1785602b15bc0f51bfd3da077d6993 100644 (file)
@@ -75,7 +75,7 @@
     <xsl:copy-of select="@key"/>
     <xsl:attribute name="text">
       <xsl:choose>
-        <xsl:when test="$localtext != ''">
+        <xsl:when test="$localtext">
           <xsl:value-of select="$localtext"/>
         </xsl:when>
         <xsl:otherwise>