mirror of
https://invent.kde.org/network/falkon.git
synced 2024-12-19 18:26:34 +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
|
||||
do
|
||||
#lupdate $pluginPro -no-obsolete
|
||||
lupdate $pluginPro -no-obsolete -ts $pluginPro/../translations/empty.ts
|
||||
# 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
|
||||
|
Loading…
Reference in New Issue
Block a user