File: update-translation-files

package info (click to toggle)
dustrac 2.2.0-1
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 28,396 kB
  • sloc: cpp: 43,805; ansic: 30,075; sh: 121; xml: 79; python: 33; makefile: 11
file content (15 lines) | stat: -rwxr-xr-x 342 bytes parent folder | download | duplicates (5)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#!/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/dustrac-game_${LANG}.ts
    ${LUPDATE} src/editor/*.cpp -ts src/editor/translations/dustrac-editor_${LANG}.ts
done

echo "Done."