From: Steve Brokenshire Date: Sun, 13 Nov 2016 14:12:57 +0000 (+0000) Subject: Added script to create the required POT translation file. X-Git-Tag: release-0.16~2 X-Git-Url: http://Server1/repobrowser/?a=commitdiff_plain;h=de655e017eb58802187f518947e0205682cde188;p=xestiaab%2F.git Added script to create the required POT translation file. --- diff --git a/source/tools/updatepotfile.sh b/source/tools/updatepotfile.sh new file mode 100755 index 0000000..4c98c3e --- /dev/null +++ b/source/tools/updatepotfile.sh @@ -0,0 +1,6 @@ +#!/bin/sh + +CPP_FILE_LIST=`find .. -name '*.cpp' -print` + +xgettext -d xestiaab --keyword=_ -p ../lang -o xestiaab.pot $CPP_FILE_LIST +xgettext -j -d xestiaab --keyword=wxT -p ../lang -o xestiaab.pot ../AppXestiaAddrBk.cpp