gnucash-htdocs master: ... and add pt to trunk_langs

Frank H.Ellenberger fell at code.gnucash.org
Sat Feb 11 14:38:48 EST 2017


Updated	 via  https://github.com/Gnucash/gnucash-htdocs/commit/cf95fe27 (commit)
	from  https://github.com/Gnucash/gnucash-htdocs/commit/d006ed16 (commit)



commit cf95fe271bc77f4567849543c91ae1e68c85605e
Author: fell <frank.h.ellenberger at gmail.com>
Date:   Sat Feb 11 20:38:45 2017 +0100

    ... and add pt to trunk_langs

diff --git a/viewdoc.phtml b/viewdoc.phtml
index 554160d..1b3f088 100644
--- a/viewdoc.phtml
+++ b/viewdoc.phtml
@@ -91,8 +91,8 @@ if (isset ($_GET["rev"])) {
 # updated if list of languages in which the documentation is available changes
 if ($showrev == "trunk") {
   $basepath = "https://lists.gnucash.org/docs";
-  $trunk_langs = array ( $helpdoc => array( "C", "de", "it"),
-                         $tcdoc   => array( "C", "de", "it", "ja"));
+  $trunk_langs = array ( $helpdoc => array( "C", "de", "it", "pt"),
+                         $tcdoc   => array( "C", "de", "it", "ja", "pt"));
   if (!in_array ($showlang, $trunk_langs[$showdoc])) {
     $showlang    = "C";
     $req_lang_ok = false;



Summary of changes:
 viewdoc.phtml | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)



More information about the gnucash-changes mailing list