diff options
author | neysx <neysx> | 2004-11-23 13:04:37 +0000 |
---|---|---|
committer | neysx <neysx> | 2004-11-23 13:04:37 +0000 |
commit | e7c5eee7006d2c882dca48ddf644208a6c2abc33 (patch) | |
tree | bccd66921237b8b8f1b7f8f4b6d24abbcf4822d8 /xml/htdocs/xsl/inserts.xsl | |
parent | Make license translatable (diff) | |
download | www-redesign-e7c5eee7006d2c882dca48ddf644208a6c2abc33.tar.gz www-redesign-e7c5eee7006d2c882dca48ddf644208a6c2abc33.tar.bz2 www-redesign-e7c5eee7006d2c882dca48ddf644208a6c2abc33.zip |
Add support for Spanish
Diffstat (limited to 'xml/htdocs/xsl/inserts.xsl')
-rw-r--r-- | xml/htdocs/xsl/inserts.xsl | 4 |
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]" /> |