mirror of
https://github.com/libretro/RetroArch
synced 2025-04-15 23:42:30 +00:00
Fix Crowdin Daily GitHub Action (#13187)
* Update crowdin-daily.yml * Update json2h.py
This commit is contained in:
parent
8af0c2755d
commit
15321b2588
1
.github/workflows/crowdin-daily.yml
vendored
1
.github/workflows/crowdin-daily.yml
vendored
@ -24,6 +24,7 @@ jobs:
|
||||
CROWDIN_API_KEY: ${{ secrets.CROWDIN_API_KEY }}
|
||||
run: |
|
||||
cd intl
|
||||
python3 -m pip install requests
|
||||
python3 crowdin_sync.py "$CROWDIN_API_KEY"
|
||||
git config user.name github-actions
|
||||
git config user.email github-actions@github.com
|
||||
|
@ -23,6 +23,8 @@ p = re.compile(
|
||||
|
||||
|
||||
def c89_cut(old_str):
|
||||
if old_str.endswith('[...]')
|
||||
return old_str
|
||||
new_str = ''
|
||||
byte_count = 0
|
||||
for c in old_str:
|
||||
|
Loading…
x
Reference in New Issue
Block a user