[GRASS-SVN] r46440 - grass/trunk/gui/wxpython/gui_modules
svn_grass at osgeo.org
svn_grass at osgeo.org
Sun May 29 04:57:17 EDT 2011
Author: neteler
Date: 2011-05-29 01:57:17 -0700 (Sun, 29 May 2011)
New Revision: 46440
Modified:
grass/trunk/gui/wxpython/gui_modules/vdigit.py
Log:
enable i18N
Modified: grass/trunk/gui/wxpython/gui_modules/vdigit.py
===================================================================
--- grass/trunk/gui/wxpython/gui_modules/vdigit.py 2011-05-29 08:57:06 UTC (rev 46439)
+++ grass/trunk/gui/wxpython/gui_modules/vdigit.py 2011-05-29 08:57:17 UTC (rev 46440)
@@ -191,7 +191,7 @@
self.snappingValue.Bind(wx.EVT_SPINCTRL, self.OnChangeSnappingValue)
self.snappingValue.Bind(wx.EVT_TEXT, self.OnChangeSnappingValue)
self.snappingUnit = wx.Choice(parent = panel, id = wx.ID_ANY, size = (125, -1),
- choices = ["screen pixels", "map units"])
+ choices = [_("screen pixels"), _("map units")])
self.snappingUnit.SetStringSelection(UserSettings.Get(group = 'vdigit', key = "snapping", subkey = 'units'))
self.snappingUnit.Bind(wx.EVT_CHOICE, self.OnChangeSnappingUnits)
flexSizer.Add(text, proportion = 0, flag = wx.ALIGN_CENTER_VERTICAL)
More information about the grass-commit
mailing list