mirror of
https://git.proxmox.com/git/proxmox-i18n
synced 2025-08-13 17:10:04 +00: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
|
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;
|
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
|
init-%.po: messages.pot
|
||||||
msginit -i $^ -l $^ -o $*.po --no-translator
|
msginit -i $^ -l $^ -o $*.po --no-translator
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user