From 205cede369f5793f043542270c27aa673742e140 Mon Sep 17 00:00:00 2001 From: Joe Hunt Date: Tue, 21 Aug 2007 23:33:43 +0000 Subject: [PATCH] Bug in /includes/lang/gettext.php (249) affecting changing language! --- CHANGELOG.txt | 4 ++++ includes/lang/gettext.php | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.txt b/CHANGELOG.txt index b1c4510..ed03cdf 100644 --- a/CHANGELOG.txt +++ b/CHANGELOG.txt @@ -19,6 +19,10 @@ Legend: ! -> Note $ -> Affected files +21-Aug-2007 + # Bug in /includes/lang/gettext.php (249) affecting changing language! + $ /includes/lang/gettext.php + 08-Aug-2007 # Minor adjustments $ config.php diff --git a/includes/lang/gettext.php b/includes/lang/gettext.php index 58bd113..7bdb69a 100644 --- a/includes/lang/gettext.php +++ b/includes/lang/gettext.php @@ -246,7 +246,7 @@ class gettext_native_support //$set = setlocale(LC_ALL, "$lang_code"); //$set = setlocale(LC_ALL, "$encoding"); - $set = setlocale(LC_ALL, "$lang_code.".".$encoding"); + $set = setlocale(LC_ALL, $lang_code.".".$encoding); setlocale(LC_NUMERIC, 'C'); // important for numeric presentation etc. if ($set === false) { -- 2.30.2