[GRASS-dev] Re: [GRASS-SVN] r45267 - grass/branches/releasebranch_6_4/locale/po

Martin Landa landa.martin at gmail.com
Tue Feb 1 12:54:54 EST 2011


Hi,

2011/2/1 Hamish <hamish_b at yahoo.com>:
> tool_opt->descriptions =
>    "break;" _("break lines at each intersection;")
>    "rmdupl;" _("remove duplicate geometry features (pay attention to categories!);")
>    "rmdangle;" _("remove dangles, threshold ignored if < 0;")
>    "chdangle;" _("change the type of boundary dangle to line, "
>                  "threshold ignored if < 0, input line type is ignored;")
>  ...
>
> in the code?

what about G_asprintf()

char *desc = NULL;
desc = G_asprintf("break;%s;rmdumpl;%s", _("break..."), _("remove"))
tool_opt->descriptions = desc;

?

Martin

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


More information about the grass-dev mailing list