aboutsummaryrefslogtreecommitdiff
path: root/update-pot.sh
diff options
context:
space:
mode:
authorMike Gabriel <mike.gabriel@das-netzwerkteam.de>2017-10-12 07:47:06 +0200
committerMike Gabriel <mike.gabriel@das-netzwerkteam.de>2017-10-12 07:47:06 +0200
commit4689954b45c954ae7232f01e7f66558429194df1 (patch)
tree74e5e37b5b80751731cc775c6a1eb888bb36d685 /update-pot.sh
parent4cbd06f291e5fc2d2c3769c31317d3af55869790 (diff)
downloadayatana-indicator-messages-4689954b45c954ae7232f01e7f66558429194df1.tar.gz
ayatana-indicator-messages-4689954b45c954ae7232f01e7f66558429194df1.tar.bz2
ayatana-indicator-messages-4689954b45c954ae7232f01e7f66558429194df1.zip
update-po(|t).sh: Add gettext update scripts.
Diffstat (limited to '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