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:
parent
f3a800df5e
commit
7265592b2e
@ -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
|
|
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user