[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: svn commit: r34141 - in trunk: . subversion subversion/svn subversion/svnadmin subversion/svndumpfilter subversion/svnlook tools/po

From: Peter Samuelson <peter_at_p12n.org>
Date: Tue, 11 Nov 2008 16:07:46 -0600

[arfrever_at_tigris.org]
> Log:
> Use dngettext() for messages which require special handling of plural forms.

Did we discuss this and I missed it? Less than a month ago, I wrote:

[Jens Seidel]
> > + SVN_ERR(svn_cmdline_printf
> > + (pool, nb->text_conflicts == 1
> > + ? _("There was %i text conflict")
> > + : _("There were %i text conflicts"),
> > + nb->text_conflicts));
>
> The test nb->text_conflicts == 1 is specific to English. Other languages
> have more complicated plural rules (e.g. Russian).
>
> Please use ngettext() instead of gettext() (== _() ).

Last time I brought this up, I was told ngettext() is not portable
enough to use.

    http://svn.haxx.se/dev/archive-2007-05/0236.shtml

-- 
Peter Samuelson | org-tld!p12n!peter | http://p12n.org/
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe_at_subversion.tigris.org
For additional commands, e-mail: dev-help_at_subversion.tigris.org
Received on 2008-11-11 23:08:00 CET

This is an archived mail posted to the Subversion Dev mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.