diff options
| author | Jules Aguillon | 2022-11-26 18:11:28 +0100 |
|---|---|---|
| committer | Jules Aguillon | 2022-11-26 18:11:28 +0100 |
| commit | ebdacbc2b2ac48e137dd9a1409aa334512e2fb62 (patch) | |
| tree | 549cfd7acf3fbe7730bc5de1d4e1e40117239808 /.github/workflows | |
| parent | 122a9c23d01eaf8c65d7c72f5976049d25c3093a (diff) | |
| download | unexpected-keyboard-ebdacbc2b2ac48e137dd9a1409aa334512e2fb62.tar.gz unexpected-keyboard-ebdacbc2b2ac48e137dd9a1409aa334512e2fb62.zip | |
Make sure translation are in sync
The new script makes sure that strings files don't contain obsolete
strings but also ease the job of contributors by adding missing
translations as comments.
A Github Action ensures that translations stay in sync over time.
Diffstat (limited to '.github/workflows')
| -rw-r--r-- | .github/workflows/check-translations.yml | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/.github/workflows/check-translations.yml b/.github/workflows/check-translations.yml new file mode 100644 index 0000000..82d87c6 --- /dev/null +++ b/.github/workflows/check-translations.yml @@ -0,0 +1,16 @@ +name: Check translations + +on: + workflow_dispatch: + push: + pull_request: + +jobs: + check-translations: + runs-on: ubuntu-latest + steps: + - name: Checkout repo + uses: actions/checkout@v3 + - run: python3 sync_translations.py + - name: Check that strings files are uptodate, run python3 sync_translations.py otherwise + run: git diff --exit-code |
