Skip to content

Fix localazy import #2832

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

Merged
merged 2 commits into from
May 13, 2024
Merged

Fix localazy import #2832

merged 2 commits into from
May 13, 2024

Conversation

bmarty
Copy link
Member

@bmarty bmarty commented May 13, 2024

Latest Localazy sync was failing because of Python version not supporting match structure. The first commit fixes this. I have updated the version every where Python is used, hopefully there will be no bad side effect on the other GA.

The second commit ensure that the data for simplified Chinese are correct. I'll let the next Localazy sync run the script and update the generated file, to validate it's working as expected (it's OK locally).

@bmarty bmarty requested a review from a team as a code owner May 13, 2024 10:25
@bmarty bmarty requested review from ganfra and removed request for a team May 13, 2024 10:25
@@ -27,6 +27,8 @@ def normalizeForResourceConfigurations(locale):
return "in"
case "zh_TW#Hant":
return "zh-rTW"
case "zh#Hans":
return "zh-rCN"
Copy link
Member Author

@bmarty bmarty May 13, 2024

Choose a reason for hiding this comment

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

Localazy will import string for simplified Chinese in the folders values-zh, and not values-zh-rCN. I am not sure this need to match the value here.

Copy link

Quality Gate Passed Quality Gate passed

Issues
0 New issues
0 Accepted issues

Measures
0 Security Hotspots
No data about Coverage
No data about Duplication

See analysis details on SonarCloud

Copy link
Contributor

📱 Scan the QR code below to install the build (arm64 only) for this PR.
QR code
If you can't scan the QR code you can install the build via this link: https://i.diawi.com/JmsAke

Copy link

codecov bot commented May 13, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 73.95%. Comparing base (1f4b2d3) to head (9a8519a).

Additional details and impacted files
@@           Coverage Diff            @@
##           develop    #2832   +/-   ##
========================================
  Coverage    73.95%   73.95%           
========================================
  Files         1530     1530           
  Lines        36541    36541           
  Branches      7074     7074           
========================================
  Hits         27025    27025           
  Misses        5811     5811           
  Partials      3705     3705           

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

@bmarty bmarty merged commit 2a14ad8 into develop May 13, 2024
17 checks passed
@bmarty bmarty deleted the feature/bma/fixLocalazyImport branch May 13, 2024 12:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants