From 7b3849b39b1344c58a4d85cef3084fddd31bfe6a Mon Sep 17 00:00:00 2001 From: Mike Gabriel Date: Mon, 22 Feb 2016 23:06:56 +0100 Subject: po: Add helper script update-pot.sh. --- update-pot.sh | 5 +++++ 1 file changed, 5 insertions(+) create mode 100755 update-pot.sh diff --git a/update-pot.sh b/update-pot.sh new file mode 100755 index 0000000..7c1db94 --- /dev/null +++ b/update-pot.sh @@ -0,0 +1,5 @@ +#!/bin/bash + +GETTEXT_DOMAIN=$(cat configure.ac | grep -E "^GETTEXT_PACKAGE=" | sed -e 's/GETTEXT_PACKAGE=//') + +cd po/ && intltool-update --gettext-package ${GETTEXT_DOMAIN} --pot -- cgit v1.2.3