Hi,
I have realized (perhaps only on my machine?) that the startup wxGUI
screen is no longer translated when switching the locale except for the
Quit button.
The grasswx_*.po files look ok, I have checked some strings.
Any idea?
Markus
Hi,
I have realized (perhaps only on my machine?) that the startup wxGUI
screen is no longer translated when switching the locale except for the
Quit button.
The grasswx_*.po files look ok, I have checked some strings.
Any idea?
Markus
On Mon, Nov 2, 2009 at 5:14 PM, Markus Neteler <neteler@osgeo.org> wrote:
Hi,
I have realized (perhaps only on my machine?) that the startup wxGUI
screen is no longer translated when switching the locale except for the
Quit button.
Found it, there was simply a bug in
gui/wxpython/gis_set.py
I have fixed it now:
r39733 (6.4.svn), r39734 (6.5.svn), 39735 (7.svn)
I wonder if all the GUI code needs to be cluttered with the
import gettext
stuff? A global switch might be nicer...
Markus
Markus Neteler wrote:
I wonder if all the GUI code needs to be cluttered with the
import gettext stuff? A global switch might be nicer...
Can you elaborate?
Each module needs to call gettext.install() in order to add the _()
function to the module's namespace.
However, I have no idea why gis_set.py calls it three times.
--
Glynn Clements <glynn@gclements.plus.com>