[Libreoffice-commits] dev-tools.git: helpauthoring/filter

Regina Henschel rb.henschel at t-online.de
Wed Oct 7 01:37:08 PDT 2015


 helpauthoring/filter/xmlhelp2soffice.xsl |    3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

New commits:
commit cfc05699a5e541f0e0785ed342443506f272255f
Author: Regina Henschel <rb.henschel at t-online.de>
Date:   Wed Oct 7 10:34:30 2015 +0200

    tdf#94201: No 'localize' on the 'switch' element.
    
    Change-Id: I25e4b5bc6dd1fc96121fcfb80d5e7b3ebaa07c09

diff --git a/helpauthoring/filter/xmlhelp2soffice.xsl b/helpauthoring/filter/xmlhelp2soffice.xsl
index 3175f39..e9221ad 100644
--- a/helpauthoring/filter/xmlhelp2soffice.xsl
+++ b/helpauthoring/filter/xmlhelp2soffice.xsl
@@ -1086,14 +1086,13 @@ SORT
 ######################################################
 SWITCH
   + select (sys | appl | distrib ) #REQUIRED
-  + localize CDATA #IMPLIED
 ######################################################
 -->
     <xsl:template match="switch">
         <text:p text:style-name="hlp_aux_switch">
             <text:span text:style-name="hlp_aux_tag">
                 <text:variable-set text:name="SWITCH_" text:value-type="string">
-                    <xsl:value-of select="concat('<SWITCH select="', at select,'" localize="', at localize,'">')"/>
+                    <xsl:value-of select="concat('<SWITCH select="', at select,'">')"/>
                 </text:variable-set>
             </text:span>
             <xsl:text></xsl:text>


More information about the Libreoffice-commits mailing list