1
mirror of https://invent.kde.org/network/falkon.git synced 2024-11-11 09:32:12 +01:00
falkonOfficial/scripts/updateTranslations-safe.sh

21 lines
548 B
Bash
Raw Normal View History

#!/bin/bash
## circular inclusions workaround - we comment that buggy line
sed -i 's/include(3rdparty/##temp/g' ../src/QupZilla.pro
lupdate ../src/QupZilla.pro -ts ../translations/cs_CZ.ts
lupdate ../src/QupZilla.pro -ts ../translations/sk_SK.ts
lupdate ../src/QupZilla.pro -ts ../translations/nl_NL.ts
lupdate ../src/QupZilla.pro -ts ../translations/de_DE.ts
lupdate ../src/QupZilla.pro -ts ../translations/es.ts
## uncomment it now
sed -i 's/##temp/include(3rdparty/g' ../src/QupZilla.pro
read -p "Press [ENTER] to close terminal"
exit