Ignore:
Timestamp:
09/16/2023 11:39:39 AM (11 months ago)
Author:
Pierre Labastie <pierre.labastie@…>
Branches:
ablfs-more, trunk
Children:
6d9bd8e
Parents:
9a89ba7
Message:

Process two more <replaceable> tags

  • one for libreoffice (use the xreflabel to set LO_PREFIX)
  • one for abiword (installation of normal.awt-ll_CC files)
File:
1 edited

Legend:

Unmodified
Added
Removed
  • BLFS/xsl/process-replaceable.xsl

    r9a89ba7 r1c22535  
    129129        <xsl:text>/usr</xsl:text>
    130130      </xsl:when>
     131<!-- for libreoffice. Note that xorg environment too uses &lt;PREFIX&gt; -->
     132      <xsl:when test="string()='&lt;PREFIX&gt;' and
     133                      ancestor::sect1[@id='libreoffice']">
     134                      <xsl:text>/opt/</xsl:text>
     135                      <xsl:value-of select="ancestor::sect1/@xreflabel"/>
     136      </xsl:when>
     137<!-- for abiword -->
     138      <xsl:when test="string()='&lt;lang&gt;'">
     139        <xsl:choose>
     140          <xsl:when test="starts-with($language,'en_US')">
     141            <!-- normal.awt for en_US is already there, copy
     142                 the one for en_GB (could be any other) -->
     143            <xsl:text>en_GB</xsl:text>
     144          </xsl:when>
     145          <xsl:otherwise>
     146            <!-- in general, there are normal.awt-ll_CC files-->
     147            <xsl:copy-of select="$lang-ll"/>
     148            <xsl:text>_</xsl:text>
     149            <xsl:copy-of select="$lang-CC"/>
     150          </xsl:otherwise>
     151        </xsl:choose>
     152      </xsl:when>
    131153      <xsl:otherwise>
    132154        <xsl:text>**EDITME</xsl:text>
Note: See TracChangeset for help on using the changeset viewer.