mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-07-02 19:43:55 -07:00
lupdate path
This commit is contained in:
parent
a034c2e0ad
commit
c058642269
2 changed files with 2 additions and 3 deletions
|
|
@ -31,7 +31,7 @@ if [[ ! -e $FILE ]]; then
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# print version
|
# print version
|
||||||
if ! lupdate -version; then
|
if ! /usr/lib/qt6/bin/lupdate -version; then
|
||||||
echo "failed to run lupdate" >&2
|
echo "failed to run lupdate" >&2
|
||||||
exit 4;
|
exit 4;
|
||||||
fi
|
fi
|
||||||
|
|
@ -39,7 +39,7 @@ fi
|
||||||
# run lupdate, duplicating the output in stderr and saving it
|
# run lupdate, duplicating the output in stderr and saving it
|
||||||
# for convenience we ignore that $DIRS will be split on spaces
|
# for convenience we ignore that $DIRS will be split on spaces
|
||||||
# shellcheck disable=SC2086
|
# shellcheck disable=SC2086
|
||||||
if ! got="$(lupdate $DIRS -ts "$FILE" | tee /dev/stderr)"; then
|
if ! got="$(/usr/lib/qt6/bin/lupdate $DIRS -ts "$FILE" | tee /dev/stderr)"; then
|
||||||
echo "failed to update $FILE with $DIRS" >&2
|
echo "failed to update $FILE with $DIRS" >&2
|
||||||
exit 4;
|
exit 4;
|
||||||
fi
|
fi
|
||||||
|
|
|
||||||
1
.github/workflows/translations-push.yml
vendored
1
.github/workflows/translations-push.yml
vendored
|
|
@ -27,7 +27,6 @@ jobs:
|
||||||
run: |
|
run: |
|
||||||
sudo apt-get update
|
sudo apt-get update
|
||||||
sudo apt-get install -y --no-install-recommends qt6-l10n-tools
|
sudo apt-get install -y --no-install-recommends qt6-l10n-tools
|
||||||
lupdate -version
|
|
||||||
|
|
||||||
- name: Update Cockatrice translation source
|
- name: Update Cockatrice translation source
|
||||||
id: cockatrice
|
id: cockatrice
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue