From: Tom Tromey <tromey@redhat.com>
To: Pedro Alves <pedro@codesourcery.com>
Cc: Joel Brobecker <brobecker@adacore.com>, gdb-patches@sourceware.org
Subject: Re: [v8] multi-executable support
Date: Wed, 14 Oct 2009 16:25:00 -0000 [thread overview]
Message-ID: <m34oq2djuy.fsf@fleche.redhat.com> (raw)
In-Reply-To: <200910141615.57994.pedro@codesourcery.com> (Pedro Alves's message of "Wed, 14 Oct 2009 16:15:57 +0100")
>>>>> "Pedro" == Pedro Alves <pedro@codesourcery.com> writes:
Pedro> Any suggestions? Assuming languages have only singular and one
Pedro> plural form [if (n == 1) else ...] is frowned uppon as well.
Pedro> "1 inferior(s) added." ?
Pedro> "Added 1 inferior(s)." ?
Pedro> Just drop the sentence?
gettext has support for this. See (info "(gettext)Plural Forms"),
specifically the "ngettext" function.
In this case I think you would write:
printf_filtered (ngettext ("%d inferior added.\n", "%d inferiors added.\n",
copies),
copies);
Glancing at the patch it seems to be missing some _() calls in this
area.
Tom
next prev parent reply other threads:[~2009-10-14 16:25 UTC|newest]
Thread overview: 15+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-10-05 15:59 [v6] " Pedro Alves
2009-10-05 21:57 ` Eli Zaretskii
2009-10-06 12:14 ` Pedro Alves
2009-10-06 14:29 ` Eli Zaretskii
2009-10-12 1:26 ` [v7] " Pedro Alves
2009-10-12 19:09 ` Eli Zaretskii
2009-10-13 13:40 ` [v8] " Pedro Alves
2009-10-14 3:03 ` Joel Brobecker
2009-10-14 15:16 ` Pedro Alves
2009-10-14 15:28 ` Joel Brobecker
2009-10-14 16:25 ` Tom Tromey [this message]
2009-10-14 16:48 ` Pedro Alves
2009-10-14 17:41 ` Tom Tromey
2009-10-06 5:13 ` [v6] " Sérgio Durigan Júnior
2009-10-06 13:55 ` Pedro Alves
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=m34oq2djuy.fsf@fleche.redhat.com \
--to=tromey@redhat.com \
--cc=brobecker@adacore.com \
--cc=gdb-patches@sourceware.org \
--cc=pedro@codesourcery.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