Module: website Branch: master Commit: 0aa0264121f15901222008afd0a5ed228f940ad1 URL: http://source.winehq.org/git/website.git/?a=commit;h=0aa0264121f15901222008a...
Author: ricardo filipe ricardo_barbano@hotmail.com Date: Fri Jan 9 15:47:45 2009 +0000
Website: add portuguese translation info
these are the preliminary steps to show the portuguese translation
_________________________________________________________________ More than messages–check out the rest of the Windows Live™. http://www.microsoft.com/windows/windowslive/
From 8c995aa50f99a195d6a12a31675b16d26f14f8c8 Mon Sep 17 00:00:00 2001
From: Ricardo Filipe ricardo_barbano@hotmail.com Date: Fri, 9 Jan 2009 03:01:27 +0000 Subject: add portuguese translation info
---
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 6c5a90a..a0e2f5f 100644 --- a/include/data.php +++ b/include/data.php @@ -60,6 +60,10 @@ class data 'fr' => array( 'name' => 'Français', 'change' => 'Changez la langue' + ), + 'pt' => array( + 'name' => 'Português', + 'change' => 'Mudar a língua' ) );
diff --git a/include/winehq.conf.sample b/include/winehq.conf.sample index 2ec82ab..b5d5025 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, fr +@languages: en, de, es, fr, pt
# 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 cdd3052..a634696 100644 --- a/templates/en/lang.template +++ b/templates/en/lang.template @@ -22,7 +22,11 @@ </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> + <a href="{$root}/lang/fr" title="Français">Français</a> <small>(French)</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>
</ul>