1
mirror of https://invent.kde.org/network/falkon.git synced 2024-12-20 02:36:34 +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
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
# uncomment it now
sed -i 's/##temp/include(../g' $pluginPro
done
exit 0