aboutsummaryrefslogtreecommitdiff
path: root/update-pot.sh
diff options
context:
space:
mode:
authorMike Gabriel <mike.gabriel@das-netzwerkteam.de>2017-11-28 14:52:54 +0100
committerMike Gabriel <mike.gabriel@das-netzwerkteam.de>2017-11-28 14:52:54 +0100
commit82e9fb7115bf651cf54c7768ba748b216ca5ed6b (patch)
tree154fe2413e6b17de5dcacf0b825ebef03e4770ac /update-pot.sh
parent5a19212bcb6609cd74e25da7ba32eb7bfdcb39b5 (diff)
downloadarctica-greeter-82e9fb7115bf651cf54c7768ba748b216ca5ed6b.tar.gz
arctica-greeter-82e9fb7115bf651cf54c7768ba748b216ca5ed6b.tar.bz2
arctica-greeter-82e9fb7115bf651cf54c7768ba748b216ca5ed6b.zip
Update files update-po(t).sh, includes added license headers.
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 7c1db94..7e5868c 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