[GRASS-dev] Re: [GRASS-SVN] r48640 - grass/trunk/raster/r.series

Martin Landa landa.martin at gmail.com
Wed Oct 5 11:46:43 EDT 2011


>     if (parm.input->answer && parm.file->answer)
> -        G_fatal_error(_("Options <input> and <file> are mutual exclusive"));
> +        G_fatal_error(_("input= and file= are mutually exclusive"));
>
>     if (!parm.input->answer && !parm.file->answer)
> -        G_fatal_error(_("You need to specify <input> or <file> option"));
> +        G_fatal_error(_("Please specify input= or file="));

personally I see original messages quite informative, moreover there
are quite common in other modules. We should use one pattern for this
messages. Second point, don't use key names in the strings which can
be translated, I can imagine translator who also translates key
namess. So,

"%s= and %s= are...", opt1->key, opt2-key

is better.

Martin

-- 
Martin Landa <landa.martin gmail.com> * http://geo.fsv.cvut.cz/~landa


More information about the grass-dev mailing list