MuseScore/build/gen-qt-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

23 lines
361 B
Bash
Executable file

#!/bin/sh
echo "TRANSLATIONS = \\"
uis=`find $1/share/locale/ -name "mscore_*.ts"`
for a in $uis; do
echo " " $a \\;
done
echo
echo "FORMS = \\"
uis=`find $1 -name "*.ui"`
for a in $uis; do
echo " " $a \\;
done
echo
echo "SOURCES = \\"
uis=`find $1 -name "*.cpp"`
for a in $uis; do
echo " " $a \\;
done
echo
echo