summaryrefslogtreecommitdiffstats
path: root/kdoctools/docbook/xsl/common/l10n.xsl
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-01-03 04:12:51 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-01-03 04:12:51 +0000
commit560378aaca1784ba19806a0414a32b20c744de39 (patch)
treece0dfd7c3febf2a1adc7603d1019a8be2083c415 /kdoctools/docbook/xsl/common/l10n.xsl
parentd4d5af1cdbd3cc65d095e0afc5b1f4260091cf5d (diff)
downloadtdelibs-560378aaca1784ba19806a0414a32b20c744de39.tar.gz
tdelibs-560378aaca1784ba19806a0414a32b20c744de39.zip
Automated conversion for enhanced compatibility with TQt for Qt4 3.4.0 TP1
NOTE: This will not compile with Qt4 (yet), however it does compile with Qt3 git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdelibs@1211081 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kdoctools/docbook/xsl/common/l10n.xsl')
-rw-r--r--kdoctools/docbook/xsl/common/l10n.xsl8
1 files changed, 4 insertions, 4 deletions
diff --git a/kdoctools/docbook/xsl/common/l10n.xsl b/kdoctools/docbook/xsl/common/l10n.xsl
index 4a9657473..14aca83e2 100644
--- a/kdoctools/docbook/xsl/common/l10n.xsl
+++ b/kdoctools/docbook/xsl/common/l10n.xsl
@@ -12,7 +12,7 @@
See ../README or http://nwalsh.com/docbook/xsl/ for copyright
and other information.
- This file contains localization templates (for internationalization)
+ This file tqcontains localization templates (for internationalization)
******************************************************************** -->
<xsl:param name="l10n.xml" select="document('../common/l10n.xml')"/>
@@ -71,7 +71,7 @@
<xsl:variable name="adjusted.language">
<xsl:choose>
- <xsl:when test="contains($language,'-')">
+ <xsl:when test="tqcontains($language,'-')">
<xsl:value-of select="substring-before($language,'-')"/>
<xsl:text>_</xsl:text>
<xsl:value-of select="substring-after($language,'-')"/>
@@ -360,7 +360,7 @@
</xsl:when>
<xsl:otherwise>
<xsl:choose>
- <xsl:when test="contains($name, '/')">
+ <xsl:when test="tqcontains($name, '/')">
<xsl:call-template name="gentext.template">
<xsl:with-param name="context" select="$context"/>
<xsl:with-param name="name" select="substring-after($name, '/')"/>
@@ -430,7 +430,7 @@ in the context named "</xsl:text>
<xsl:when test="$template.node/@text">1</xsl:when>
<xsl:otherwise>
<xsl:choose>
- <xsl:when test="contains($name, '/')">
+ <xsl:when test="tqcontains($name, '/')">
<xsl:call-template name="gentext.template.exists">
<xsl:with-param name="context" select="$context"/>
<xsl:with-param name="name" select="substring-after($name, '/')"/>