Add annotation tests for translations #275
Workflow file for this run
This file contains hidden or 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: Verify translations | |
| on: | |
| workflow_dispatch: | |
| pull_request: | |
| paths: | |
| - 'src/translation/wininstaller/**' | |
| - 'tools/check-wininstaller-translations.sh' | |
| - '.github/workflows/translation-check.yml' | |
| push: | |
| paths: | |
| - 'src/translation/wininstaller/**' | |
| - 'src/translation/*.ts' | |
| - 'tools/check-wininstaller-translations.sh' | |
| - '.github/workflows/translation-check.yml' | |
| jobs: | |
| translation-check: | |
| name: Verify translation | |
| permissions: | |
| contents: read | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout Code | |
| uses: actions/checkout@v6 | |
| - name: "Check Windows installer translations" | |
| run: ./tools/check-wininstaller-translations.sh | |
| - name: "Check application translations" | |
| run: pip install PyGithub && ./tools/check-translations.py | |
| #- name: "Check for duplicate hotkeys (will not fail)" | |
| # run: sudo apt install libxml-simple-perl && cd src/translation/ && perl ./tools/checkkeys.pl |