1
mirror of https://invent.kde.org/network/falkon.git synced 2024-12-20 02:36:34 +01:00

Updated translations_update.sh and removed translations_release.sh

- *.qm translations file are now generated by qmake at build time
This commit is contained in:
nowrep 2012-02-18 17:41:09 +01:00
parent f3a800df5e
commit 7265592b2e
2 changed files with 1 additions and 10 deletions

View File

@ -1,10 +0,0 @@
#!/bin/bash
# run lrelease, .qm files will be located in ../translations/
lrelease ../src/src.pro
# removing empty.qm
rm ../translations/empty.qm
# moving .qm files into ..bin/locale/
mv ../translations/*.qm ../bin/locale/
read -p "Press [ENTER] to close terminal"
exit

View File

@ -8,6 +8,7 @@ fi
sed -i 's/include(3rdparty/##temp/g' ../src/src.pro sed -i 's/include(3rdparty/##temp/g' ../src/src.pro
lupdate $ARGUMENTS ../src/src.pro lupdate $ARGUMENTS ../src/src.pro
lupdate $ARGUMENTS ../src/src.pro -ts ../translations/empty.ts
## uncomment it now ## uncomment it now
sed -i 's/##temp/include(3rdparty/g' ../src/src.pro sed -i 's/##temp/include(3rdparty/g' ../src/src.pro