On Tuesday 26 May 2009 16:47:44 Tom Lane wrote:
> The method breaks the instant you have any additional
> values to print.  For example, this ain't gonna work:
>
>        printf (ngettext ("One file removed, containing %lu bytes",
>                          "%d files removed, containing %lu bytes", n),
>                n, total_bytes);

Don't do that then.  This only shows that you cannot implement everything this 
way.  It does not show why the things that you can implement are wrong.

> I'm of the opinion that the test being performed by msgfmt -v is
> entirely reasonable, and we should not risk such problems for the sake
> of sometimes spelling out "one".

I have no objections to this.  I am only pointing out how we arrived at the 
current state.

-- 
Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-hackers

Reply via email to