[GRASS-dev] r38602 breaks scripts

Martin Landa landa.martin at gmail.com
Mon Aug 3 16:06:36 EDT 2009


Hi,

2009/8/3 Glynn Clements <glynn at gclements.plus.com>:
> r38602 modified all of the scripts to use _(...) to localise messages:
>
> http://trac.osgeo.org/grass/changeset/38602
>
> The main problem problem with this is that the _() function isn't
> defined, so any script printing a message fails.
>
> Presumably lib/python/core.py is supposed to initialise gettext, e.g.:
>
> http://docs.python.org/library/gettext.html#localizing-your-application

hopefully fixed r38608.

Martin

-- 
Martin Landa <landa.martin gmail.com> * http://gama.fsv.cvut.cz/~landa


More information about the grass-dev mailing list