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?
Markus
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@gclements.plus.com>