[gimp-help-2] By default, don't render the language selector.
- From: Roman Joost <romanofski src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gimp-help-2] By default, don't render the language selector.
- Date: Tue, 4 Dec 2012 23:30:43 +0000 (UTC)
commit 6f33318048ac2e0cd1e5524a65ce89207491d711
Author: Roman Joost <roman bromeco de>
Date: Tue Oct 16 09:09:56 2012 +1000
By default, don't render the language selector.
The language selector only makes sense for HTML pages we deliver on a
server not in the help browser.
stylesheets/plainhtml.xsl.in | 3 +++
1 files changed, 3 insertions(+), 0 deletions(-)
---
diff --git a/stylesheets/plainhtml.xsl.in b/stylesheets/plainhtml.xsl.in
index a6a38a7..fb8030a 100644
--- a/stylesheets/plainhtml.xsl.in
+++ b/stylesheets/plainhtml.xsl.in
@@ -65,6 +65,7 @@
<xsl:param name="targets.filename" select="'gimp-xrefs.xml'" />
<xsl:param name="toc.section.depth" select="2" />
<xsl:param name="use.id.as.filename">1</xsl:param>
+ <xsl:param name="gimp.help.languageselector">0</xsl:param>
<xsl:param name="gimp.help.all_linguas">@ALL_LINGUAS@</xsl:param>
<!-- Add NotInToc role to simplesect, which is using in fdl.xml to
@@ -176,6 +177,7 @@
<xsl:if test="$header.rule != 0">
<hr/>
</xsl:if>
+ <xsl:if test="$gimp.help.languageselector != 0">
<div id="show_other_language">
<xsl:variable name="filename">
<xsl:call-template name="href.target" />
@@ -185,6 +187,7 @@
<xsl:with-param name="filename" select="$filename" />
</xsl:call-template>
</div>
+ </xsl:if>
</div>
</xsl:if>
</xsl:template>
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]