Skip to content

Commit

Permalink
cldr: define pt as pt_PT
Browse files Browse the repository at this point in the history
This is consistent with what we do in Weblate, but CLDR has chosen to
prefer definition from pt_BR here.

Fixes #1217
  • Loading branch information
nijel committed Jan 29, 2024
1 parent d4ada97 commit 238d3ca
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion cldr.csv
Original file line number Diff line number Diff line change
Expand Up @@ -158,7 +158,7 @@ pcm,Nigerian Pidgin,2,n > 1
pl,Polish,3,(n == 1) ? 0 : ((n % 10 >= 2 && n % 10 <= 4 && (n % 100 < 12 || n % 100 > 14)) ? 1 : 2)
prg,Prussian,3,(n % 10 == 0 || n % 100 >= 11 && n % 100 <= 19) ? 0 : ((n % 10 == 1 && n % 100 != 11) ? 1 : 2)
ps,Pashto,2,n != 1
pt,Portuguese,3,(n == 0 || n == 1) ? 0 : ((n != 0 && n % 1000000 == 0) ? 1 : 2)
pt,Portuguese,3,(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)
rm,Romansh,2,n != 1
Expand Down
1 change: 1 addition & 0 deletions scripts/export-cldr
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ MAPPINGS = {
"hi_Latn": "hi",
"nl_BE": "nl",
"pt_BR": "pt",
"pt": "pt_PT",
"ro_MD": "ro",
"sr_ME": "sr",
"sw_CD": "sw",
Expand Down

0 comments on commit 238d3ca

Please sign in to comment.