[GRASS-SVN] r46438 - grass/branches/releasebranch_6_4/gui/wxpython/gui_modules

svn_grass at osgeo.org svn_grass at osgeo.org
Sun May 29 04:56:43 EDT 2011


Author: neteler
Date: 2011-05-29 01:56:43 -0700 (Sun, 29 May 2011)
New Revision: 46438

Modified:
   grass/branches/releasebranch_6_4/gui/wxpython/gui_modules/vdigit.py
Log:
enable i18N

Modified: grass/branches/releasebranch_6_4/gui/wxpython/gui_modules/vdigit.py
===================================================================
--- grass/branches/releasebranch_6_4/gui/wxpython/gui_modules/vdigit.py	2011-05-28 16:53:22 UTC (rev 46437)
+++ grass/branches/releasebranch_6_4/gui/wxpython/gui_modules/vdigit.py	2011-05-29 08:56:43 UTC (rev 46438)
@@ -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