[GRASS-SVN] r64377 - grass/trunk/lib/init

svn_grass at osgeo.org svn_grass at osgeo.org
Sat Jan 31 05:17:46 PST 2015


Author: martinl
Date: 2015-01-31 05:17:46 -0800 (Sat, 31 Jan 2015)
New Revision: 64377

Modified:
   grass/trunk/lib/init/grass.py
Log:
grass.py: i18n cosmetics

Modified: grass/trunk/lib/init/grass.py
===================================================================
--- grass/trunk/lib/init/grass.py	2015-01-31 13:14:49 UTC (rev 64376)
+++ grass/trunk/lib/init/grass.py	2015-01-31 13:17:46 UTC (rev 64377)
@@ -809,11 +809,11 @@
         
         language, encoding = locale.getdefaultlocale()
         if not language:
-            warning("Default locale settings are missing. GRASS running with C locale.")
+            warning(_("Default locale settings are missing. GRASS running with C locale."))
             return
     
     else:
-        message("A language override has been requested. Trying to switch GRASS into '%s'..." % language)
+        message(_("A language override has been requested. Trying to switch GRASS into '%s'...") % language)
         
         try:
             locale.setlocale(locale.LC_ALL, language)



More information about the grass-commit mailing list