Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'master' into remember-registration-details
- Loading branch information
Showing
11 changed files
with
480 additions
and
292 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
#!/usr/bin/env bash | ||
|
||
# Run from .github/workflows/report-missing-client-translations.yml | ||
|
||
set -euxo pipefail | ||
|
||
PYTHON=${HOME}/venv/bin/python | ||
${PYTHON} ${GITHUB_WORKSPACE}/tablet_qt/tools/build_client_translations.py all | ||
${PYTHON} ${GITHUB_WORKSPACE}/tablet_qt/tools/build_client_translations.py missing |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,46 @@ | ||
--- | ||
# yamllint disable rule:line-length | ||
name: Report missing client translations | ||
# yamllint disable-line rule:truthy | ||
on: | ||
push: | ||
paths: | ||
- .github/scripts/python_setup.sh | ||
- .github/scripts/report_missing_client_translations.sh | ||
- .github/workflows/report-missing-client-translations.yml | ||
- 'tablet_qt/**.cpp' | ||
- 'tablet_qt/**.h' | ||
- tablet_qt/tools/build_client_translations.py | ||
- tablet_qt/translations/*.ts | ||
|
||
env: | ||
# Keep in sync with tablet_qt/qt_version.txt. We check this further down. | ||
QT_VERSION: 6.5.3 | ||
jobs: | ||
report-missing-client-translations: | ||
runs-on: ubuntu-22.04 | ||
steps: | ||
- uses: actions/checkout@v3 | ||
- name: Qt version check | ||
run: | | ||
set -euxo pipefail | ||
test "${{ env.QT_VERSION }}" == "$(cat ${GITHUB_WORKSPACE}/tablet_qt/qt_version.txt)" | ||
- name: Install Qt | ||
uses: jurplel/install-qt-action@v3 | ||
with: | ||
aqtversion: "==3.1.*" | ||
version: ${{ env.QT_VERSION }} | ||
host: linux | ||
target: desktop | ||
arch: gcc_64 | ||
archives: "qtbase qtdeclarative qttools qttranslations icu" | ||
- uses: actions/setup-python@v4 | ||
with: | ||
python-version: "3.10" | ||
- name: Report missing client translations | ||
run: | | ||
set -euxo pipefail | ||
ls ${Qt6_DIR}/lib | ||
${GITHUB_WORKSPACE}/.github/scripts/python_setup.sh | ||
${GITHUB_WORKSPACE}/.github/scripts/report_missing_client_translations.sh |
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
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
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
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
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
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
Oops, something went wrong.