mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-06-10 08:14:47 -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
|
||||
|
||||
# print version
|
||||
if ! lupdate -version; then
|
||||
if ! /usr/lib/qt6/bin/lupdate -version; then
|
||||
echo "failed to run lupdate" >&2
|
||||
exit 4;
|
||||
fi
|
||||
|
|
@ -39,7 +39,7 @@ fi
|
|||
# run lupdate, duplicating the output in stderr and saving it
|
||||
# for convenience we ignore that $DIRS will be split on spaces
|
||||
# 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
|
||||
exit 4;
|
||||
fi
|
||||
|
|
|
|||
1
.github/workflows/translations-push.yml
vendored
1
.github/workflows/translations-push.yml
vendored
|
|
@ -27,7 +27,6 @@ jobs:
|
|||
run: |
|
||||
sudo apt-get update
|
||||
sudo apt-get install -y --no-install-recommends qt6-l10n-tools
|
||||
lupdate -version
|
||||
|
||||
- name: Update Cockatrice translation source
|
||||
id: cockatrice
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue