[Yanel-commits] rev 26061 -
public/yanel/trunk/src/realms/yanel-website/content/xslt
michi at wyona.com
michi at wyona.com
Tue Jul 17 17:10:44 CEST 2007
Author: michi
Date: 2007-07-17 17:10:43 +0200 (Tue, 17 Jul 2007)
New Revision: 26061
Modified:
public/yanel/trunk/src/realms/yanel-website/content/xslt/homepage.xsl
Log:
check localization and add spanish title
Modified: public/yanel/trunk/src/realms/yanel-website/content/xslt/homepage.xsl
===================================================================
--- public/yanel/trunk/src/realms/yanel-website/content/xslt/homepage.xsl 2007-07-17 14:48:32 UTC (rev 26060)
+++ public/yanel/trunk/src/realms/yanel-website/content/xslt/homepage.xsl 2007-07-17 15:10:43 UTC (rev 26061)
@@ -18,8 +18,17 @@
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="application/xhtml+xml; charset=UTF-8"/>
- <title>Welcome to Yanel</title>
- <link rel="neutron-introspection" type="application/neutron+xml" href="introspection-homepage.xml"/>
+
+ <xsl:choose>
+ <xsl:when test="$language = 'es'">
+ <title>Bienvenido a Yanel</title>
+ </xsl:when>
+ <xsl:otherwise>
+ <title>Welcome to Yanel</title>
+ </xsl:otherwise>
+ </xsl:choose>
+ <link rel="neutron-introspection" type="application/neutron+xml" href="introspection-homepage.xml"/>
+
<link rel="shortcut icon" href="favicon.ico" type="image/vnd.microsoft.icon" />
<link rel="stylesheet" href="css/global.css" type="text/css"/>
<base target="_top"/>
More information about the Yanel-commits
mailing list