summaryrefslogtreecommitdiff
path: root/xslt
diff options
context:
space:
mode:
authorShaun McCance <shaunm@shaunmlxlap.localdomain>2009-06-16 14:42:28 -0500
committerShaun McCance <shaunm@shaunmlxlap.localdomain>2009-06-16 14:42:28 -0500
commit7eb3fe12d0ce4cffe70bf93ba074ae401c387640 (patch)
tree0d8c7e27be31c8334f10eade07ee67f089c67477 /xslt
parente76a1ed348a840f44065386648ff0b1b185eb551 (diff)
parent979b6dd10423ef6bc3d42de3d0120f1751fa6a22 (diff)
downloadgnome-doc-utils-7eb3fe12d0ce4cffe70bf93ba074ae401c387640.tar.gz
Merge commit 'origin/master'
Diffstat (limited to 'xslt')
-rw-r--r--xslt/docbook/html/db2html-inline.xsl17
-rw-r--r--xslt/gettext/l10n.xml.in2
2 files changed, 17 insertions, 2 deletions
diff --git a/xslt/docbook/html/db2html-inline.xsl b/xslt/docbook/html/db2html-inline.xsl
index 60f628d..bf53f49 100644
--- a/xslt/docbook/html/db2html-inline.xsl
+++ b/xslt/docbook/html/db2html-inline.xsl
@@ -674,9 +674,24 @@ FIXME
<!-- = menuchoice % db2html.inline.content.mode = -->
<xsl:template mode="db2html.inline.content.mode" match="menuchoice">
+ <xsl:variable name="arrow">
+ <xsl:variable name="ltr">
+ <xsl:call-template name="l10n.gettext">
+ <xsl:with-param name="msgid" select="'default:LTR'"/>
+ </xsl:call-template>
+ </xsl:variable>
+ <xsl:choose>
+ <xsl:when test="$ltr = 'default:RTL'">
+ <xsl:text>&#x25C2;</xsl:text>
+ </xsl:when>
+ <xsl:otherwise>
+ <xsl:text>&#x25B8;</xsl:text>
+ </xsl:otherwise>
+ </xsl:choose>
+ </xsl:variable>
<xsl:for-each select="*[not(self::shortcut)]">
<xsl:if test="position() != 1">
- <xsl:text>&#x00A0;&#x25B8; </xsl:text>
+ <xsl:value-of select="concat('&#x00A0;', $arrow, ' ')"/>
</xsl:if>
<xsl:apply-templates select="."/>
</xsl:for-each>
diff --git a/xslt/gettext/l10n.xml.in b/xslt/gettext/l10n.xml.in
index c23b0dc..45b60a5 100644
--- a/xslt/gettext/l10n.xml.in
+++ b/xslt/gettext/l10n.xml.in
@@ -10,7 +10,7 @@
<!--
Translate to default:RTL if your language should be displayed
right-to-left, otherwise translate to default:LTR. Do *not*
- translate it to "predefinito:LTR", if it it isn't default:LTR
+ translate it to "predefinito:LTR", if it isn't default:LTR
or default:RTL it will not work
-->
<_msg>default:LTR</_msg>