浏览代码

updated error message

git-svn-id: https://svn.osgeo.org/grass/grass/trunk@39936 15284696-431f-4ddb-bdfa-cd5b030d7da7
Michael Barton 15 年之前
父节点
当前提交
d9166776d2
共有 1 个文件被更改,包括 2 次插入2 次删除
  1. 2 2
      gui/wxpython/gui_modules/preferences.py

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

@@ -651,8 +651,8 @@ class Settings:
             try:
             try:
                 os.mkdir(dirPath)
                 os.mkdir(dirPath)
             except:
             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')
         filePath = os.path.join(home, '.grass7', 'wx')