add portuguese translation info
Ricardo Filipe
ricardo_barbano at hotmail.com
Thu Jan 8 21:01:27 CST 2009
---
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
- at languages: en, de, es, fr
+ at 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>
More information about the wine-cvs
mailing list