[gimp-help-2] Meaningful name for language menu stylesheets.
- From: Roman Joost <romanofski src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gimp-help-2] Meaningful name for language menu stylesheets.
- Date: Tue, 4 Dec 2012 23:30:28 +0000 (UTC)
commit 628f2c8e42f2a9eb3029cc58f706dac777076274
Author: Roman Joost <roman bromeco de>
Date: Fri Sep 21 09:39:17 2012 +1000
Meaningful name for language menu stylesheets.
stylesheets/{tokenize.xsl => languageMenu.xsl} | 6 +++---
stylesheets/{vocab.xml => languageVocab.xml} | 0
stylesheets/plainhtml.xsl.in | 4 ++--
3 files changed, 5 insertions(+), 5 deletions(-)
---
diff --git a/stylesheets/tokenize.xsl b/stylesheets/languageMenu.xsl
similarity index 89%
rename from stylesheets/tokenize.xsl
rename to stylesheets/languageMenu.xsl
index a4386aa..558a3fd 100644
--- a/stylesheets/tokenize.xsl
+++ b/stylesheets/languageMenu.xsl
@@ -4,14 +4,14 @@
<xsl:output method="xml" encoding="UTF-8" indent="yes" />
- <xsl:variable name="vocab" select="document('vocab.xml')" />
+ <xsl:variable name="vocab" select="document('languageVocab.xml')" />
<xsl:variable name="splitstr" select="' '" />
<!-- The tokenizer splits all languages and creates for each language
a link element with the href pointing to the concatenated result
of the language id and the given filename paramenter.
-->
- <xsl:template name="gimp.help.tokenize">
+ <xsl:template name="gimp.help.linguas.tokenize">
<xsl:param name="linguas" />
<xsl:param name="filename" />
<xsl:param name="tail">
@@ -30,7 +30,7 @@
</xsl:call-template>
<xsl:if test="contains($tail, $splitstr)">
- <xsl:call-template name="gimp.help.tokenize">
+ <xsl:call-template name="gimp.help.linguas.tokenize">
<xsl:with-param name="linguas" select="$tail" />
<xsl:with-param name="filename" select="$filename" />
</xsl:call-template>
diff --git a/stylesheets/vocab.xml b/stylesheets/languageVocab.xml
similarity index 100%
rename from stylesheets/vocab.xml
rename to stylesheets/languageVocab.xml
diff --git a/stylesheets/plainhtml.xsl.in b/stylesheets/plainhtml.xsl.in
index 1f3b15e..575aa75 100644
--- a/stylesheets/plainhtml.xsl.in
+++ b/stylesheets/plainhtml.xsl.in
@@ -8,7 +8,7 @@
xmlns="http://www.w3.org/1999/xhtml";>
<xsl:import href="@STYLEBASE@/xhtml/chunk.xsl" />
- <xsl:import href="tokenize.xsl" />
+ <xsl:import href="languageMenu.xsl" />
<xsl:import href="float-images.xsl" />
<xsl:include href="htmlalternate.xsl" />
@@ -180,7 +180,7 @@
<xsl:variable name="filename">
<xsl:call-template name="href.target" />
</xsl:variable>
- <xsl:call-template name="gimp.help.tokenize">
+ <xsl:call-template name="gimp.help.linguas.tokenize">
<xsl:with-param name="linguas" select="$all_linguas" />
<xsl:with-param name="filename" select="$filename" />
</xsl:call-template>
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]