1
mirror of https://invent.kde.org/network/falkon.git synced 2024-12-20 10:46:35 +01:00
falkonOfficial/scripts/translations_update.sh
nowrep 7265592b2e Updated translations_update.sh and removed translations_release.sh
- *.qm translations file are now generated by qmake at build time
2012-02-18 17:41:09 +01:00

18 lines
426 B
Bash
Executable File
Raw Blame History

This file contains invisible Unicode characters

This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

#!/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
lupdate $ARGUMENTS ../src/src.pro -ts ../translations/empty.ts
## uncomment it now
sed -i 's/##temp/include(3rdparty/g' ../src/src.pro
read -p "Press [ENTER] to close terminal"
exit