gnucash-htdocs beta: Multiple changes pushed

John Ralls jralls at code.gnucash.org
Wed Aug 11 19:18:20 EDT 2021


Updated	 via  https://github.com/Gnucash/gnucash-htdocs/commit/7d6adc89 (commit)
	 via  https://github.com/Gnucash/gnucash-htdocs/commit/ae78dc51 (commit)
	from  https://github.com/Gnucash/gnucash-htdocs/commit/d60af2de (commit)



commit 7d6adc89dd3df628bb6aadba05b214dbb63bd64d
Author: John Ralls <jralls at ceridwen.us>
Date:   Wed Aug 11 16:17:33 2021 -0700

    Revert "Enable localization comment."
    
    This reverts commit 91f379cc9fde994db1e3c5e9b0e88a1dc9b8d716.

diff --git a/lang.php b/lang.php
index 8c7058d..794558d 100644
--- a/lang.php
+++ b/lang.php
@@ -114,5 +114,5 @@ T_bind_textdomain_codeset($domain, 'UTF-8');
 T_textdomain($domain);
 
 # Next line was disabled in order to have the definition of doctype on the first line of the html resulting page. In this way the fixed attribute of the branding GnuCash sign works in ie8
-echo ("<!-- $locale , locale_res [$locale_res] , dir_res $dir_res, lang_cookie [$lang_cookie] -->\n");
+/*echo ("<!-- $locale , locale_res [$locale_res] , dir_res $dir_res, lang_cookie [$lang_cookie] -->\n");*/
 ?>

commit ae78dc51985c44bee874fe85c32e4d145f93bef1
Author: John Ralls <jralls at ceridwen.us>
Date:   Wed Aug 11 16:16:47 2021 -0700

    Revert "Use builtin setlocale."
    
    This reverts commit d60af2de473c8965299ac1b455af80a10699d624.

diff --git a/lang.php b/lang.php
index 9b4fb2d..8c7058d 100644
--- a/lang.php
+++ b/lang.php
@@ -103,7 +103,7 @@ setcookie("lang_cookie", $locale);
 require_once("externals/gettext.inc");
 //putenv("LANG=$locale");
 //putenv("LANGUAGE=$locale");
-$locale_res = setlocale(LC_ALL, $locale);
+$locale_res = T_setlocale(LC_ALL, $locale);
 $domain = "gnucash-htdocs";
 if (! isset($text_dir)) { $text_dir = $locale_dir; }
 $dir_res = T_bindtextdomain($domain, $text_dir);



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



More information about the gnucash-changes mailing list