summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorneysx <neysx>2004-11-23 13:04:37 +0000
committerneysx <neysx>2004-11-23 13:04:37 +0000
commite7c5eee7006d2c882dca48ddf644208a6c2abc33 (patch)
treebccd66921237b8b8f1b7f8f4b6d24abbcf4822d8
parentMake license translatable (diff)
downloadwww-redesign-e7c5eee7006d2c882dca48ddf644208a6c2abc33.tar.gz
www-redesign-e7c5eee7006d2c882dca48ddf644208a6c2abc33.tar.bz2
www-redesign-e7c5eee7006d2c882dca48ddf644208a6c2abc33.zip
Add support for Spanish
-rw-r--r--xml/htdocs/xsl/inserts.xsl4
1 files changed, 4 insertions, 0 deletions
diff --git a/xml/htdocs/xsl/inserts.xsl b/xml/htdocs/xsl/inserts.xsl
index 6f1ff50d..dcb77ac6 100644
--- a/xml/htdocs/xsl/inserts.xsl
+++ b/xml/htdocs/xsl/inserts.xsl
@@ -24,6 +24,10 @@
<xsl:when test="($LANG = 'fr') and (document(concat('/doc/',$LANG,'/inserts-',$LANG,'.xml'))/inserts/insert[@name=$str])">
<func:result select="document(concat('/doc/',$LANG,'/inserts-',$LANG,'.xml'))/inserts/insert[@name=$str]" />
</xsl:when>
+ <!-- Spanish language -->
+ <xsl:when test="($LANG = 'es') and (document(concat('/doc/',$LANG,'/inserts-',$LANG,'.xml'))/inserts/insert[@name=$str])">
+ <func:result select="document(concat('/doc/',$LANG,'/inserts-',$LANG,'.xml'))/inserts/insert[@name=$str]" />
+ </xsl:when>
<!-- Finnish language -->
<xsl:when test="($LANG = 'fi') and (document(concat('/doc/',$LANG,'/inserts-',$LANG,'.xml'))/inserts/insert[@name=$str])">
<func:result select="document(concat('/doc/',$LANG,'/inserts-',$LANG,'.xml'))/inserts/insert[@name=$str]" />