Skip to content

Commit 2a14ad8

Browse files
authored
Merge pull request #2832 from element-hq/feature/bma/fixLocalazyImport
Fix localazy import
2 parents c3ad42f + 9a8519a commit 2a14ad8

File tree

5 files changed

+12
-8
lines changed

5 files changed

+12
-8
lines changed

.github/workflows/generate_github_pages.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,10 +22,10 @@ jobs:
2222
uses: gradle/actions/setup-gradle@v3
2323
with:
2424
cache-read-only: ${{ github.ref != 'refs/heads/develop' }}
25-
- name: Set up Python 3.9
25+
- name: Set up Python 3.12
2626
uses: actions/setup-python@v5
2727
with:
28-
python-version: 3.9
28+
python-version: 3.12
2929
- name: Run World screenshots generation script
3030
run: |
3131
./tools/test/generateWorldScreenshots.py

.github/workflows/quality.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,10 +26,10 @@ jobs:
2626
runs-on: ubuntu-latest
2727
steps:
2828
- uses: actions/checkout@v4
29-
- name: Set up Python 3.9
29+
- name: Set up Python 3.12
3030
uses: actions/setup-python@v5
3131
with:
32-
python-version: 3.9
32+
python-version: 3.12
3333
- name: Search for invalid screenshot files
3434
run: ./tools/test/checkInvalidScreenshots.py
3535

.github/workflows/sync-localazy.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,10 +21,10 @@ jobs:
2121
uses: gradle/actions/setup-gradle@v3
2222
with:
2323
cache-read-only: ${{ github.ref != 'refs/heads/develop' }}
24-
- name: Set up Python 3.9
24+
- name: Set up Python 3.12
2525
uses: actions/setup-python@v5
2626
with:
27-
python-version: 3.9
27+
python-version: 3.12
2828
- name: Setup Localazy
2929
run: |
3030
curl -sS https://dist.localazy.com/debian/pubkey.gpg | sudo gpg --dearmor -o /etc/apt/trusted.gpg.d/localazy.gpg

.github/workflows/sync-sas-strings.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,10 +13,10 @@ jobs:
1313
# No concurrency required, runs every time on a schedule.
1414
steps:
1515
- uses: actions/checkout@v4
16-
- name: Set up Python 3.9
16+
- name: Set up Python 3.12
1717
uses: actions/setup-python@v5
1818
with:
19-
python-version: 3.9
19+
python-version: 3.12
2020
- name: Install Prerequisite dependencies
2121
run: |
2222
pip install requests

tools/localazy/importSupportedLocalesFromLocalazy.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,8 @@ def normalizeForResourceConfigurations(locale):
2727
return "in"
2828
case "zh_TW#Hant":
2929
return "zh-rTW"
30+
case "zh#Hans":
31+
return "zh-rCN"
3032
case _:
3133
return locale
3234

@@ -37,6 +39,8 @@ def normalizeForLocalConfig(locale):
3739
return "in"
3840
case "zh_TW#Hant":
3941
return "zh-TW"
42+
case "zh#Hans":
43+
return "zh-CN"
4044
case _:
4145
return locale
4246

0 commit comments

Comments
 (0)