pontoon
pontoon copied to clipboard
Change Plural Detection logic
This issue was created automatically by a script.
Bug 1581809
Bug Reporter: @mathjazz
We should change the way we detect strings as pluralized in isPluralExpression().
Specifically, we should:
- Require at least one variant key to be a CLDR plural category.
- Stop recognizing
otheras the CLDR plural category (bug 1385863).
Background: https://github.com/mozilla/pontoon/pull/1379#issuecomment-531228523
See also:
- #2176
Note that the change needs to happen on both, backend and frontend.