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:
parent
54f3e78396
commit
d348d118b9
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user