pontoon icon indicating copy to clipboard operation
pontoon copied to clipboard

Change Plural Detection logic

Open bugzilla-to-github opened this issue 6 years ago • 2 comments

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:

  1. Require at least one variant key to be a CLDR plural category.
  2. Stop recognizing other as the CLDR plural category (bug 1385863).

Background: https://github.com/mozilla/pontoon/pull/1379#issuecomment-531228523

bugzilla-to-github avatar Sep 16 '19 22:09 bugzilla-to-github

See also:

  • #2176

mathjazz avatar Nov 10 '21 21:11 mathjazz

Note that the change needs to happen on both, backend and frontend.

mathjazz avatar Dec 14 '24 13:12 mathjazz