This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [commit] Internationalize Ada files
- From: Andreas Schwab <schwab at suse dot de>
- To: Paul Hilfinger <hilfingr at gnat dot com>
- Cc: gdb-patches at sourceware dot org
- Date: Sun, 08 Jan 2006 12:12:10 +0100
- Subject: Re: [commit] Internationalize Ada files
- References: <20060108072209.33B0048CDEE@nile.gnat.com>
Paul Hilfinger <hilfingr@gnat.com> writes:
> @@ -768,7 +768,7 @@ ada_parse (void)
> void
> yyerror (char *msg)
> {
> - error ("A %s in expression, near `%s'.", (msg ? msg : "error"), lexptr);
> + error (_("A %s in expression, near `%s'."), (msg ? msg : _("error")), lexptr);
This will be hard if not impossible to properly translate to many
languages. Even in English it is grammatically wrong when msg is NULL.
Andreas.
--
Andreas Schwab, SuSE Labs, schwab@suse.de
SuSE Linux Products GmbH, Maxfeldstraße 5, 90409 Nürnberg, Germany
PGP key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5
"And now for something completely different."