1
mirror of https://invent.kde.org/network/falkon.git synced 2024-12-21 03:06:34 +01:00
falkonOfficial/scripts/translations_update.sh

17 lines
363 B
Bash
Raw Normal View History

#!/bin/bash
ARGUMENTS=""
if [ "$1" == "-no-obsolete" ]; then
ARGUMENTS="-no-obsolete"
fi
## circular inclusions workaround - we comment that buggy line
sed -i 's/include(3rdparty/##temp/g' ../src/src.pro
lupdate $ARGUMENTS ../src/src.pro
## uncomment it now
sed -i 's/##temp/include(3rdparty/g' ../src/src.pro
read -p "Press [ENTER] to close terminal"
exit