Re: Improving the ngettext() patch

Поиск
Список
Период
Сортировка
От pg@thetdh.com
Тема Re: Improving the ngettext() patch
Дата
Msg-id W41287001165161244207266@webmail57
обсуждение исходный текст
Ответ на Improving the ngettext() patch  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-hackers
(Grrr, declension, not declination.)<br /><br />> "Plural-Forms: nplurals=3; plural=n%10==1 && n%100!=11 ? 0
:n%10>=2 && n%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2;\n"<br /><br />Thanks.  The above
(ignoringbackslash-EOL) is the form recommended for Russian (inter alia(s)) in the Texinfo manual for gettext ("info
gettext"). FWIW this might be an alternative:<br /><br />"Plural-Forms: nplurals=3; plural=((n - 1)  % 10) >= (5-1)
||(((n - 1) % 100) <= (14-1) && ((n - 1) % 100) >= (11 - 1)) ? 2 : ((n - 1) % 10) == (1 - 1) ? 0 :
1;\n"<br/><br />David Hudson<br /><br /> 

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

Предыдущее
От: "Kolb, Harald (NSN - DE/Munich)"
Дата:
Сообщение: Re: postmaster recovery and automatic restart suppression
Следующее
От: Tom Lane
Дата:
Сообщение: Re: PostgreSQL Developer meeting minutes up