This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [RFA] Add _() to query
On Tue, 24 Feb 2009 15:48:26 +0100, Daniel Jacobowitz wrote:
> On Tue, Feb 24, 2009 at 02:39:29PM +0100, Jan Kratochvil wrote:
> > The standard for localized messages is _(). Making the localization more
> > magic makes the GDB project less viable for possible development newcomers.
>
> I have trouble believing that.
>
> I got this idea from GCC, which has used it for as long as I can
> remember. If you pass --keyword=query, and use N_() inside the body
^^^^ -> _() or gettext()
> of query, xgettext will localize all arguments to query in the entire
> program.
>
> This is better for code size and for readability.
OK, understood but still I disagree with --keyword=query when considering its
pros and cons.
Thanks,
Jan