1
mirror of https://invent.kde.org/network/falkon.git synced 2024-11-11 01:22:10 +01:00
falkonOfficial/scripts/plugin_translations.sh
2016-02-15 10:09:35 +01:00

17 lines
332 B
Bash
Executable File

#!/bin/bash
cd ../src/plugins
for pluginPro in */*.pro
do
# 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