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

svn_grass at osgeo.org svn_grass at osgeo.org
Mon Feb 18 10:23:05 EST 2008


Author: martinl
Date: 2008-02-18 10:23:05 -0500 (Mon, 18 Feb 2008)
New Revision: 30234

Modified:
   grass/trunk/gui/wxpython/gui_modules/digit.py
Log:
wxGUI: error message less cryptic

Modified: grass/trunk/gui/wxpython/gui_modules/digit.py
===================================================================
--- grass/trunk/gui/wxpython/gui_modules/digit.py	2008-02-18 15:13:55 UTC (rev 30233)
+++ grass/trunk/gui/wxpython/gui_modules/digit.py	2008-02-18 15:23:05 UTC (rev 30234)
@@ -190,11 +190,13 @@
                                   'Details: %s' % (os.linesep, os.linesep, e))
         
         if map and ret == -1:
-            raise gcmd.DigitError(_('Unable to open vector map <%s> for editing. The vector map is probably broken. '
-                               'Try to run v.build for rebuilding the topology.') % map)
+            raise gcmd.DigitError(_('Unable to open vector map <%s> for editing. '
+                                    'Data are probably corrupted, '
+                                    'try to run v.build for rebuilding the topology.') % map)
         if not map and ret != 0:
-            raise gcmd.DigitError(_('Closing vector map <%s> failed. The vector map is probably broken. '
-                               'Try to run v.build for rebuilding the topology.') % map)
+            raise gcmd.DigitError(_('Unable to open vector map <%s> for editing. '
+                                    'Data are probably corrupted, '
+                                    'try to run v.build for rebuilding the topology.') % map)
             
         if UserSettings.Get('digitInterface') != 'v.edit':
             try:



More information about the grass-commit mailing list