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

Re: [PATCH] print conflict statistics after update/merge

From: Peter Samuelson <peter_at_p12n.org>
Date: Fri, 17 Oct 2008 19:39:50 -0500

[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/

Received on 2008-10-18 02:40:49 CEST

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.