This is the mail archive of the gdb-patches@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [RFA] Add _() to query


> Date: Tue, 24 Feb 2009 15:10:51 +0800
> From: teawater <teawater@gmail.com>
> 
> Hi Eli,
> 
> I remember you told me that you want to add _() to all query.
> I make a patch for it. Do you think it's OK?

Yes, with the exception of a single comment below.

(I don't have an opinion regarding the _() vs --keyword approach to
marking translatable strings.)

> -  if (from_tty && (!query ("%s", "")))
> +  if (from_tty && (!query (_("%s"), "")))

AFAIK, it is absolutely pointless to mark for translation strings that
have no text, just formatted output conversion spec.  That's because
the only translation of such strings is the string itself.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]