1
mirror of https://invent.kde.org/network/falkon.git synced 2024-11-14 19:12:11 +01:00
falkonOfficial/scripts/plugin_translations.sh

17 lines
332 B
Bash
Raw Normal View History

#!/bin/bash
cd ../src/plugins
for pluginPro in */*.pro
do
2016-02-15 10:09:35 +01:00
# 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
2013-01-21 22:38:31 +01:00
exit 0