From c9685938476129f2570119bbb17f5fd66a89f3ed Mon Sep 17 00:00:00 2001 From: Mike Gabriel Date: Tue, 23 Feb 2016 08:33:51 +0100 Subject: po: Add helper script update-pot.sh. --- update-pot.sh | 5 +++++ 1 file changed, 5 insertions(+) create mode 100755 update-pot.sh (limited to '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