I have reverted gettext addition due to compile error in that file.
During the build process, menudata.py is executed as a script (with
GISBASE unset, hence the error) to generate the menustrings.py file
(so that "make -C locale pot" includes the label and help strings from
menudata.xml).
When used in this way, the strings shouldn't be translated; otherwise
you'll end up with the translated strings as "source" strings in the
grasswxpy.pot file.
On Fri, Feb 19, 2010 at 1:57 AM, Glynn Clements
<glynn@gclements.plus.com> wrote:
Markus Neteler wrote:
Try r41105.
I have reverted gettext addition due to compile error in that file.
During the build process, menudata.py is executed as a script (with
GISBASE unset, hence the error) to generate the menustrings.py file
(so that "make -C locale pot" includes the label and help strings from
menudata.xml).
When used in this way, the strings shouldn't be translated; otherwise
you'll end up with the translated strings as "source" strings in the
grasswxpy.pot file.
I'll leave needed corrections (if any) to the wx/python-savvy people.