[GRASS-dev] gettext warnings

Anna Kratochvílová kratochanna at gmail.com
Wed Jun 20 01:32:11 PDT 2012


Hi,

I would like just to remind you of the warnings which you get after
'make pot' in ./locale. The warnings came from ./lib/python/temporal.
Here is the related ticket [1] and mail discussion [2].
This problem can be solved using:

 message = _("Selected map <%(map)s> is not in current mapset <%(mapset)s>. " %
	                            { 'map' : self.mapName,  'mapset' :
grass.gisenv()['MAPSET'] }

Perhaps we could add a note to the SUBMITTING_PYTHON document?

Anna


[1] http://trac.osgeo.org/grass/ticket/1677
[2] http://lists.osgeo.org/pipermail/grass-dev/2012-January/057674.html


More information about the grass-dev mailing list