diff --git a/scripts/plugin_translations.sh b/scripts/plugin_translations.sh index 44e866849..31d53a1ab 100755 --- a/scripts/plugin_translations.sh +++ b/scripts/plugin_translations.sh @@ -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