Browse Source

wxGUI: fix i18n string from https://trac.osgeo.org/grass/changeset/46505

git-svn-id: https://svn.osgeo.org/grass/grass/trunk@46506 15284696-431f-4ddb-bdfa-cd5b030d7da7
Martin Landa 14 năm trước cách đây
mục cha
commit
51bb3a09dc

+ 4 - 1
gui/wxpython/gui_modules/gpyshell.py

@@ -99,7 +99,10 @@ class PyShellWindow(wx.Panel):
                                             lname = fname,
                                             lname = fname,
                                             lchecked = True,
                                             lchecked = True,
                                             lcmd = [lcmd, 'map=%s' % fname])
                                             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):
     def OnClear(self, event):
         """!Delete all text from the shell
         """!Delete all text from the shell