[Mapbender-commits] r5220 - branches/2.6/core

svn_mapbender at osgeo.org svn_mapbender at osgeo.org
Mon Dec 21 05:12:57 EST 2009


Author: astrid_emde
Date: 2009-12-21 05:12:57 -0500 (Mon, 21 Dec 2009)
New Revision: 5220

Modified:
   branches/2.6/core/i18n.php
Log:
changed to $_SESSION["mb_locale"] Mapbender::session comes with 2.7

Modified: branches/2.6/core/i18n.php
===================================================================
--- branches/2.6/core/i18n.php	2009-12-21 10:08:10 UTC (rev 5219)
+++ branches/2.6/core/i18n.php	2009-12-21 10:12:57 UTC (rev 5220)
@@ -23,8 +23,7 @@
 	    }
 	   
 		if (USE_I18N) {
-//			$e = new mb_notice("Translating '" . $someString . "' to language " . Mapbender::session()->get("mb_locale") . ": '" . _($someString) . "'");
-
+			$e = new mb_notice("Translating '" . $someString . "' to language " . $_SESSION["mb_locale"] . ": '" . _($someString) . "'");
 		    return vsprintf(_($someString), $arg);			
 		}
 	    return vsprintf($someString, $arg);			



More information about the Mapbender_commits mailing list