Croatian plural form in PoEdit

Johnny Jazeix jazeix at gmail.com
Sun Jan 8 13:43:01 GMT 2023


Hi,

we have a contributor that used PoEdit to provide new translation in
Croatian.
However, they are using PoEdit and the default plural form is (n%10==1 &&
n%100!=11 ? 0 : n%10>=2 && n%10<=4 && (n%100<12 || n%100>14) ? 1 : 2)  (
https://github.com/vslavik/poedit/blob/598495175eb415d950dc9cd2759dc86bed27b7d1/src/language_impl_plurals.h#L61
)

In KDE, the plural form for Croatian is (n%10==1 && n%100!=11 ? 0 : n%10>=2
&& n%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2)

The issue was raised in https://github.com/vslavik/poedit/issues/596 and
the conclusion was that both forms are equivalent.
When I commited the previous file, scripty automatically changed the plural
form to the KDE one:
https://websvn.kde.org/trunk/l10n-kf5/hr/messages/gcompris/gcompris_qt.po?r1=1641122&r2=1641125

Is it an issue or only a nitpick as both are the same and scripty will
"fix" it?
Also, it only happens for new files. If I have a Croatian file with the
plural form used by KDE, and I update it, PoEdit do not change it on saving.

Cheers,

Johnny
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-i18n-doc/attachments/20230108/106a39e0/attachment.htm>


More information about the kde-i18n-doc mailing list