This could eventually be baked as part of other targets in the future.
At the moment there are no warnings, but if one uses a newer version of
gettext there will be errors on ru.po and ukr.po.

Signed-off-by: Maximiliano Sandoval <[email protected]>
---
 Makefile | 7 +++++++
 1 file changed, 7 insertions(+)

diff --git a/Makefile b/Makefile
index 31c49432..86bd7235 100644
--- a/Makefile
+++ b/Makefile
@@ -231,3 +231,10 @@ upload-pdm: $(PDM_I18N_DEB)
        tar cf - $^|ssh -X [email protected] -- upload --product pdm 
--dist $(UPLOAD_DIST)
 
 upload: upload-pve upload-pmg upload-pbs upload-pdm
+
+.PHONY: check-%
+check-%:
+       msgfmt --check $*.po
+
+.PHONY: check
+check: $(addprefix check-, $(LINGUAS))
-- 
2.47.3




Reply via email to