[GRASS-SVN] r32049 - grass/trunk/gui/wxpython/gui_modules

svn_grass at osgeo.org svn_grass at osgeo.org
Tue Jul 8 09:35:06 EDT 2008


Author: martinl
Date: 2008-07-08 09:35:05 -0400 (Tue, 08 Jul 2008)
New Revision: 32049

Modified:
   grass/trunk/gui/wxpython/gui_modules/__init__.py
   grass/trunk/gui/wxpython/gui_modules/mapdisp.py
Log:
wxGUI: i18n minor update


Modified: grass/trunk/gui/wxpython/gui_modules/__init__.py
===================================================================
--- grass/trunk/gui/wxpython/gui_modules/__init__.py	2008-07-08 13:07:10 UTC (rev 32048)
+++ grass/trunk/gui/wxpython/gui_modules/__init__.py	2008-07-08 13:35:05 UTC (rev 32049)
@@ -15,6 +15,7 @@
         "nviz",
         "preferences",
         "profile",
+        "psmap",
         "render",
         "rules",
         "sqlbuilder",

Modified: grass/trunk/gui/wxpython/gui_modules/mapdisp.py
===================================================================
--- grass/trunk/gui/wxpython/gui_modules/mapdisp.py	2008-07-08 13:07:10 UTC (rev 32048)
+++ grass/trunk/gui/wxpython/gui_modules/mapdisp.py	2008-07-08 13:35:05 UTC (rev 32049)
@@ -3129,15 +3129,15 @@
         point = wx.GetMousePosition()
         printmenu = wx.Menu()
         # Add items to the menu
-        setup = wx.MenuItem(printmenu, wx.ID_ANY,'Page setup')
+        setup = wx.MenuItem(printmenu, wx.ID_ANY, _('Page setup'))
         printmenu.AppendItem(setup)
         self.Bind(wx.EVT_MENU, self.printopt.OnPageSetup, setup)
 
-        preview = wx.MenuItem(printmenu, wx.ID_ANY,'Print preview')
+        preview = wx.MenuItem(printmenu, wx.ID_ANY, _('Print preview'))
         printmenu.AppendItem(preview)
         self.Bind(wx.EVT_MENU, self.printopt.OnPrintPreview, preview)
 
-        doprint = wx.MenuItem(printmenu, wx.ID_ANY,'Print display')
+        doprint = wx.MenuItem(printmenu, wx.ID_ANY, _('Print display'))
         printmenu.AppendItem(doprint)
         self.Bind(wx.EVT_MENU, self.printopt.OnDoPrint, doprint)
 



More information about the grass-commit mailing list