Browse Source

updated error message

git-svn-id: https://svn.osgeo.org/grass/grass/trunk@39936 15284696-431f-4ddb-bdfa-cd5b030d7da7
Michael Barton 15 years ago
parent
commit
d9166776d2
1 changed files with 2 additions and 2 deletions
  1. 2 2
      gui/wxpython/gui_modules/preferences.py

+ 2 - 2
gui/wxpython/gui_modules/preferences.py

@@ -651,8 +651,8 @@ class Settings:
             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')