Manage localisation issues from CI

This commit is contained in:
Patrick Nicolas
2025-08-10 15:15:13 +02:00
parent 869911fcd5
commit 810c9bd2fa
2 changed files with 36 additions and 5 deletions
+8 -4
View File
@@ -9,10 +9,14 @@ jobs:
- uses: actions/checkout@v4
- name: Install dependencies
run: sudo apt-get update && sudo apt-get install gettext qt6-base-dev qt6-tools-dev qt6-l10n-tools qtchooser python3-polib
run: |
sudo apt-get update && sudo apt-get install gettext
pip install polib PyGithub
- name: Check that .po files are up to date
run: |
qtchooser -install qt6 $(which qmake6)
export QT_SELECT=qt6
tools/check_po.py
if [[ "${{github.ref}}" == 'refs/heads/master' ]] ; then
tools/check_po.py --manage-issues --github-repository "${{ github.repository }}" --github-token "${{ github.token }}"
else
tools/check_po.py
fi