gnucash-htdocs master: Enable the pt translation

Frank H. Ellenberger fell at code.gnucash.org
Sat Feb 6 13:43:36 EST 2016


Updated	 via  https://github.com/Gnucash/gnucash-htdocs/commit/333b0b2f (commit)
	from  https://github.com/Gnucash/gnucash-htdocs/commit/1a6c48d2 (commit)



commit 333b0b2f1635d9e8aa925d5e58c9ac45d4598e2d
Author: fell <f.ellenberger at online.de>
Date:   Sat Feb 6 19:43:30 2016 +0100

    Enable the pt translation
    
    In commit 139bfcf we got one

diff --git a/externals/header.phtml b/externals/header.phtml
index 14096d2..6130db7 100644
--- a/externals/header.phtml
+++ b/externals/header.phtml
@@ -125,7 +125,7 @@ if (isset($homepage)) { ?>
 | <a class="nav" href="<?= make_lang_href($current_page, $get_parms, "nl_NL"); ?>">Nederlands</a>
 <!--| <a class="nav" href="<?= make_lang_href($current_page, $get_parms, "nb_NO"); ?>">Norsk Bokmål</a>-->
 <!-- | <a class="nav" href="<?= make_lang_href($current_page, $get_parms, "pl_PL"); ?>">Polska</a> -->
-<!--| <a class="nav" href="<?= make_lang_href($current_page, $get_parms, "pt_PT"); ?>">Português</a>-->
+| <a class="nav" href="<?= make_lang_href($current_page, $get_parms, "pt_PT"); ?>">Português</a>
 | <a class="nav" href="<?= make_lang_href($current_page, $get_parms, "zh_CN"); ?>">简体中文</a>
 | <a class="nav" href="<?= make_lang_href($current_page, $get_parms, "zh_TW"); ?>">繁體中文</a>
 </span>
diff --git a/lang.php b/lang.php
index d80d3a4..be9ebe6 100644
--- a/lang.php
+++ b/lang.php
@@ -32,7 +32,7 @@ if (array_key_exists('lang', $_GET)) { $locale = $_GET["lang"]; }
 $supported_languages = array(
         'de_DE' => 'de', 'es_ES' => 'es', 'fr_FR' => 'fr',
         'hu_HU' => 'hu', 'it_IT' => 'it', 'ja_JP' => 'ja', 'nb_NO' => 'nb',
-        'nl_NL' => 'nl', 'pl_PL' => 'pl', 'pt_PT' => 'pt_PT',
+        'nl_NL' => 'nl', 'pl_PL' => 'pl', 'pt_PT' => 'pt',
         'zh_CN' => 'zh_CN', 'zh_TW' => 'zh_TW', 'en_US' => 'en',
         'C' => 'en'
         );



Summary of changes:
 externals/header.phtml | 2 +-
 lang.php               | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)



More information about the gnucash-changes mailing list