[GRASS-dev] [Fwd: Re: Missing message in r.in.ogr]

Glynn Clements glynn at gclements.plus.com
Mon May 28 19:36:40 EDT 2007


Carlos Dávila wrote:

> Does anybody knows how to solve what's described below?
> 
> On Tue, May 15, 2007 at 07:33:49PM +0200, Carlos Dávila wrote:
> > I have translated all r.in.ogr messages, but there's still "Allow 
> > overwrite" at the bottom of dialogue. I cannot find this string in 
> > grassmods.po neither in any file in r.in.ogr folder. Where does it come 
> > from?
> 
> Hi Carlos,
> 
> [v.in.ogr]
> it comes from the lib/gis/parser.c
> grep Allow lib/gis/parser.c
> 
>             fprintf(stderr," --o   %s\n", _("Allow output files to overwrite existing files"));
>                         fprintf(stdout, "<DD>Allow output files to overwrite existing files</DD>\n");
>                 fprintf(fp, " desc {Allow output files to overwrite existing files}\n");
>                 fprintf(fp, " label {Allow overwrite}\n");
> 
> I don't know how to indicate the gettext macro there
> properly - could you ask on the list?

	fprintf(fp, " desc {%s}\n", _("Allow output files to overwrite existing files"));
	fprintf(fp, " label {%s}\n", _("Allow overwrite"));

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




More information about the grass-dev mailing list