[Bot] Update i18n #13906
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Translations | |
on: | |
push: | |
branches: | |
- main | |
- "releases/**" | |
pull_request: | |
branches: | |
- main | |
- "releases/**" | |
workflow_dispatch: | |
concurrency: | |
group: ${{ github.workflow }}-${{ github.ref }} | |
cancel-in-progress: true | |
jobs: | |
translations: | |
name: Translations | |
runs-on: ubuntu-22.04 | |
env: | |
QTVERSION: 6.6.3 | |
steps: | |
- name: Clone repository | |
uses: actions/checkout@v4 | |
with: | |
submodules: "true" | |
- name: Install Linux packages | |
run: | | |
sudo apt-get update | |
sudo apt-get install -y $(./scripts/linux/getdeps.py -a linux/debian/control) | |
- uses: actions/setup-python@v5 | |
with: | |
python-version: "3.9" | |
cache: "pip" | |
- run: pip install -r requirements.txt | |
- name: Generating translations | |
run: | | |
./scripts/utils/generate_ts.sh -a | |
- name: Uploading | |
uses: actions/upload-artifact@v4 | |
with: | |
name: Translation files | |
path: | | |
translations.ts | |
addon_ts/*.ts |