[GRASS-dev] gettext warnings

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

Hi Anna,
thanks for the reminder. It is on my todo list but with low priority,
since the temporal GIS framework is still in early development phase
and i focus on usability, functionality and module documentation right
now.

I will respect the guideline when writing/updating messages in the
temporal framework. When i begin with code polishing, the messages get
fixed.

Best regards
Soeren

2012/6/20 Anna Kratochvílová <kratochanna@gmail.com>:

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