blob: 1cfbf52041f97628c8346086686de99c4a2af61a (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
|
#!/bin/sh
#==========================
#This is just a simple script to go through the source tree and ensure that all the
# project translation files are up-to-date prior to committing to Git
#==========================
# NOTE: This does NOT need to be run prior to building Lumina - this is a developer tool only
#==========================
LUPDATE="/usr/local/lib/qt5/bin/lupdate"
for i in `find . | grep 'pro'`
do
echo "Checking pro file: ${i}"
if [ -z `basename ${i} | grep "lumina-"` ] ; then continue; fi #Not a top-level project file
echo "Updating translations:" `basename ${i}`
${LUPDATE} -no-obsolete ${i}
if [ $? -ne 0 ] ; then
echo " -- EXPERIENCED ERROR"
fi
done
|