From 2cd60cc3c95102d2eb1538471c9c90701eec7e07 Mon Sep 17 00:00:00 2001 From: Mike Gabriel Date: Wed, 29 Nov 2017 12:38:45 +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 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