problem with plural-forms

Поиск
Список
Период
Сортировка
От Zdenek Kotala
Тема problem with plural-forms
Дата
Msg-id 1243267884.1360.121.camel@localhost
обсуждение исходный текст
Ответы Re: problem with plural-forms  (Peter Eisentraut <peter_e@gmx.net>)
Re: problem with plural-forms  (Peter Eisentraut <peter_e@gmx.net>)
Список pgsql-hackers
I tried to run msgfmt -v ... on solaris and I got following error:

Processing file "psql-cs.po"...
GNU PO file found.
Generating the MO file in the GNU MO format.
Processing file "psql-cs.po"...
Lines 1311, 1312 (psql-cs.po): incompatible printf-format.    0 format specifier(s) in "msgid", but 1 format
specifier(s)in "msgstr".
 
...
...

Problem is in:

#: print.c:2351
#, c-format
msgid "(1 row)"
msgid_plural "(%lu rows)"
msgstr[0] "(%lu řádka)"
msgstr[1] "(%lu řádky)"
msgstr[2] "(%lu řádek)"


The problem here is (1 row) instead of (%lu row). When I run msgfmt
without -v everything works fine but I think we should fixed it (there
are more occurrences of this issue).
    Zdenek



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

Предыдущее
От: Andrew Dunstan
Дата:
Сообщение: Re: [PATCH] cleanup hashindex for pg_migrator hashindex compat mode (for 8.4)
Следующее
От: Tom Lane
Дата:
Сообщение: Re: Warnings in compile