1
mirror of https://invent.kde.org/network/falkon.git synced 2024-12-20 10:46:35 +01:00

scripts: Update plugin_translations.sh

This commit is contained in:
David Rosca 2016-02-15 10:09:35 +01:00
parent 54f3e78396
commit d348d118b9

View File

@ -4,8 +4,13 @@ cd ../src/plugins
for pluginPro in */*.pro for pluginPro in */*.pro
do do
#lupdate $pluginPro -no-obsolete # circular inclusions workaround - we comment that buggy line
sed -i 's/include(../##temp/g' $pluginPro
lupdate $pluginPro -no-obsolete -ts $pluginPro/../translations/empty.ts lupdate $pluginPro -no-obsolete -ts $pluginPro/../translations/empty.ts
# uncomment it now
sed -i 's/##temp/include(../g' $pluginPro
done done
exit 0 exit 0