Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Allow falling back to modifier-less locale data #1104

Merged
merged 1 commit into from
Jul 25, 2024
Merged

Allow falling back to modifier-less locale data #1104

merged 1 commit into from
Jul 25, 2024

Conversation

akx
Copy link
Member

@akx akx commented Jul 18, 2024

IOW, e.g. the data loaded by ja_JP@mod is ja_JP in the absence of data that would have the modifier present. We currently have no locale files that would have modifiers.

Fixes #1089.
Follows up on #947.

… missing

IOW, e.g. the data loaded by `ja_JP@mod` is `ja_JP` in the absence of data that would have the modifier present.

Fixes #1089
Copy link

codecov bot commented Jul 18, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 91.10%. Comparing base (2f87363) to head (439faab).

Additional details and impacted files
@@           Coverage Diff           @@
##           master    #1104   +/-   ##
=======================================
  Coverage   91.09%   91.10%           
=======================================
  Files          26       26           
  Lines        4470     4473    +3     
=======================================
+ Hits         4072     4075    +3     
  Misses        398      398           
Flag Coverage Δ
macos-12-3.10 89.91% <100.00%> (+<0.01%) ⬆️
macos-12-3.11 89.91% <100.00%> (+<0.01%) ⬆️
macos-12-3.12 90.20% <100.00%> (+<0.01%) ⬆️
macos-12-3.8 89.84% <100.00%> (+<0.01%) ⬆️
macos-12-3.9 89.91% <100.00%> (+<0.01%) ⬆️
macos-12-pypy3.10 89.91% <100.00%> (+<0.01%) ⬆️
ubuntu-22.04-3.10 89.93% <100.00%> (+<0.01%) ⬆️
ubuntu-22.04-3.11 89.93% <100.00%> (+<0.01%) ⬆️
ubuntu-22.04-3.12 90.23% <100.00%> (+<0.01%) ⬆️
ubuntu-22.04-3.8 89.86% <100.00%> (+<0.01%) ⬆️
ubuntu-22.04-3.9 89.93% <100.00%> (+<0.01%) ⬆️
ubuntu-22.04-pypy3.10 89.93% <100.00%> (+<0.01%) ⬆️
windows-2022-3.10 90.28% <100.00%> (+<0.01%) ⬆️
windows-2022-3.11 90.28% <100.00%> (+<0.01%) ⬆️
windows-2022-3.12 90.57% <100.00%> (+<0.01%) ⬆️
windows-2022-3.8 90.21% <100.00%> (+<0.01%) ⬆️
windows-2022-3.9 90.27% <100.00%> (+<0.01%) ⬆️
windows-2022-pypy3.10 90.28% <100.00%> (+<0.01%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@akx akx requested a review from tomasr8 July 23, 2024 16:29
Copy link
Member

@tomasr8 tomasr8 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Tested locally and works as expected :)

@akx akx merged commit 42d793c into master Jul 25, 2024
23 checks passed
# for free to join this conversation on GitHub. Already have an account? # to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Locale Modifiers Not Validated Before Loading Locale Data File
2 participants