aboutsummaryrefslogtreecommitdiff
path: root/update-po.sh
diff options
context:
space:
mode:
authorMike Gabriel <mike.gabriel@das-netzwerkteam.de>2017-11-29 12:42:59 +0100
committerMike Gabriel <mike.gabriel@das-netzwerkteam.de>2017-11-29 12:42:59 +0100
commitbdc25da518e78167a53ff39f9364d091e8e6a4f2 (patch)
treed17d64b965ccade51a261e8c0cc86d6406c47784 /update-po.sh
parent6a07d32e8b55a578dc084cb3cd74cd87cbd8b1a0 (diff)
downloadayatana-indicator-power-bdc25da518e78167a53ff39f9364d091e8e6a4f2.tar.gz
ayatana-indicator-power-bdc25da518e78167a53ff39f9364d091e8e6a4f2.tar.bz2
ayatana-indicator-power-bdc25da518e78167a53ff39f9364d091e8e6a4f2.zip
update-po.sh: Fix filenames of .ini(.in) and .xml(.in) files in po files.
Diffstat (limited to 'update-po.sh')
-rwxr-xr-xupdate-po.sh7
1 files changed, 7 insertions, 0 deletions
diff --git a/update-po.sh b/update-po.sh
index 81a9dc5..7fb959a 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