WeblateOrg/language-data

CLDR plural formula for Portuguese

Closed this issue · 1 comments

nijel commented

Describe the issue

CLDR plural formula for pt should match pt_PT and not pt_BR as it does now.

I already tried

  • I've read and searched the documentation.
  • I've searched for similar filed issues in this repository.

Steps to reproduce the behavior

language-data/cldr.csv

Lines 160 to 162 in 00deaac

pt,Portuguese,3,(n == 0 || n == 1) ? 0 : ((n != 0 && n % 1000000 == 0) ? 1 : 2)
pt_BR,Brazilian Portuguese,3,(n == 0 || n == 1) ? 0 : ((n != 0 && n % 1000000 == 0) ? 1 : 2)
pt_PT,European Portuguese,3,(n == 1) ? 0 : ((n != 0 && n % 1000000 == 0) ? 1 : 2)

Expected behavior

No response

Screenshots

No response

Exception traceback

No response

Additional context

No response

Thank you for your report; the issue you have reported has just been fixed.

  • In case you see a problem with the fix, please comment on this issue.
  • In case you see a similar problem, please open a separate issue.
  • If you are happy with the outcome, don’t hesitate to support Weblate by making a donation.