aboutsummaryrefslogtreecommitdiff
path: root/utils/translations/update-translations.sh
blob: 3f093be936f485d11a02b98d77eee79c4474d0f4 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#!/bin/sh

lupdate=`which lupdate 2> /dev/null`
if test -z "$lupdate"
then
  lupdate=`which lupdate-qt4 2> /dev/null`
fi
if test -z "$lupdate"
then
  echo "lupdate not found"
  exit 1
fi

echo "using $lupdate"
"$lupdate" `find src -name \*.cpp` -ts translations/*.ts -no-obsolete