[GRASS-SVN] r61811 - grass/branches/releasebranch_7_0/lib/python/script
svn_grass at osgeo.org
svn_grass at osgeo.org
Fri Sep 5 17:30:31 PDT 2014
Author: annakrat
Date: 2014-09-05 17:30:31 -0700 (Fri, 05 Sep 2014)
New Revision: 61811
Modified:
grass/branches/releasebranch_7_0/lib/python/script/task.py
Log:
wxGUI: fix displaying translated 'required' string (to German) in modules' status bar (merge from trunk, r61704)
Modified: grass/branches/releasebranch_7_0/lib/python/script/task.py
===================================================================
--- grass/branches/releasebranch_7_0/lib/python/script/task.py 2014-09-06 00:27:12 UTC (rev 61810)
+++ grass/branches/releasebranch_7_0/lib/python/script/task.py 2014-09-06 00:30:31 UTC (rev 61811)
@@ -228,7 +228,7 @@
if p.get('default', '') != '':
cmd += [ '%s=%s' % (p['name'], p['default']) ]
elif ignoreErrors and not suppress_required and not ignoreRequired:
- cmd += [ '%s=%s' % (p['name'], _('<required>')) ]
+ cmd += [('%s=%s' % (p['name'], _('<required>'))).decode('utf-8')]
elif p.get('value', '') == '' and p.get('default', '') != '' and not ignoreDefault:
cmd += [ '%s=%s' % (p['name'], p['default']) ]
elif p.get('value', '') != '' and \
More information about the grass-commit
mailing list