Skip to content

Commit

Permalink
po: add --check-format flag to Makefile command
Browse files Browse the repository at this point in the history
This flag will allow us to more easily catch possible mismatched
translations on the po files
  • Loading branch information
lucasmoura committed Oct 23, 2023
1 parent bdecc56 commit 465961b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion debian/po/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,6 @@ MOS=$(POS:.po=.mo)

%.mo: %.po
mkdir -p usr/share/locale/$*/LC_MESSAGES
msgfmt $< -o usr/share/locale/$*/LC_MESSAGES/ubuntu-pro.mo
msgfmt --check-format $< -o usr/share/locale/$*/LC_MESSAGES/ubuntu-pro.mo

build: $(MOS)

0 comments on commit 465961b

Please sign in to comment.