aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Gabriel <mike.gabriel@das-netzwerkteam.de>2017-11-29 12:40:32 +0100
committerMike Gabriel <mike.gabriel@das-netzwerkteam.de>2017-11-29 12:40:32 +0100
commitf410b519b7a8b96a33ca0d623221eeaf0255e83f (patch)
treec2413fad54344cba648bf6e999bf9d827407e42d
parent9a0ba66d1ecef69553aa3c1f9340972f675c1094 (diff)
downloadayatana-indicator-display-f410b519b7a8b96a33ca0d623221eeaf0255e83f.tar.gz
ayatana-indicator-display-f410b519b7a8b96a33ca0d623221eeaf0255e83f.tar.bz2
ayatana-indicator-display-f410b519b7a8b96a33ca0d623221eeaf0255e83f.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 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