[GRASS-dev] po-strings f=?iso-8859-1?B?/A==?=r r.mapcalc

Glynn Clements glynn at gclements.plus.com
Wed Jul 18 11:15:04 PDT 2012


Markus Neteler wrote:

> what is the best way to get this long r.mapcalc/main.c message into the
> .po files?
> 
> static const char help_text[] =
>     "r.mapcalc - Raster map layer data calculator\n"
>     "\n"
>     "usage: r.mapcalc '<map>=<expression>'\n"
>     "\n"
>     "r.mapcalc performs arithmetic on raster map layers.\n"
>     "\n"
>     "New raster map layers can be created which are arithmetic expressions\n"
>     "involving existing raster map layers, integer or floating point constants,\n"
>     "and functions.\n" "\n" "For more information use 'g.manual r.mapcalc'\n";

Does enclosing the string in _(...) not work?

-- 
Glynn Clements <glynn at gclements.plus.com>


More information about the grass-dev mailing list