[Mapbender-commits] r2991 - branches/2.5/http/classes

svn_mapbender at osgeo.org svn_mapbender at osgeo.org
Fri Sep 19 07:36:12 EDT 2008


Author: astrid_emde
Date: 2008-09-19 07:36:12 -0400 (Fri, 19 Sep 2008)
New Revision: 2991

Modified:
   branches/2.5/http/classes/class_locale.php
Log:
LC_MESSAGES

Modified: branches/2.5/http/classes/class_locale.php
===================================================================
--- branches/2.5/http/classes/class_locale.php	2008-09-19 09:05:11 UTC (rev 2990)
+++ branches/2.5/http/classes/class_locale.php	2008-09-19 11:36:12 UTC (rev 2991)
@@ -100,7 +100,7 @@
                                 }
 
                                 $locale = $this->systemLocales[$this->knownLanguages[$languageId]][$this->os];
-                                $selectedLocale = setlocale(LC_ALL, $locale);
+                                $selectedLocale = setlocale(LC_MESSAGES, $locale);
                                 if ($selectedLocale) {
                                         $this->name = $selectedLocale;
                                         $_SESSION["mb_lang"] = $languageId;



More information about the Mapbender_commits mailing list