| 1 | #!/bin/sh |
| 2 | |
| 3 | lupdate=`which lupdate 2> /dev/null` |
| 4 | if test -z "$lupdate" |
| 5 | then |
| 6 | lupdate=`which lupdate-qt4 2> /dev/null` |
| 7 | fi |
| 8 | if test -z "$lupdate" |
| 9 | then |
| 10 | echo "lupdate not found" |
| 11 | exit 1 |
| 12 | fi |
| 13 | |
| 14 | echo "using $lupdate" |
| 15 | "$lupdate" `find src -name \*.cpp` -ts translations/*.ts -no-obsolete |
| 16 |