Mirror of the gdb-patches mailing list
 help / color / mirror / Atom feed
From: Eli Zaretskii <eliz@gnu.org>
To: teawater <teawater@gmail.com>
Cc: gdb-patches@sourceware.org
Subject: Re: [RFA] Add _() to query
Date: Tue, 24 Feb 2009 19:46:00 -0000	[thread overview]
Message-ID: <ud4d7r7l7.fsf@gnu.org> (raw)
In-Reply-To: <daef60380902232310n32eb1f22m71265f0a38a952b1@mail.gmail.com>

> 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.


  parent reply	other threads:[~2009-02-24 18:52 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-02-24 10:52 teawater
2009-02-24 14:33 ` Daniel Jacobowitz
2009-02-24 14:38   ` Jan Kratochvil
2009-02-24 14:57     ` Daniel Jacobowitz
2009-02-24 15:32       ` Jan Kratochvil
2009-02-24 19:46 ` Eli Zaretskii [this message]
2009-02-25  7:18   ` teawater

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=ud4d7r7l7.fsf@gnu.org \
    --to=eliz@gnu.org \
    --cc=gdb-patches@sourceware.org \
    --cc=teawater@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox