aboutsummaryrefslogtreecommitdiff
path: root/update-pot.sh
diff options
context:
space:
mode:
authorMike Gabriel <mike.gabriel@das-netzwerkteam.de>2017-10-24 21:12:12 +0200
committerMike Gabriel <mike.gabriel@das-netzwerkteam.de>2017-10-24 21:24:33 +0200
commitbca2db6d064187ecfa2bd9668a88b1b745683e1d (patch)
tree4527e4c915ad6a84c84f43fd690cda5b97a73dd3 /update-pot.sh
parent34316fe56794ae5014b39fe2128a49ceb6d22b8b (diff)
downloadayatana-indicator-keyboard-bca2db6d064187ecfa2bd9668a88b1b745683e1d.tar.gz
ayatana-indicator-keyboard-bca2db6d064187ecfa2bd9668a88b1b745683e1d.tar.bz2
ayatana-indicator-keyboard-bca2db6d064187ecfa2bd9668a88b1b745683e1d.zip
update-po*.sh: Add license header.
Diffstat (limited to 'update-pot.sh')
-rwxr-xr-xupdate-pot.sh14
1 files changed, 14 insertions, 0 deletions
diff --git a/update-pot.sh b/update-pot.sh
index 7c1db94f..7e5868cf 100755
--- a/update-pot.sh
+++ b/update-pot.sh
@@ -1,5 +1,19 @@
#!/bin/bash
+# Copyright (C) 2017 by Mike Gabriel <mike.gabriel@das-netzwerkteam.de>
+#
+# This package is free software; you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation; version 3 of the License.
+#
+# This package is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+# GNU General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with this program. If not, see <http://www.gnu.org/licenses/>
+
GETTEXT_DOMAIN=$(cat configure.ac | grep -E "^GETTEXT_PACKAGE=" | sed -e 's/GETTEXT_PACKAGE=//')
cd po/ && intltool-update --gettext-package ${GETTEXT_DOMAIN} --pot