updatePot.sh 496 Bytes
Newer Older
1 2 3 4 5 6 7 8 9 10
#!/bin/bash
#
# Execute this script whenever you change, add or remove translatable strings in your code.
#
# For help, see http://chakra-linux.org/wiki/index.php?title=Transifex

translationsFolder="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
rootDir=$translationsFolder/..
projectName="akabeicore"

Luca Giambonini's avatar
Luca Giambonini committed
11
lupdate-qt5 $rootDir/lib/* -ts $translationsFolder/$projectName.ts
12 13
ts2po $translationsFolder/$projectName.ts -o $translationsFolder/$projectName.pot
rm $translationsFolder/$projectName.ts