Closed msfstef closed 3 years ago
Thanks for the contribution @msfstef . Seems reasonable. I have a couple of comments and then we'll get this merged.
zero
optionFixed conditional and added some test cases.
I currently use preact-X in my project, but figured I'd make this request to master first. Should I subsequently make a PR to preact-X, or do you update both in sync?
Thank you
This looks great. It should be a pretty straight merge to the preact-x branch. I'll take care of that and get a release out for both branches. Thanks for the commit!
I have been using Phrase to manage my app translations and they seem to use the CLDR Plural Rules, which have "zero", "one" and "other" as the plural form keys.
It would be nice to include these as well as it doesn't affect the rest of the library and only broadens the support with little overhead.