소스 검색

grass.py: i18n cosmetics

git-svn-id: https://svn.osgeo.org/grass/grass/trunk@64377 15284696-431f-4ddb-bdfa-cd5b030d7da7
Martin Landa 10 년 전
부모
커밋
b3a32852be
1개의 변경된 파일2개의 추가작업 그리고 2개의 파일을 삭제
  1. 2 2
      lib/init/grass.py

+ 2 - 2
lib/init/grass.py

@@ -809,11 +809,11 @@ def set_language():
         
         language, encoding = locale.getdefaultlocale()
         if not language:
-            warning("Default locale settings are missing. GRASS running with C locale.")
+            warning(_("Default locale settings are missing. GRASS running with C locale."))
             return
     
     else:
-        message("A language override has been requested. Trying to switch GRASS into '%s'..." % language)
+        message(_("A language override has been requested. Trying to switch GRASS into '%s'...") % language)
         
         try:
             locale.setlocale(locale.LC_ALL, language)