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

svn_grass at osgeo.org svn_grass at osgeo.org
Sun Dec 6 19:46:24 EST 2009


Author: cmbarton
Date: 2009-12-06 19:46:23 -0500 (Sun, 06 Dec 2009)
New Revision: 39936

Modified:
   grass/trunk/gui/wxpython/gui_modules/preferences.py
Log:
updated error message

Modified: grass/trunk/gui/wxpython/gui_modules/preferences.py
===================================================================
--- grass/trunk/gui/wxpython/gui_modules/preferences.py	2009-12-07 00:42:39 UTC (rev 39935)
+++ grass/trunk/gui/wxpython/gui_modules/preferences.py	2009-12-07 00:46:23 UTC (rev 39936)
@@ -651,8 +651,8 @@
             try:
                 os.mkdir(dirPath)
             except:
-                wx.MessageBox('Cannot write settings to configuration file in [home]/.grass7',
-                              'Error saving preferences')
+                wx.MessageBox(_('Cannot create directory for settings [home]/.grass7'),
+                              _('Error saving preferences'))
 
         filePath = os.path.join(home, '.grass7', 'wx')
         



More information about the grass-commit mailing list