It is useful to have a way to see the translation statistics. The
output could potentially get used to have an overview page about the
translations and invite people to help out through that.
Signed-off-by: Rhonda D'Vine <rhonda@proxmox.com>
update: | update_pot messages.pot
for i in $(LINGUAS); do echo -n "$$i: "; msgmerge -s -v $$i.po messages.pot >$$i.po.tmp && mv $$i.po.tmp $$i.po; done;
+stats:
+ @for i in $(LINGUAS); do echo -n "$$i: "; msgfmt --statistics -o /dev/null $$i.po; done
+
init-%.po: messages.pot
msginit -i $^ -l $^ -o $*.po --no-translator