aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Gabriel <mike.gabriel@das-netzwerkteam.de>2016-02-23 08:33:51 +0100
committerMike Gabriel <mike.gabriel@das-netzwerkteam.de>2016-02-23 08:33:51 +0100
commitc9685938476129f2570119bbb17f5fd66a89f3ed (patch)
treed41b6d273bebde0fddd3473d8f3064bfe163e857
parentc4b7de2a754e166c67cea40b35948c851b76ca6d (diff)
downloadremote-logon-service-c9685938476129f2570119bbb17f5fd66a89f3ed.tar.gz
remote-logon-service-c9685938476129f2570119bbb17f5fd66a89f3ed.tar.bz2
remote-logon-service-c9685938476129f2570119bbb17f5fd66a89f3ed.zip
po: Add helper script update-pot.sh.
-rwxr-xr-xupdate-pot.sh5
1 files changed, 5 insertions, 0 deletions
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