Croatian plural form in PoEdit

Albert Astals Cid aacid at kde.org
Sun Jan 8 22:48:41 GMT 2023


El diumenge, 8 de gener de 2023, a les 14:43:01 (CET), Johnny Jazeix va 
escriure:
> 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/598495175eb415d950dc9cd2759dc86bed27b
> 7d1/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?

If both forms are equivalent (I have not checked, trusting you on that), this 
is not an issue, scripty will just change it to the variant we use and that's 
it.

Cheers,
  Albert

> 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






More information about the kde-i18n-doc mailing list