summaryrefslogtreecommitdiff
path: root/help3xsl/localized.xsl
diff options
context:
space:
mode:
authorIlmari Lauhakangas <ilmari.lauhakangas@libreoffice.org>2018-01-04 22:45:57 +0200
committerOlivier Hallot <olivier.hallot@libreoffice.org>2018-01-05 17:21:22 +0100
commit382ba1bc41a04d2f7b444e4c4ca9460b66147717 (patch)
tree28a3743681f3d42c82f7ff086660027ac328206d /help3xsl/localized.xsl
parent1ad545bef472627adbb43a5dfb1874fc60c2495e (diff)
Switched to a sidebar layout. Art direction by Andreas Kainz
Markup and JS got simpler, layout got more robust. Change-Id: Ia74489038e7d11b632ea2b6ca6efe0d90dfe5181 Reviewed-on: https://gerrit.libreoffice.org/47441 Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org> Tested-by: Olivier Hallot <olivier.hallot@libreoffice.org>
Diffstat (limited to 'help3xsl/localized.xsl')
-rw-r--r--help3xsl/localized.xsl10
1 files changed, 10 insertions, 0 deletions
diff --git a/help3xsl/localized.xsl b/help3xsl/localized.xsl
index 584d4bec4d..094da06172 100644
--- a/help3xsl/localized.xsl
+++ b/help3xsl/localized.xsl
@@ -94,6 +94,16 @@ Stylesheet map language-dependent parameters and translation
</xsl:choose>
</xsl:template>
+<xsl:template name="getModules">
+ <xsl:param name="lang"/>
+ <xsl:choose>
+ <xsl:when test="$lang='en-US'"><xsl:text>Module</xsl:text></xsl:when>
+ <xsl:when test="$lang='en-GB'"><xsl:text>Module</xsl:text></xsl:when>
+ <xsl:when test="$lang='en-ZA'"><xsl:text>Module</xsl:text></xsl:when>
+ <xsl:otherwise><xsl:text>Module</xsl:text></xsl:otherwise>
+</xsl:choose>
+</xsl:template>
+
<xsl:template name="getLanguage">
<xsl:param name="lang"/>
<xsl:choose>