* Guillem Jover <guil...@debian.org>, 2013-03-25, 04:52:
Given the above, then I think a solution could be to accept both plural-forms as valid (because they are a matter of translation-style).

In i18nspector 0.8.2 (just released) it's possible to declare more than one correct Plural-Forms. I added such declarations for Belarusian, Bosnian, Croatian, Hungarian, Russian, Serbian, Turkish and Ukrainian.

And ideally, i18nslator would check that if the condensed form is used (nplurals=3), the msgstr matching n==1 contains the same amount of format directives as the msgstr matching f.ex. n==2, to detect the problematic case you brought up before, and to not trip on strings with more than one format directive, for example:

msgstr[0] "numeral-or-article text-0 %d"
msgstr[1] "%d text-1 %d"
msgstr[2] "%d text-2 %d"

This would then trigger a warning.

This is a good idea, but it's not implemented yet.

--
Jakub Wilk


--
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to