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)
This commit is contained in:
parent
9a89ba79de
commit
1c22535b2e
1 changed files with 22 additions and 0 deletions
|
@ -128,6 +128,28 @@
|
||||||
ancestor::sect1[@id='xorg-env']">
|
ancestor::sect1[@id='xorg-env']">
|
||||||
<xsl:text>/usr</xsl:text>
|
<xsl:text>/usr</xsl:text>
|
||||||
</xsl:when>
|
</xsl:when>
|
||||||
|
<!-- for libreoffice. Note that xorg environment too uses <PREFIX> -->
|
||||||
|
<xsl:when test="string()='<PREFIX>' and
|
||||||
|
ancestor::sect1[@id='libreoffice']">
|
||||||
|
<xsl:text>/opt/</xsl:text>
|
||||||
|
<xsl:value-of select="ancestor::sect1/@xreflabel"/>
|
||||||
|
</xsl:when>
|
||||||
|
<!-- for abiword -->
|
||||||
|
<xsl:when test="string()='<lang>'">
|
||||||
|
<xsl:choose>
|
||||||
|
<xsl:when test="starts-with($language,'en_US')">
|
||||||
|
<!-- normal.awt for en_US is already there, copy
|
||||||
|
the one for en_GB (could be any other) -->
|
||||||
|
<xsl:text>en_GB</xsl:text>
|
||||||
|
</xsl:when>
|
||||||
|
<xsl:otherwise>
|
||||||
|
<!-- in general, there are normal.awt-ll_CC files-->
|
||||||
|
<xsl:copy-of select="$lang-ll"/>
|
||||||
|
<xsl:text>_</xsl:text>
|
||||||
|
<xsl:copy-of select="$lang-CC"/>
|
||||||
|
</xsl:otherwise>
|
||||||
|
</xsl:choose>
|
||||||
|
</xsl:when>
|
||||||
<xsl:otherwise>
|
<xsl:otherwise>
|
||||||
<xsl:text>**EDITME</xsl:text>
|
<xsl:text>**EDITME</xsl:text>
|
||||||
<xsl:apply-templates/>
|
<xsl:apply-templates/>
|
||||||
|
|
Reference in a new issue