[GRASS-dev] po-strings für r.mapcalc

Markus Neteler neteler at osgeo.org
Wed Jul 18 15:54:35 PDT 2012


On Wed, Jul 18, 2012 at 8:15 PM, Glynn Clements
<glynn at gclements.plus.com> wrote:
>
> 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?

For me no, I get in the last row:
error: invalid initializer

Markus


More information about the grass-dev mailing list