[GRASS-SVN] r45859 - grass-addons/gui/wxpython/wx.psmap/gui_modules
svn_grass at osgeo.org
svn_grass at osgeo.org
Wed Apr 6 14:46:54 EDT 2011
Author: martinl
Date: 2011-04-06 11:46:54 -0700 (Wed, 06 Apr 2011)
New Revision: 45859
Modified:
grass-addons/gui/wxpython/wx.psmap/gui_modules/psmap_dialogs.py
Log:
wx.psmap: add missing _() macros
Modified: grass-addons/gui/wxpython/wx.psmap/gui_modules/psmap_dialogs.py
===================================================================
--- grass-addons/gui/wxpython/wx.psmap/gui_modules/psmap_dialogs.py 2011-04-06 18:32:47 UTC (rev 45858)
+++ grass-addons/gui/wxpython/wx.psmap/gui_modules/psmap_dialogs.py 2011-04-06 18:46:54 UTC (rev 45859)
@@ -2719,7 +2719,7 @@
class RasterDialog(PsmapDialog):
def __init__(self, parent, id, settings):
- PsmapDialog.__init__(self, parent = parent, id = id, title = "Raster map settings", settings = settings)
+ PsmapDialog.__init__(self, parent = parent, id = id, title = _("Raster map settings"), settings = settings)
self.objectType = ('raster',)
self.rPanel = RasterPanel(parent = self, id = self.id, settings = self.instruction, notebook = False)
@@ -2756,7 +2756,7 @@
class MainVectorDialog(PsmapDialog):
def __init__(self, parent, id, settings):
- PsmapDialog.__init__(self, parent = parent, id = id, title = "Vector maps settings", settings = settings)
+ PsmapDialog.__init__(self, parent = parent, id = id, title = _("Vector maps settings"), settings = settings)
self.objectType = ('vector',)
self.vPanel = VectorPanel(parent = self, id = self.id, settings = self.instruction, notebook = False)
@@ -5373,7 +5373,7 @@
flags = 'b',
input = filename).strip().split('=')[1].split(','))
except (grass.ScriptError, IndexError):
- GError(message = _("Unable to run ps.map -b "))
+ GError(message = _("Unable to run `ps.map -b`"))
return None
return wx.Rect2D(bb[0], bb[3], bb[2] - bb[0], bb[1] - bb[3])
More information about the grass-commit
mailing list