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

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