From f410b519b7a8b96a33ca0d623221eeaf0255e83f Mon Sep 17 00:00:00 2001 From: Mike Gabriel Date: Wed, 29 Nov 2017 12:40:32 +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(+) 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 -- cgit v1.2.3