[Gnucash-changes] r14120 - htdocs/trunk - try something else...

Joshua Sled jsled at cvs.gnucash.org
Wed May 17 21:46:31 EDT 2006


Author: jsled
Date: 2006-05-17 21:46:31 -0400 (Wed, 17 May 2006)
New Revision: 14120
Trac: http://svn.gnucash.org/trac/changeset/14120

Modified:
   htdocs/trunk/lang.php
Log:
try something else...


Modified: htdocs/trunk/lang.php
===================================================================
--- htdocs/trunk/lang.php	2006-05-18 01:30:10 UTC (rev 14119)
+++ htdocs/trunk/lang.php	2006-05-18 01:46:31 UTC (rev 14120)
@@ -5,10 +5,10 @@
 if ($locale == "") { $locale = "en_US"; }
 putenv("LANG=$locale");
 putenv("LANGUAGE=$locale");
-$locale_res = setlocale(LC_ALL, $locale);
+$locale_res = setlocale(LC_ALL, "");
 $domain = "gnucash-htdocs";
 $dir_res = bindtextdomain($domain, $top_dir);
 textdomain($domain);
-if ($local_res == false) { $local_res = 'false'; }
+if (!$local_res) { $local_res = 'invalid'; }
 echo ("<!-- $lang , locale_res [$locale_res] , dir_res $dir_res -->\n");
 ?>



More information about the gnucash-changes mailing list