[GRASS-SVN] r64387 - grass/branches/releasebranch_7_0/lib/init
svn_grass at osgeo.org
svn_grass at osgeo.org
Sun Feb 1 13:06:28 PST 2015
Author: martinl
Date: 2015-02-01 13:06:28 -0800 (Sun, 01 Feb 2015)
New Revision: 64387
Modified:
grass/branches/releasebranch_7_0/lib/init/grass.py
Log:
grass.py: warning to message when language override (cosmetics)
(merge r64376-64377 from trunk)
Modified: grass/branches/releasebranch_7_0/lib/init/grass.py
===================================================================
--- grass/branches/releasebranch_7_0/lib/init/grass.py 2015-02-01 12:35:28 UTC (rev 64386)
+++ grass/branches/releasebranch_7_0/lib/init/grass.py 2015-02-01 21:06:28 UTC (rev 64387)
@@ -815,11 +815,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:
- warning("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