Jeremy Newman : updated language templates to use the new list plugin for easier updates
Jeremy Newman
jnewman at winehq.org
Fri Oct 15 09:36:27 CDT 2010
Module: website
Branch: master
Commit: a919b58b1e0821a1d1dac91bc9d9e9853aa343e1
URL: http://source.winehq.org/git/website.git/?a=commit;h=a919b58b1e0821a1d1dac91bc9d9e9853aa343e1
Author: Jeremy Newman <jnewman at codeweavers.com>
Date: Fri Oct 15 09:35:54 2010 -0500
updated language templates to use the new list plugin for easier updates
---
templates/de/lang.template | 30 +++---------------------------
templates/en/lang.template | 31 +++----------------------------
templates/he/lang.template | 30 +++---------------------------
3 files changed, 9 insertions(+), 82 deletions(-)
diff --git a/templates/de/lang.template b/templates/de/lang.template
index 08dff17..c8877b2 100644
--- a/templates/de/lang.template
+++ b/templates/de/lang.template
@@ -1,37 +1,13 @@
<!--TITLE:[WineHQ - Wähle Deine Sprache aus]-->
<!--BLURB:[WineHQ ist eine mehrsprachige Website]-->
-<h1 class="title">{$langChange}</h1>
-
<!--EXEC:[language]-->
+<h1 class="title">{$langChange}</h1>
+
<p><b>Aktuelle Sprache: </b> {$langCur}</p>
<ul style="list-style: none; margin-left: 20px; padding: 0;">
-
- <li style="background-image: url('{$root}/images/lang/en.png'); background-repeat: no-repeat; padding: 0 0 10px 40px;">
- <a href="{$root}/lang/en" title="English">English</a> <small>(Englisch)</small>
- </li></a>
-
- <li style="background-image: url('{$root}/images/lang/de.png'); background-repeat: no-repeat; padding: 0 0 10px 40px;">
- <a href="{$root}/lang/de" title="Deutsch">Deutsch</a>
- </li></a>
-
- <li style="background-image: url('{$root}/images/lang/es.png'); background-repeat: no-repeat; padding: 0 0 10px 40px;">
- <a href="{$root}/lang/es" title="Español">Español</a> <small>(Spanisch)</small>
- </li>
-
- <li style="background-image: url('{$root}/images/lang/fr.png'); background-repeat: no-repeat; padding: 0 0 10px 40px;">
- <a href="{$root}/lang/fr" title="Français">Français</a> <small>(Französisch)</small>
- </li>
-
- <li style="background-image: url('{$root}/images/lang/pl.png'); background-repeat: no-repeat; padding: 0 0 10px 40px;">
- <a href="{$root}/lang/pl" title="Polski">Polski</a> <small>(Polnisch)</small>
- </li>
-
- <li style="background-image: url('{$root}/images/lang/pt.png'); background-repeat: no-repeat; padding: 0 0 10px 40px;">
- <a href="{$root}/lang/pt" title="Português">Português</a> <small>(Portugiesisch)</small>
- </li>
-
+<!--EXEC:[language?cmd=list]-->
</ul>
diff --git a/templates/en/lang.template b/templates/en/lang.template
index 267df33..2c3bc8f 100644
--- a/templates/en/lang.template
+++ b/templates/en/lang.template
@@ -1,37 +1,12 @@
<!--TITLE:[WineHQ - Pick your Language]-->
<!--BLURB:[WineHQ is a multi-lingual website]-->
-<h1 class="title">{$langChange}</h1>
-
<!--EXEC:[language]-->
+<h1 class="title">{$langChange}</h1>
+
<p><b>Current Langage: </b> {$langCur}</p>
<ul style="list-style: none; margin-left: 20px; padding: 0;">
-
- <li style="background-image: url('{$root}/images/lang/en.png'); background-repeat: no-repeat; padding: 0 0 10px 40px;">
- <a href="{$root}/lang/en" title="English">English</a>
- </li></a>
-
- <li style="background-image: url('{$root}/images/lang/de.png'); background-repeat: no-repeat; padding: 0 0 10px 40px;">
- <a href="{$root}/lang/de" title="Deutsch">Deutsch</a> <small>(German)</small>
- </li></a>
-
- <li style="background-image: url('{$root}/images/lang/es.png'); background-repeat: no-repeat; padding: 0 0 10px 40px;">
- <a href="{$root}/lang/es" title="Español">Español</a> <small>(Spanish)</small>
- </li>
-
- <li style="background-image: url('{$root}/images/lang/fr.png'); background-repeat: no-repeat; padding: 0 0 10px 40px;">
- <a href="{$root}/lang/fr" title="Français">Français</a> <small>(French)</small>
- </li>
-
- <li style="background-image: url('{$root}/images/lang/pl.png'); background-repeat: no-repeat; padding: 0 0 10px 40px;">
- <a href="{$root}/lang/pl" title="Polski">Polski</a> <small>(Polish)</small>
- </li>
-
- <li style="background-image: url('{$root}/images/lang/pt.png'); background-repeat: no-repeat; padding: 0 0 10px 40px;">
- <a href="{$root}/lang/pt" title="Português">Português</a> <small>(Portuguese)</small>
- </li>
-
+<!--EXEC:[language?cmd=list]-->
</ul>
-
diff --git a/templates/he/lang.template b/templates/he/lang.template
index 144435c..c4fe8fa 100644
--- a/templates/he/lang.template
+++ b/templates/he/lang.template
@@ -1,37 +1,13 @@
<!--TITLE:[WineHQ - בחירת השפה שלך]-->
<!--BLURB:[WineHQ הנו אתר רב לשוני]-->
-<h1 class="title">{$langChange}</h1>
-
<!--EXEC:[language]-->
+<h1 class="title">{$langChange}</h1>
+
<p><b>השפה הנוכחית: </b> {$langCur}</p>
<ul style="list-style: none; margin-left: 20px; padding: 0;">
-
- <li style="background-image: url('{$root}/images/lang/en.png'); background-repeat: no-repeat; padding: 0 0 10px 40px;">
- <a href="{$root}/lang/en" title="English">אנגלית</a>
- </li></a>
-
- <li style="background-image: url('{$root}/images/lang/de.png'); background-repeat: no-repeat; padding: 0 0 10px 40px;">
- <a href="{$root}/lang/de" title="Deutsch">Deutsch</a> <small>(גרמנית)</small>
- </li></a>
-
- <li style="background-image: url('{$root}/images/lang/es.png'); background-repeat: no-repeat; padding: 0 0 10px 40px;">
- <a href="{$root}/lang/es" title="Español">Español</a> <small>(ספרדית)</small>
- </li>
-
- <li style="background-image: url('{$root}/images/lang/fr.png'); background-repeat: no-repeat; padding: 0 0 10px 40px;">
- <a href="{$root}/lang/fr" title="Français">Français</a> <small>(צרפתית)</small>
- </li>
-
- <li style="background-image: url('{$root}/images/lang/pl.png'); background-repeat: no-repeat; padding: 0 0 10px 40px;">
- <a href="{$root}/lang/pl" title="Polski">Polski</a> <small>(פולנית)</small>
- </li>
-
- <li style="background-image: url('{$root}/images/lang/pt.png'); background-repeat: no-repeat; padding: 0 0 10px 40px;">
- <a href="{$root}/lang/pt" title="Português">Português</a> <small>(פורטוגזית)</small>
- </li>
-
+<!--EXEC:[language?cmd=list]-->
</ul>
More information about the wine-cvs
mailing list