Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(international-types): plural tags #80

Merged
merged 1 commit into from
Jul 29, 2023

Conversation

QuiiBz
Copy link
Owner

@QuiiBz QuiiBz commented Jul 29, 2023

Fix the allowed count values for plural tags to match the spec:

  • zero allows 0
  • one autocompletes 1, 21, 31, 41... but allows any number
  • two autocompletes 2, 22, 32, 42... but allows any number
  • few, many and other allow any number

See https://cldr.unicode.org/index/cldr-spec/plural-rules, https://www.unicode.org/cldr/charts/43/supplemental/language_plural_rules.html

@QuiiBz QuiiBz added the bug Something isn't working label Jul 29, 2023
@QuiiBz QuiiBz merged commit 869e842 into main Jul 29, 2023
3 checks passed
@QuiiBz QuiiBz deleted the fix/international-types-plural-tags branch July 29, 2023 06:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant