From de655e017eb58802187f518947e0205682cde188 Mon Sep 17 00:00:00 2001 From: Steve Brokenshire Date: Sun, 13 Nov 2016 14:12:57 +0000 Subject: [PATCH] Added script to create the required POT translation file. --- source/tools/updatepotfile.sh | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100755 source/tools/updatepotfile.sh 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 -- 2.39.2