[GRASS-SVN] r33839 - grass/trunk/gui/wxpython/gui_modules
svn_grass at osgeo.org
svn_grass at osgeo.org
Sun Oct 12 03:22:22 EDT 2008
Author: martinl
Date: 2008-10-12 03:22:22 -0400 (Sun, 12 Oct 2008)
New Revision: 33839
Modified:
grass/trunk/gui/wxpython/gui_modules/colorrules.py
Log:
wxGUI: fix gettext warning
(merge from devbr6, r33838)
Modified: grass/trunk/gui/wxpython/gui_modules/colorrules.py
===================================================================
--- grass/trunk/gui/wxpython/gui_modules/colorrules.py 2008-10-12 07:20:29 UTC (rev 33838)
+++ grass/trunk/gui/wxpython/gui_modules/colorrules.py 2008-10-12 07:22:22 UTC (rev 33839)
@@ -388,8 +388,9 @@
self.cr_label.SetLabel(_('Enter raster cat values or percents'))
return
- self.cr_label.SetLabel(_('Enter raster cat values or percents (range = %d-%d)' %
- (self.rast['min'], self.rast['max'])))
+ self.cr_label.SetLabel(_('Enter raster cat values or percents (range = %(min)d-%(max)d)') %
+ { 'min' : self.rast['min'],
+ 'max' : self.rast['max'] })
elif self.elem == 'vector':
# initialize layer selection combobox
self.cb_vlayer.InsertLayers(self.inmap)
More information about the grass-commit
mailing list