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

svn_grass at osgeo.org svn_grass at osgeo.org
Sun Aug 29 03:36:53 EDT 2010


Author: neteler
Date: 2010-08-29 07:36:53 +0000 (Sun, 29 Aug 2010)
New Revision: 43328

Modified:
   grass/branches/develbranch_6/gui/wxpython/gui_modules/preferences.py
   grass/branches/develbranch_6/gui/wxpython/gui_modules/profile.py
Log:
gettext fixes

Modified: grass/branches/develbranch_6/gui/wxpython/gui_modules/preferences.py
===================================================================
--- grass/branches/develbranch_6/gui/wxpython/gui_modules/preferences.py	2010-08-29 07:35:32 UTC (rev 43327)
+++ grass/branches/develbranch_6/gui/wxpython/gui_modules/preferences.py	2010-08-29 07:36:53 UTC (rev 43328)
@@ -2074,7 +2074,7 @@
                                           key='font', subkey='encoding')
 
             label = wx.StaticText(parent=panel, id=wx.ID_ANY,
-                                  label=("Character encoding:"))
+                                  label=_("Character encoding:"))
             gridSizer.Add(item=label,
                           flag=wx.ALIGN_CENTER_VERTICAL,
                           pos=(2, 0))
@@ -2092,7 +2092,7 @@
             self.fontsize = self.settings.Get(group='display',
                                           key='outputfont', subkey='size')
             label = wx.StaticText(parent=panel, id=wx.ID_ANY,
-                              label=("Font size:"))
+                              label=_("Font size:"))
             gridSizer.Add(item=label,
                       flag=wx.ALIGN_CENTER_VERTICAL,
                       pos=(2, 0))

Modified: grass/branches/develbranch_6/gui/wxpython/gui_modules/profile.py
===================================================================
--- grass/branches/develbranch_6/gui/wxpython/gui_modules/profile.py	2010-08-29 07:35:32 UTC (rev 43327)
+++ grass/branches/develbranch_6/gui/wxpython/gui_modules/profile.py	2010-08-29 07:36:53 UTC (rev 43328)
@@ -929,7 +929,7 @@
         #
         # x-axis label
         #
-        label = wx.StaticText(parent=self, id=wx.ID_ANY, label=("X-axis label:"))
+        label = wx.StaticText(parent=self, id=wx.ID_ANY, label=_("X-axis label:"))
         gridSizer.Add(item=label, flag=wx.ALIGN_CENTER_VERTICAL, pos=(2, 0))
         self.xlabelentry = wx.TextCtrl(parent=self, id=wx.ID_ANY, value="", size=(250,-1))
         # self.xlabelentry.SetFont(self.font)



More information about the grass-commit mailing list