diff --git a/.github/workflows/crowdin-daily.yml b/.github/workflows/crowdin-daily.yml index 2b69e8773d..13d6cea46c 100644 --- a/.github/workflows/crowdin-daily.yml +++ b/.github/workflows/crowdin-daily.yml @@ -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 diff --git a/intl/json2h.py b/intl/json2h.py index b5d3465b17..8c11e34e1c 100755 --- a/intl/json2h.py +++ b/intl/json2h.py @@ -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: