[GRASS-dev] Re: [GRASS-SVN] r34771 - in grass/trunk/gui/wxpython: gui_modules xml

Glynn Clements glynn at gclements.plus.com
Mon Dec 8 01:09:32 EST 2008


Martin Landa wrote:

> > Added:
> >   grass/trunk/gui/wxpython/xml/menudata.xml
> > Modified:
> >   grass/trunk/gui/wxpython/gui_modules/menudata.py
> > Log:
> > Convert menu data to XML
> 
> Thanks for converting menu data into XML! I just wonder how to localize it...

The code in menudata.py which reads the XML passes the various fields
through the _(...) function, so the existing translations should be
used.

In terms of obtaining the strings to create the .pot files, I'll add
some code to generate a dummy .py file for use by gettext.

-- 
Glynn Clements <glynn at gclements.plus.com>


More information about the grass-dev mailing list