[GRASS-SVN] r39733 - grass/branches/releasebranch_6_4/gui/wxpython

svn_grass at osgeo.org svn_grass at osgeo.org
Sun Nov 15 01:49:14 EST 2009


Author: neteler
Date: 2009-11-15 01:49:13 -0500 (Sun, 15 Nov 2009)
New Revision: 39733

Modified:
   grass/branches/releasebranch_6_4/gui/wxpython/gis_set.py
Log:
fixed locale switch for startup screen

Modified: grass/branches/releasebranch_6_4/gui/wxpython/gis_set.py
===================================================================
--- grass/branches/releasebranch_6_4/gui/wxpython/gis_set.py	2009-11-14 18:59:11 UTC (rev 39732)
+++ grass/branches/releasebranch_6_4/gui/wxpython/gis_set.py	2009-11-15 06:49:13 UTC (rev 39733)
@@ -29,6 +29,7 @@
 
 ### i18N
 import gettext
+gettext.install('grasswxpy', os.path.join(os.getenv("GISBASE"), 'locale'), unicode=True)
 
 from gui_modules import globalvar
 if not os.getenv("GRASS_WXBUNDLED"):
@@ -62,6 +63,10 @@
 
         self.panel = wx.Panel(parent=self, id=wx.ID_ANY)
 
+        # i18N
+        import gettext
+        gettext.install('grasswxpy', os.path.join(os.getenv("GISBASE"), 'locale'), unicode=True)
+
         #
         # graphical elements
         #



More information about the grass-commit mailing list