[Yanel-commits] rev 48612 - public/yanel/trunk/src/realms/from-scratch-realm-template/data-repo/data/app3/xslt

michi at wyona.com michi at wyona.com
Sat Apr 10 09:39:50 CEST 2010


Author: michi
Date: 2010-04-10 09:39:49 +0200 (Sat, 10 Apr 2010)
New Revision: 48612

Modified:
   public/yanel/trunk/src/realms/from-scratch-realm-template/data-repo/data/app3/xslt/header.xsl
Log:
more i18n added

Modified: public/yanel/trunk/src/realms/from-scratch-realm-template/data-repo/data/app3/xslt/header.xsl
===================================================================
--- public/yanel/trunk/src/realms/from-scratch-realm-template/data-repo/data/app3/xslt/header.xsl	2010-04-10 07:26:23 UTC (rev 48611)
+++ public/yanel/trunk/src/realms/from-scratch-realm-template/data-repo/data/app3/xslt/header.xsl	2010-04-10 07:39:49 UTC (rev 48612)
@@ -29,16 +29,36 @@
         </div>
         <input type="hidden" name="domains" value="wyona.com"/>
         <input type="hidden" name="sitesearch" value="wyona.com"/>
+
+<!-- TODO: See css/all.css or rather /images/bg-search.gif -->
+<xsl:choose>
+  <xsl:when test="$content-language = 'de'">
+        <input type="submit" value="Suchen" class="submit" />
+  </xsl:when>
+  <xsl:otherwise>
         <input type="submit" value="Search" class="submit" />
+  </xsl:otherwise>
+</xsl:choose>
       </fieldset>
     </form>
 
 <ul class="add-nav">
-  <li><a href="#">Contact</a></li>
-  <li><a href="#">Register</a></li>
-  <li><a href="#">Extranet</a></li>
-  <li><a href="#">RSS</a></li>
-  <li><a href="#">Follow us</a></li>
+<xsl:choose>
+  <xsl:when test="$content-language = 'de'">
+    <li><a href="#">Kontakt</a></li>
+    <li><a href="#">Registrieren</a></li>
+    <li><a href="#">Extranet</a></li>
+    <li><a href="#">RSS</a></li>
+    <li><a href="#">Twitter und Co</a></li>
+  </xsl:when>
+  <xsl:otherwise>
+    <li><a href="#">Contact</a></li>
+    <li><a href="#">Register</a></li>
+    <li><a href="#">Extranet</a></li>
+    <li><a href="#">RSS</a></li>
+    <li><a href="#">Follow us</a></li>
+  </xsl:otherwise>
+</xsl:choose>
 
 <!-- TODO: Also see /data-repo/data/app1/xslt/translations.xsl -->
 <xsl:choose>



More information about the Yanel-commits mailing list