Debian Codegraph @

scripts/update-translation-files

raw symbols SCIP
1 #!/bin/bash
2
3 LUPDATE=lupdate
4 if ! which ${LUPDATE}; then
5 echo "${LUPDATE} not found."
6 exit 1
7 fi
8
9 for LANG in cs de fi fr it; do
10 ${LUPDATE} src/game/*.cpp src/game/menu/*.cpp -ts src/game/translations/dustrac-game_${LANG}.ts
11 ${LUPDATE} src/editor/*.cpp -ts src/editor/translations/dustrac-editor_${LANG}.ts
12 done
13
14 echo "Done."
15