1
mirror of https://invent.kde.org/network/falkon.git synced 2024-09-22 10:12:10 +02:00
falkonOfficial/scripts/updateTranslations.sh

23 lines
684 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 -no-obsolete -ts ../translations/cs_CZ.ts
lupdate ../src/QupZilla.pro -no-obsolete -ts ../translations/sk_SK.ts
lupdate ../src/QupZilla.pro -no-obsolete -ts ../translations/nl_NL.ts
lupdate ../src/QupZilla.pro -no-obsolete -ts ../translations/de_DE.ts
lupdate ../src/QupZilla.pro -no-obsolete -ts ../translations/es.ts
lupdate ../src/QupZilla.pro -no-obsolete -ts ../translations/it_IT.ts
## uncomment it now
sed -i 's/##temp/include(3rdparty/g' ../src/QupZilla.pro
read -p "Press [ENTER] to close terminal"
exit