Module: website Branch: master Commit: d79d2bfcbd48e037ab91c0315960ba8bc6dfe4a4 URL: http://source.winehq.org/git/website.git/?a=commit;h=d79d2bfcbd48e037ab91c03...
Author: Jeremy Newman jnewman@codeweavers.com Date: Wed Dec 17 10:19:26 2008 -0600
adding french translation
---
include/data.php | 4 ++++ include/winehq.conf.sample | 2 +- templates/en/lang.template | 6 +++++- 3 files changed, 10 insertions(+), 2 deletions(-)
diff --git a/include/data.php b/include/data.php index a4cfbdc..6c5a90a 100644 --- a/include/data.php +++ b/include/data.php @@ -56,6 +56,10 @@ class data 'es' => array( 'name' => 'Español', 'change' => 'Cambiar la Lengua' + ), + 'fr' => array( + 'name' => 'Français', + 'change' => 'Changez la langue' ) );
diff --git a/include/winehq.conf.sample b/include/winehq.conf.sample index 06b9c3e..2ec82ab 100644 --- a/include/winehq.conf.sample +++ b/include/winehq.conf.sample @@ -16,7 +16,7 @@ theme: winehq lang: en
# available languages -@languages: en, de, es +@languages: en, de, es, fr
# default base URLS (if you run the site, in a subdir, set base_root) base_root: diff --git a/templates/en/lang.template b/templates/en/lang.template index c513cc1..cdd3052 100644 --- a/templates/en/lang.template +++ b/templates/en/lang.template @@ -20,6 +20,10 @@ <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="Español">Français</a> <small>(French)</small> + </li> + </ul>