aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Gabriel <mike.gabriel@das-netzwerkteam.de>2017-11-29 12:41:43 +0100
committerMike Gabriel <mike.gabriel@das-netzwerkteam.de>2017-11-29 12:41:43 +0100
commitd9b8327d18ee9dca2dcbaaeaddbf3d1ec6283187 (patch)
treefb8f99ac23197a83431cc4a4fbdca7b19c94e546
parent67e1ac5a5c861be0d4b0a1938f39b479b26f8aca (diff)
downloadayatana-indicator-keyboard-d9b8327d18ee9dca2dcbaaeaddbf3d1ec6283187.tar.gz
ayatana-indicator-keyboard-d9b8327d18ee9dca2dcbaaeaddbf3d1ec6283187.tar.bz2
ayatana-indicator-keyboard-d9b8327d18ee9dca2dcbaaeaddbf3d1ec6283187.zip
update-po.sh: Fix filenames of .ini(.in) and .xml(.in) files in po files.
-rwxr-xr-xupdate-po.sh7
1 files changed, 7 insertions, 0 deletions
diff --git a/update-po.sh b/update-po.sh
index 11c5e2a6..d1f375d2 100755
--- a/update-po.sh
+++ b/update-po.sh
@@ -25,5 +25,12 @@ cat LINGUAS | while read lingua; do
else
intltool-update --gettext-package ${GETTEXT_DOMAIN} $(basename ${lingua})
fi
+
+ sed -e 's/\.xml\.in\.h:/.xml.in:/g' \
+ -e 's/\.ini\.in\.h:/.ini.in:/g' \
+ -e 's/\.xml\.h:/.xml:/g' \
+ -e 's/\.ini\.h:/.ini:/g' \
+ -i ${lingua}.po
+
done
cd - 1>/dev/null