[GRASS-SVN] r33838 - grass/branches/develbranch_6/gui/wxpython/gui_modules

svn_grass at osgeo.org svn_grass at osgeo.org
Sun Oct 12 03:20:30 EDT 2008


Author: martinl
Date: 2008-10-12 03:20:29 -0400 (Sun, 12 Oct 2008)
New Revision: 33838

Modified:
   grass/branches/develbranch_6/gui/wxpython/gui_modules/colorrules.py
Log:
wxGUI: fix gettext warning


Modified: grass/branches/develbranch_6/gui/wxpython/gui_modules/colorrules.py
===================================================================
--- grass/branches/develbranch_6/gui/wxpython/gui_modules/colorrules.py	2008-10-12 07:15:47 UTC (rev 33837)
+++ grass/branches/develbranch_6/gui/wxpython/gui_modules/colorrules.py	2008-10-12 07:20:29 UTC (rev 33838)
@@ -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