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

svn_grass at osgeo.org svn_grass at osgeo.org
Tue Apr 21 12:23:51 EDT 2009


Author: martinl
Date: 2009-04-21 12:23:51 -0400 (Tue, 21 Apr 2009)
New Revision: 36847

Modified:
   grass/branches/releasebranch_6_4/gui/wxpython/gui_modules/preferences.py
Log:
wxGUI: Add encoding suggestions to GUI (trac #556)


Modified: grass/branches/releasebranch_6_4/gui/wxpython/gui_modules/preferences.py
===================================================================
--- grass/branches/releasebranch_6_4/gui/wxpython/gui_modules/preferences.py	2009-04-21 14:31:33 UTC (rev 36846)
+++ grass/branches/releasebranch_6_4/gui/wxpython/gui_modules/preferences.py	2009-04-21 16:23:51 UTC (rev 36847)
@@ -1235,7 +1235,7 @@
         flexSizer = wx.FlexGridSizer (cols=2, hgap=5, vgap=5)
         flexSizer.AddGrowableCol(0)
         
-        label = wx.StaticText(parent=panel, id=wx.ID_ANY, label="Color")
+        label = wx.StaticText(parent=panel, id=wx.ID_ANY, label=_("Color:"))
         hlColor = csel.ColourSelect(parent=panel, id=wx.ID_ANY,
                                     colour=self.settings.Get(group='atm', key='highlight', subkey='color'),
                                     size=(35, 35))
@@ -1245,7 +1245,7 @@
         flexSizer.Add(label, proportion=0, flag=wx.ALIGN_CENTER_VERTICAL)
         flexSizer.Add(hlColor, proportion=0, flag=wx.ALIGN_RIGHT | wx.FIXED_MINSIZE)
 
-        label = wx.StaticText(parent=panel, id=wx.ID_ANY, label=_("Line width (in pixels)"))
+        label = wx.StaticText(parent=panel, id=wx.ID_ANY, label=_("Line width (in pixels):"))
         hlWidth = wx.SpinCtrl(parent=panel, id=wx.ID_ANY, size=(50, -1),
                               initial=self.settings.Get(group='atm', key='highlight',subkey='width'),
                               min=1, max=1e6)
@@ -1273,7 +1273,7 @@
 
         flexSizer = wx.FlexGridSizer (cols=2, hgap=5, vgap=5)
         flexSizer.AddGrowableCol(0)
-        label = wx.StaticText(parent=panel, id=wx.ID_ANY, label=_("Left mouse double click"))
+        label = wx.StaticText(parent=panel, id=wx.ID_ANY, label=_("Left mouse double click:"))
         leftDbClick = wx.Choice(parent=panel, id=wx.ID_ANY,
                                 choices=self.settings.Get(group='atm', key='leftDbClick', subkey='choices', internal=True),
                                 name="GetSelection")
@@ -1284,7 +1284,8 @@
         flexSizer.Add(leftDbClick, proportion=0, flag=wx.ALIGN_RIGHT | wx.FIXED_MINSIZE)
 
         # encoding
-        label = wx.StaticText(parent=panel, id=wx.ID_ANY, label=_("Encoding"))
+        label = wx.StaticText(parent=panel, id=wx.ID_ANY,
+                              label=_("Encoding (e.g. utf-8, ascii, iso8859-1, koi8-r):"))
         encoding = wx.TextCtrl(parent=panel, id=wx.ID_ANY,
                                value=self.settings.Get(group='atm', key='encoding', subkey='value'),
                                name="GetValue", size=(200, -1))
@@ -1323,7 +1324,7 @@
         flexSizer.AddGrowableCol(0)
 
         label = wx.StaticText(parent=panel, id=wx.ID_ANY,
-                              label=_("Key column"))
+                              label=_("Key column:"))
         keyColumn = wx.TextCtrl(parent=panel, id=wx.ID_ANY,
                                 size=(250, -1))
         keyColumn.SetValue(self.settings.Get(group='atm', key='keycolumn', subkey='value'))



More information about the grass-commit mailing list