]> pere.pagekite.me Git - text-madewithcc.git/commitdiff
Add new status target to show translation status.
authorPetter Reinholdtsen <pere@hungry.com>
Tue, 6 Feb 2018 08:10:47 +0000 (09:10 +0100)
committerPetter Reinholdtsen <pere@hungry.com>
Tue, 6 Feb 2018 08:10:47 +0000 (09:10 +0100)
Makefile

index 6b9a2ca3590277873b8ad753b0e1d50eced4728c..6dab996c8b25af75100dd4aeaf9a9e87e9116add 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -109,4 +109,9 @@ lint-es: $(SOURCE).nb.xml
 lint-nb: $(SOURCE).nb.xml
        xmllint $(XMLLINTOPTS) $^
 
+status:
+       for LANG in $(LANGS); do \
+          printf "$$LANG "; msgfmt -o /dev/null --statistics po/$$LANG/mwcc.po; \
+       done
+
 .SUFFIXES: .xml .md