Re: Use singular number when appropriate

Поиск
Список
Период
Сортировка
От Laurenz Albe
Тема Re: Use singular number when appropriate
Дата
Msg-id 78411ebb5ccff8da93ea5bad0bb897adf40f292e.camel@cybertec.at
обсуждение исходный текст
Ответ на Use singular number when appropriate  (David Fetter <david@fetter.org>)
Ответы Re: Use singular number when appropriate  (David Fetter <david@fetter.org>)
Список pgsql-hackers
On Tue, 2021-06-15 at 04:59 +0000, David Fetter wrote:
> I thought about using the dual, but wasn't sure how many languages
> support it.

I think none of the languages for which we cater uses the dual.
But I guess you were joking, since the tests are not translated ...

>      if (fail_count == 0 && fail_ignore_count == 0)
>          snprintf(buf, sizeof(buf),
> -                 _(" All %d tests passed. "),
> -                 success_count);
> +                 _(" %s %d test%s passed. "),
> +                 success_count == 1 ? "The" : "All",
> +                 success_count,
> +                 success_count == 1 ? "" : "s");

... and that wouldn't be translatable.

Yours,
Laurenz Albe




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

Предыдущее
От: Ajin Cherian
Дата:
Сообщение: Re: Decoding of two-phase xacts missing from CREATE_REPLICATION_SLOT command
Следующее
От: Fabien COELHO
Дата:
Сообщение: Re: Error on pgbench logs