diff options
author | Olivier Hallot <olivier.hallot@libreoffice.org> | 2018-05-06 09:19:59 -0300 |
---|---|---|
committer | Olivier Hallot <olivier.hallot@libreoffice.org> | 2018-05-06 14:23:42 +0200 |
commit | 577f7d2ba8639e17fbb1f7238121de453bba9f8e (patch) | |
tree | 4dc60af2d6d920ae1616c1d12a297ad5c369d4cc /help3xsl/online_transform.xsl | |
parent | 6de0f39ea58f371de25f22ba95bd8996b08ca09d (diff) |
Fix icon path for colibre + screenshot lang
Note, Tip and Warning icon path
Fix screenshot lang path for en-US
Change-Id: Ia8a7c5d396ea4e3d6858ebcde6019d71c43278b0
Reviewed-on: https://gerrit.libreoffice.org/53910
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org>
Diffstat (limited to 'help3xsl/online_transform.xsl')
-rw-r--r-- | help3xsl/online_transform.xsl | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/help3xsl/online_transform.xsl b/help3xsl/online_transform.xsl index 1f18a49639..67b1e2a7c5 100644 --- a/help3xsl/online_transform.xsl +++ b/help3xsl/online_transform.xsl @@ -100,9 +100,9 @@ <xsl:variable name="linkpostfix" select="''"/> <!-- images for notes, tips and warnings --> -<xsl:variable name="note_img" select="concat($img_url_prefix,'helpimg/note.png')"/> -<xsl:variable name="tip_img" select="concat($img_url_prefix,'helpimg/tip.png')"/> -<xsl:variable name="warning_img" select="concat($img_url_prefix,'helpimg/warning.png')"/> +<xsl:variable name="note_img" select="concat($img_url_prefix,'icon-themes/help/note.png')"/> +<xsl:variable name="tip_img" select="concat($img_url_prefix,'icon-themes/help/tip.png')"/> +<xsl:variable name="warning_img" select="concat($img_url_prefix,'icon-themes/help/warning.png')"/> <!-- ############# @@ -1105,8 +1105,8 @@ <xsl:choose> <xsl:when test="starts-with(@src,'media/screenshots/')"> <xsl:choose> - <xsl:when test="@localize='true'"> - <xsl:variable name="tmp0" select="substring-before(@src, '/ui')"/> + <xsl:when test="@localize='true' and not($lang='en-US')"> + <xsl:variable name="tmp0" select="substring-before(@src, '/ui/')"/> <xsl:variable name="tmp1" select="substring-after(@src, '/ui/')"/> <xsl:variable name="tmp2" select="substring-before($tmp1,'/')"/> <xsl:variable name="tmp3" select="substring-after($tmp1,'/')"/> |