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

svn_grass at osgeo.org svn_grass at osgeo.org
Thu Jul 22 05:12:36 EDT 2010


Author: martinl
Date: 2010-07-22 09:12:36 +0000 (Thu, 22 Jul 2010)
New Revision: 42879

Modified:
   grass/branches/releasebranch_6_4/gui/wxpython/gui_modules/toolbars.py
Log:
wxGUI: clean up vdigit/nviz error messages cont'ed


Modified: grass/branches/releasebranch_6_4/gui/wxpython/gui_modules/toolbars.py
===================================================================
--- grass/branches/releasebranch_6_4/gui/wxpython/gui_modules/toolbars.py	2010-07-22 09:08:27 UTC (rev 42878)
+++ grass/branches/releasebranch_6_4/gui/wxpython/gui_modules/toolbars.py	2010-07-22 09:12:36 UTC (rev 42879)
@@ -169,10 +169,10 @@
         else:
             from nviz import errorMsg
             log.WriteCmdLog(_('3D view mode not available'))
-            log.WriteWarning(_('Reason: %s\n'
-                               'Note that the 3D view mode is currently not working under\nMS Windows '
-                               '(hopefully this will be fixed soon). '
-                               'Please keep\nan eye out for updated versions of GRASS.') % errorMsg)
+            log.WriteWarning(_('Reason: %s') % errorMsg)
+            log.WriteLog(_('Note that the 3D view mode is currently not working under MS Windows '
+                           '(hopefully this will be fixed soon). '
+                           'Please keep an eye out for updated versions of GRASS.'), wrap = 60)
             
             self.toolId['3d'] = -1
         if haveVDigit:
@@ -184,10 +184,10 @@
         else:
             from vdigit import errorMsg
             log.WriteCmdLog(_('Vector digitizer not available'))
-            log.WriteWarning(_('Reason: %s\n'
-                               'Note that the vector digitizer is currently not working under\nMS Windows '
-                               '(hopefully this will be fixed soon). '
-                               'Please keep\nan eye out for updated versions of GRASS.') % errorMsg)
+            log.WriteWarning(_('Reason: %s') % errorMsg)
+            log.WriteLog(_('Note that the vector digitizer is currently not working under MS Windows '
+                           '(hopefully this will be fixed soon). '
+                           'Please keep an eye out for updated versions of GRASS.'), wrap = 60)
             
             self.toolId['vdigit'] = -1
         



More information about the grass-commit mailing list