mirror of
https://github.com/juzzlin/Heimer.git
synced 2025-05-09 12:53:20 +08:00
16 lines
344 B
Bash
Executable File
16 lines
344 B
Bash
Executable File
#!/bin/bash
|
|
|
|
LUPDATE=lupdate
|
|
if ! which ${LUPDATE}; then
|
|
echo "${LUPDATE} not found."
|
|
exit 1
|
|
fi
|
|
|
|
for LANG in cs de fi fr it; do
|
|
${LUPDATE} src/game/*.cpp src/game/menu/*.cpp -ts src/game/translations/dementia-game_${LANG}.ts
|
|
${LUPDATE} src/editor/*.cpp -ts src/editor/translations/dementia-editor_${LANG}.ts
|
|
done
|
|
|
|
echo "Done."
|
|
|