[GRASS-SVN] r31644 - grass/branches/develbranch_6/gui/wxpython/gui_modules

svn_grass at osgeo.org svn_grass at osgeo.org
Fri Jun 6 03:22:48 EDT 2008


Author: martinl
Date: 2008-06-06 03:22:47 -0400 (Fri, 06 Jun 2008)
New Revision: 31644

Modified:
   grass/branches/develbranch_6/gui/wxpython/gui_modules/globalvar.py
Log:
wxGUI: import gettext in globalvar module (related to r31641)


Modified: grass/branches/develbranch_6/gui/wxpython/gui_modules/globalvar.py
===================================================================
--- grass/branches/develbranch_6/gui/wxpython/gui_modules/globalvar.py	2008-06-06 03:36:32 UTC (rev 31643)
+++ grass/branches/develbranch_6/gui/wxpython/gui_modules/globalvar.py	2008-06-06 07:22:47 UTC (rev 31644)
@@ -20,6 +20,10 @@
 import sys
 import locale
 
+### i18N
+import gettext
+gettext.install('grasswxpy', os.path.join(os.getenv("GISBASE"), 'locale'), unicode=True)
+
 def CheckForWx():
     """Try to import wx module and check its version"""
     majorVersion = 2.8



More information about the grass-commit mailing list