ocpsoft / prettytime

Social Style Date and Time Formatting for Java
http://ocpsoft.org/prettytime/
Apache License 2.0
1.29k stars 253 forks source link

Added support for plural forms in Polish language #223

Closed tswistak closed 3 years ago

tswistak commented 3 years ago

Hi,

I've added support for plural forms in Polish language, because displaying always alternative forms looked wrong. Code is based on the one from Russian locale, since our languages are very similar. I've also expanded some abbreviations, because I don't know why they were originally used, maybe to cover the wrong plural forms, and they also weren't looking nice. To ensure that everything's working fine, I've also added some unit tests (also similar to Russian ones).

lincolnthree commented 3 years ago

Thank you @tswistak ! This is a great PR. I will get it merged and released ASAP!