Martin Landa wrote: > I wonder about localization of colors descriptions...
> Author: glynn > Date: 2008-08-30 13:21:59 -0400 (Sat, 30 Aug 2008) > New Revision: 33171 > > Added: > grass/trunk/lib/gis/colors.desc > Modified: > grass/trunk/lib/gis/Makefile > grass/trunk/raster/r.colors/main.c > Log: > Read descriptions for etc/colors/* from etc/colors.desc None of the existing .po files include a translation for opt.colr->descriptions. The new code passes each description to _() individually, which is probably more useful (i.e. each description is translated separately, so the translation doesn't become invalid each time a new description is added). OTOH, xgettext won't find the source strings by itself; they'll need to be added manually. That's an inevitable consequence of not embedding the descriptions in the source code (it seems a bit pointless being able to just drop new colour tables into etc/colors but then needing to re-compile r.colors to add the description). -- Glynn Clements <[EMAIL PROTECTED]> _______________________________________________ grass-dev mailing list [email protected] http://lists.osgeo.org/mailman/listinfo/grass-dev
