[GRASS-SVN] r31645 - grass/trunk/gui/wxpython/gui_modules
svn_grass at osgeo.org
svn_grass at osgeo.org
Fri Jun 6 03:24:49 EDT 2008
Author: martinl
Date: 2008-06-06 03:24:49 -0400 (Fri, 06 Jun 2008)
New Revision: 31645
Modified:
grass/trunk/gui/wxpython/gui_modules/globalvar.py
Log:
wxGUI: import gettext in globalvar module (related to r31642)
[merge devbr6, r31644]
Modified: grass/trunk/gui/wxpython/gui_modules/globalvar.py
===================================================================
--- grass/trunk/gui/wxpython/gui_modules/globalvar.py 2008-06-06 07:22:47 UTC (rev 31644)
+++ grass/trunk/gui/wxpython/gui_modules/globalvar.py 2008-06-06 07:24:49 UTC (rev 31645)
@@ -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