mirror of
git://git.proxmox.com/git/proxmox-i18n.git
synced 2025-03-13 04:58:17 +03:00
Add a "make stats" target
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>
This commit is contained in:
parent
05ca5ae6a5
commit
16b2008075
3
Makefile
3
Makefile
@ -60,6 +60,9 @@ update_pot: submodule
|
||||
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
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user