From 8c807bdb5cf8afab598064622a07d49e0cde665f Mon Sep 17 00:00:00 2001 From: Mike Gabriel Date: Wed, 29 Nov 2017 12:44:39 +0100 Subject: update-po.sh: Fix filenames of .ini(.in) and .xml(.in) files in po files. --- update-po.sh | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'update-po.sh') diff --git a/update-po.sh b/update-po.sh index 11c5e2a..d1f375d 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 -- cgit v1.2.3