aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Gabriel <mike.gabriel@das-netzwerkteam.de>2017-05-30 14:53:04 +0200
committerMike Gabriel <mike.gabriel@das-netzwerkteam.de>2017-05-30 14:53:04 +0200
commit89849197eb18f7615081470db015015f0c51482a (patch)
treeadbe8aba83da57a6b60541b5645aec775700420c
parent1abdb5ffe398de0d18730b8851e6f427c5661b1f (diff)
downloadayatana-indicator-session-89849197eb18f7615081470db015015f0c51482a.tar.gz
ayatana-indicator-session-89849197eb18f7615081470db015015f0c51482a.tar.bz2
ayatana-indicator-session-89849197eb18f7615081470db015015f0c51482a.zip
Add 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