desktop-dart / duration

Utilities to make working with 'Duration's easier.
BSD 3-Clause "New" or "Revised" License
53 stars 47 forks source link

Add Czech locale #48

Closed comatory closed 3 years ago

comatory commented 3 years ago

I'm adding support for Czech language.

I hope you don't mind creating enum CzechDurationLocalePluralization as using switch statement feels more natural to me.

On the other hand, this enum will be available to consumers because it's public API of library now, if it's a problem I can just replace it with if-else statements instead.

comatory commented 3 years ago

@tejainece Could you have a look at this and ideally merge & release it?

Maybe this project is not maintained anymore? Let me know and I'll just use my fork in my project but I'd prefer to use upstream version if possible.

tejainece commented 3 years ago

Published as 3.0.7. Thanks for the PR!