MuseScore/build/gen-instruments-projectfile
Joachim Schmitz b4af237430 Fix lupdate step to not put all translations into all ts files
but put mscore translations into mscore_*.ts only, instruments
translations into instruments_*.ts only and don't run lupdate against
qt*.ts at all.
The latter seems to have been done wrongly since quite a while, the
former since PR #3272 , 41b7906 (master) and d1b606e (2.2)
2017-09-19 16:37:55 +02:00

16 lines
265 B
Bash
Executable file

#!/bin/sh
echo "TRANSLATIONS = \\"
uis=`find $1/../../share/locale/ -name "instruments_*.ts"`
for a in $uis; do
echo " " $a \\;
done
echo
echo "HEADERS = \\"
uis=`find $1 -name "*.h"`
for a in $uis; do
echo " " $a \\;
done
echo
echo