소스 검색

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:
                 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')