فهرست منبع

wxGUI: fix displaying translated 'required' string (to German) in modules' status bar (merge from trunk, https://trac.osgeo.org/grass/changeset/61704)

git-svn-id: https://svn.osgeo.org/grass/grass/branches/releasebranch_7_0@61811 15284696-431f-4ddb-bdfa-cd5b030d7da7
Anna Petrášová 10 سال پیش
والد
کامیت
b0a711fed6
1فایلهای تغییر یافته به همراه1 افزوده شده و 1 حذف شده
  1. 1 1
      lib/python/script/task.py

+ 1 - 1
lib/python/script/task.py

@@ -228,7 +228,7 @@ class grassTask:
                 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 \