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

svn_grass at osgeo.org svn_grass at osgeo.org
Thu Jun 2 03:19:04 EDT 2011


Author: martinl
Date: 2011-06-02 00:19:04 -0700 (Thu, 02 Jun 2011)
New Revision: 46506

Modified:
   grass/trunk/gui/wxpython/gui_modules/gpyshell.py
Log:
wxGUI: fix i18n string from r46505


Modified: grass/trunk/gui/wxpython/gui_modules/gpyshell.py
===================================================================
--- grass/trunk/gui/wxpython/gui_modules/gpyshell.py	2011-06-02 07:15:50 UTC (rev 46505)
+++ grass/trunk/gui/wxpython/gui_modules/gpyshell.py	2011-06-02 07:19:04 UTC (rev 46506)
@@ -99,7 +99,10 @@
                                             lname = fname,
                                             lchecked = True,
                                             lcmd = [lcmd, 'map=%s' % fname])
-        return _('%s map <%s> added') % (ltype.title(), fname)
+        if ltype == 'raster':
+            return _('Raster map <%s> added')
+        
+        return _('Vector map <%s> added')
     
     def OnClear(self, event):
         """!Delete all text from the shell



More information about the grass-commit mailing list