From a5e77fa12ba7c5155b3fa4aa581253c201b778a4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Va=CC=81clav=20Slavi=CC=81k?= Date: Wed, 1 Nov 2023 17:17:14 +0100 Subject: [PATCH] Fix script to show where the error was --- scripts/build-ota-translations.sh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/scripts/build-ota-translations.sh b/scripts/build-ota-translations.sh index 1b51a6365c..5bf47be880 100755 --- a/scripts/build-ota-translations.sh +++ b/scripts/build-ota-translations.sh @@ -14,6 +14,8 @@ trap finish EXIT for po in locales/*.po ; do mo="$(basename "$po" .po).mo" mogz="$mo.gz" + printf "%-30s" "$po" + sed -e 's/^"PO-Revision-Date: .*/"PO-Revision-Date: \\n"/g' "$po" | msgfmt -c -o "$DESTDIR/$mo" - gzip --no-name -9 "$DESTDIR/$mo"