From bdc25da518e78167a53ff39f9364d091e8e6a4f2 Mon Sep 17 00:00:00 2001 From: Mike Gabriel Date: Wed, 29 Nov 2017 12:42:59 +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