|
| From: | Bernard Banko |
| Subject: | [bug-gettext] [bug #45591] Slovenian plural string to be changed in documentation |
| Date: | Thu, 25 Jan 2018 13:15:11 -0500 (EST) |
| User-agent: | Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/57.0.2987.133 Safari/537.36 |
Follow-up Comment #2, bug #45591 (project gettext):
The topic reappears on other opensource projects because they refere to GNU
gettext documentation. See https://github.com/translate/l10n-guide/issues/22
We need to change from:
The header entry would look like this:
Plural-Forms: nplurals=4; \
plural=n%100==1 ? 0 : n%100==2 ? 1 : n%100==3 || n%100==4 ? 2 : 3;
to this:
The header entry could look like this:
Plural-Forms: nplurals=4; \
plural=n%100==1 ? 0 : n%100==2 ? 1 : n%100==3 || n%100==4 ? 2 : 3;
But it is obsolete. The recomended form is:
Plural-Forms: nplurals=4; \
plural=n%100==1 ? 1 : n%100==2 ? 2 : n%100==3 || n%100==4 ? 3 : 0;
This form is more intuitive for the translators because msgid index matches to
the numeral:
msgid "%d file in directory %s\n"
msgid_plural "%d files in directory %s\n"
msgstr[0] "v imeniku %2$s je %1$d datotek\n"
msgstr[1] "v imeniku %2$s je %1$d datoteka\n"
msgstr[2] "v imeniku %2$s sta %1$d datoteki\n"
msgstr[3] "v imeniku %2$s so %1$d datoteke\n"
_______________________________________________________
Reply to this item at:
<http://savannah.gnu.org/bugs/?45591>
_______________________________________________
Message sent via/by Savannah
http://savannah.gnu.org/
| [Prev in Thread] | Current Thread | [Next in Thread] |