From e98017b08bc1931ae0feb3a04bf534a1c546eaeb Mon Sep 17 00:00:00 2001 From: Mike Gabriel Date: Thu, 12 Oct 2017 07:47:18 +0200 Subject: update-po(|t).sh: Add gettext update scripts. --- 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