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

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

echo "using $lrelease"
"$lrelease" translations/*.ts