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

CLDR plural formula for Portuguese #1217

Closed
2 tasks done
nijel opened this issue Jan 28, 2024 · 1 comment
Closed
2 tasks done

CLDR plural formula for Portuguese #1217

nijel opened this issue Jan 28, 2024 · 1 comment
Assignees
Labels
bug Something is broken.

Comments

@nijel
Copy link
Member

nijel commented Jan 28, 2024

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

@nijel nijel added the bug Something is broken. label Jan 28, 2024
@nijel nijel self-assigned this Jan 29, 2024
@nijel nijel closed this as completed in 238d3ca Jan 29, 2024
Copy link

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something is broken.
Projects
None yet
Development

No branches or pull requests

1 participant