[GRASS-SVN] r53045 - grass/branches/develbranch_6/lib/init

svn_grass at osgeo.org svn_grass at osgeo.org
Sat Sep 1 02:32:14 PDT 2012


Author: neteler
Date: 2012-09-01 02:32:14 -0700 (Sat, 01 Sep 2012)
New Revision: 53045

Modified:
   grass/branches/develbranch_6/lib/init/init.bat
Log:
respect LANG setting in grassrc6 on MS-Windows

Modified: grass/branches/develbranch_6/lib/init/init.bat
===================================================================
--- grass/branches/develbranch_6/lib/init/init.bat	2012-09-01 09:31:50 UTC (rev 53044)
+++ grass/branches/develbranch_6/lib/init/init.bat	2012-09-01 09:32:14 UTC (rev 53045)
@@ -89,6 +89,9 @@
 rem Now set the real GISRC
 FOR /F "usebackq delims==" %%i IN (`g.dirseps -g "%WINGISRC%"`) DO @set GISRC=%%i
 
+rem Fetch the language setting from user's prefs
+FOR /F "usebackq delims==" %%i IN (`g.gisenv "get=LANG"`) DO @set LANG=%%i
+
 rem Set GRASS_GUI
 
 if "%GRASS_GUI%" == "" (



More information about the grass-commit mailing list