diff options
author | Mike Gabriel <mike.gabriel@das-netzwerkteam.de> | 2017-10-12 07:37:17 +0200 |
---|---|---|
committer | Mike Gabriel <mike.gabriel@das-netzwerkteam.de> | 2017-10-12 07:37:17 +0200 |
commit | 9e6b8de302a2485f6c64321ea42eb53592d1afc9 (patch) | |
tree | 7176e9399dace7f697b02e8129c4e318823a9245 | |
parent | 4afa2b50b31e21cba18eba26c12329af62804fae (diff) | |
download | ayatana-indicator-datetime-9e6b8de302a2485f6c64321ea42eb53592d1afc9.tar.gz ayatana-indicator-datetime-9e6b8de302a2485f6c64321ea42eb53592d1afc9.tar.bz2 ayatana-indicator-datetime-9e6b8de302a2485f6c64321ea42eb53592d1afc9.zip |
update-po.sh
update-po(|t).sh: Add gettext update scripts.
-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..93371e4 --- /dev/null +++ b/update-pot.sh @@ -0,0 +1,5 @@ +#!/bin/bash + +GETTEXT_DOMAIN=$(cat CMakeLists.txt | grep 'set.*(.*GETTEXT_PACKAGE' | sed -r -e 's/.*\"([^"]+)\"\)/\1/') + +cd po/ && intltool-update --gettext-package ${GETTEXT_DOMAIN} --pot |