Re: problem with plural-forms

Поиск
Список
Период
Сортировка
От Peter Eisentraut
Тема Re: problem with plural-forms
Дата
Msg-id 200905261734.32878.peter_e@gmx.net
обсуждение исходный текст
Ответ на Re: problem with plural-forms  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-hackers
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.


В списке pgsql-hackers по дате отправления:

Предыдущее
От: Andrew Dunstan
Дата:
Сообщение: Re: PostgreSQL Developer meeting minutes up
Следующее
От: Magnus Hagander
Дата:
Сообщение: Re: PostgreSQL Developer meeting minutes up