浏览代码

gettext fixes

git-svn-id: https://svn.osgeo.org/grass/grass/trunk@43329 15284696-431f-4ddb-bdfa-cd5b030d7da7
Markus Neteler 14 年之前
父节点
当前提交
fede096f9e
共有 2 个文件被更改,包括 3 次插入3 次删除
  1. 2 2
      gui/wxpython/gui_modules/preferences.py
  2. 1 1
      gui/wxpython/gui_modules/profile.py

+ 2 - 2
gui/wxpython/gui_modules/preferences.py

@@ -2040,7 +2040,7 @@ class DefaultFontDialog(wx.Dialog):
                                           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))
@@ -2058,7 +2058,7 @@ class DefaultFontDialog(wx.Dialog):
             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))

+ 1 - 1
gui/wxpython/gui_modules/profile.py

@@ -929,7 +929,7 @@ class TextDialog(wx.Dialog):
         #
         # 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)