[commit] Internationalize Ada files
Andreas Schwab
schwab@suse.de
Sun Jan 8 11:12:00 GMT 2006
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."
More information about the Gdb-patches
mailing list