diff options
author | Shaun McCance <shaunm@shaunmlxlap.localdomain> | 2009-06-16 14:42:28 -0500 |
---|---|---|
committer | Shaun McCance <shaunm@shaunmlxlap.localdomain> | 2009-06-16 14:42:28 -0500 |
commit | 7eb3fe12d0ce4cffe70bf93ba074ae401c387640 (patch) | |
tree | 0d8c7e27be31c8334f10eade07ee67f089c67477 /xslt | |
parent | e76a1ed348a840f44065386648ff0b1b185eb551 (diff) | |
parent | 979b6dd10423ef6bc3d42de3d0120f1751fa6a22 (diff) | |
download | yelp-tools-7eb3fe12d0ce4cffe70bf93ba074ae401c387640.tar.gz |
Merge commit 'origin/master'
Diffstat (limited to 'xslt')
-rw-r--r-- | xslt/docbook/html/db2html-inline.xsl | 17 | ||||
-rw-r--r-- | xslt/gettext/l10n.xml.in | 2 |
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>◂</xsl:text> + </xsl:when> + <xsl:otherwise> + <xsl:text>▸</xsl:text> + </xsl:otherwise> + </xsl:choose> + </xsl:variable> <xsl:for-each select="*[not(self::shortcut)]"> <xsl:if test="position() != 1"> - <xsl:text> ▸ </xsl:text> + <xsl:value-of select="concat(' ', $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> |