[GRASS-SVN] r61704 - grass/trunk/lib/python/script
svn_grass at osgeo.org
svn_grass at osgeo.org
Wed Aug 20 07:39:29 PDT 2014
Author: annakrat
Date: 2014-08-20 07:39:29 -0700 (Wed, 20 Aug 2014)
New Revision: 61704
Modified:
grass/trunk/lib/python/script/task.py
Log:
fix displaying translated 'required' string (to German) in modules' status bar
Modified: grass/trunk/lib/python/script/task.py
===================================================================
--- grass/trunk/lib/python/script/task.py 2014-08-19 20:41:16 UTC (rev 61703)
+++ grass/trunk/lib/python/script/task.py 2014-08-20 14:39:29 UTC (rev 61704)
@@ -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