diff options
author | Mike Gabriel <mike.gabriel@das-netzwerkteam.de> | 2017-10-12 07:47:18 +0200 |
---|---|---|
committer | Mike Gabriel <mike.gabriel@das-netzwerkteam.de> | 2017-10-12 07:47:18 +0200 |
commit | e98017b08bc1931ae0feb3a04bf534a1c546eaeb (patch) | |
tree | 85080b503e6e98166b5fb08d78839ac7d27b290f /update-pot.sh | |
parent | 52cfe6e31c6e86cd4229c486593c95aa96c040e4 (diff) | |
download | ayatana-indicator-printers-e98017b08bc1931ae0feb3a04bf534a1c546eaeb.tar.gz ayatana-indicator-printers-e98017b08bc1931ae0feb3a04bf534a1c546eaeb.tar.bz2 ayatana-indicator-printers-e98017b08bc1931ae0feb3a04bf534a1c546eaeb.zip |
update-po(|t).sh: Add gettext update scripts.
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 |