aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Gabriel <mike.gabriel@das-netzwerkteam.de>2016-02-22 23:06:56 +0100
committerMike Gabriel <mike.gabriel@das-netzwerkteam.de>2016-02-22 23:06:56 +0100
commit7b3849b39b1344c58a4d85cef3084fddd31bfe6a (patch)
tree0a5d4a079247a036e6540c3bcbf416cb7f16a055
parent585f61497a98bea4e566b52193f2298bb6a9f79d (diff)
downloadarctica-greeter-7b3849b39b1344c58a4d85cef3084fddd31bfe6a.tar.gz
arctica-greeter-7b3849b39b1344c58a4d85cef3084fddd31bfe6a.tar.bz2
arctica-greeter-7b3849b39b1344c58a4d85cef3084fddd31bfe6a.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