Markus Neteler wrote: > >> Looking around I found other .py files lacking the gettext stuff. > > IOW, any module which uses: > > > > if __name__ == '__main__': > > .... > > > > (other than for debug/test/demonstration purposes) should call > > gettext.install within that section of code (calling it from the top > > level is suboptimal, but probably harmless). > > So, I would add it after __main__ in: > > svn status gui/wxpython/ > M gui/wxpython/gui_modules/location_wizard.py > M gui/wxpython/gui_modules/mcalc_builder.py > M gui/wxpython/gui_modules/render.py
I don't know enough about the GUI and GUI-based startup to know which files are executed. The GUI itself is wxgui.py, while G_parser() executes menuform.py. Other than that, I don't know. > ? This would also activate preferences.py? gettext.install makes "_" a built-in function, so it's then available for all modules. -- Glynn Clements <[email protected]> _______________________________________________ grass-dev mailing list [email protected] http://lists.osgeo.org/mailman/listinfo/grass-dev
