diff options
author | Ilmari Lauhakangas <ilmari.lauhakangas@libreoffice.org> | 2018-02-08 13:18:55 +0200 |
---|---|---|
committer | Olivier Hallot <olivier.hallot@libreoffice.org> | 2018-02-08 20:19:39 +0100 |
commit | b6bc8c1cfecc55bebff8dc64fddb63e3edc109b5 (patch) | |
tree | c5fbe8eaf4829983126dc01571f00e3ddbb63257 /help3xsl/localized.xsl | |
parent | fd1e80bca4d05e1dac45fb226dff318e87b81ead (diff) |
tdf#115255 and auto-expand contents per subitem
JavaScript stuff moved from online_transform.xsl to help.js.
Simplified bookmarks markup.
Span elements with class "input" and length more than 3 characters
can be copied to clipboard by mouse click.
Bubli's feature request for auto-expanding contents per subitem
is also implemented.
Logic for adding headings to index list was reimplemented.
Change-Id: I87b6f189a040a73a1ab9dda1ec9cd790b06da202
Reviewed-on: https://gerrit.libreoffice.org/49421
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.xsl | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/help3xsl/localized.xsl b/help3xsl/localized.xsl index a52474b1bf..9549eb9f1a 100644 --- a/help3xsl/localized.xsl +++ b/help3xsl/localized.xsl @@ -290,5 +290,13 @@ Stylesheet map language-dependent parameters and translation </xsl:choose> </xsl:template> +<xsl:template name="getTooltip"> + <xsl:param name="lang"/> + <xsl:choose> + <xsl:when test="$lang='fi'"><xsl:attribute name="data-tooltip">Klikkaa kopioidaksesi leikepöydälle</xsl:attribute></xsl:when> + <xsl:otherwise><xsl:attribute name="data-tooltip">Click on text to copy to clipboard</xsl:attribute></xsl:otherwise> +</xsl:choose> +</xsl:template> + </xsl:stylesheet> |