Skip to content

Commit

Permalink
Fix script to show where the error was
Browse files Browse the repository at this point in the history
  • Loading branch information
vslavik committed Nov 1, 2023
1 parent ff41e38 commit a5e77fa
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions scripts/build-ota-translations.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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"

Expand Down

0 comments on commit a5e77fa

Please sign in to comment.