diff options
author | Mike Gabriel <mike.gabriel@das-netzwerkteam.de> | 2016-02-22 23:06:56 +0100 |
---|---|---|
committer | Mike Gabriel <mike.gabriel@das-netzwerkteam.de> | 2016-02-22 23:06:56 +0100 |
commit | 7b3849b39b1344c58a4d85cef3084fddd31bfe6a (patch) | |
tree | 0a5d4a079247a036e6540c3bcbf416cb7f16a055 /update-pot.sh | |
parent | 585f61497a98bea4e566b52193f2298bb6a9f79d (diff) | |
download | arctica-greeter-7b3849b39b1344c58a4d85cef3084fddd31bfe6a.tar.gz arctica-greeter-7b3849b39b1344c58a4d85cef3084fddd31bfe6a.tar.bz2 arctica-greeter-7b3849b39b1344c58a4d85cef3084fddd31bfe6a.zip |
po: Add helper script update-pot.sh.
Diffstat (limited to 'update-pot.sh')
-rwxr-xr-x | update-pot.sh | 5 |
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 |