mirror of
https://github.com/libvirt/libvirt.git
synced 2025-02-25 18:55:26 -06:00
po: add rules for integration with zanata
Add rules to handle pushing libvirt.pot to zanata, and refreshing .po files with new content from zanata. Reviewed-by: Ján Tomko <jtomko@redhat.com> Signed-off-by: Daniel P. Berrangé <berrange@redhat.com>
This commit is contained in:
parent
bdfdec31bc
commit
4aaf5964dc
@ -60,6 +60,14 @@ update-po: $(POFILES)
|
|||||||
|
|
||||||
update-gmo: $(GMOFILES)
|
update-gmo: $(GMOFILES)
|
||||||
|
|
||||||
|
push-pot: $(POTFILE)
|
||||||
|
zanata push --push-type=source
|
||||||
|
|
||||||
|
pull-po: $(POTFILE)
|
||||||
|
zanata pull --create-skeletons
|
||||||
|
$(MAKE) update-po
|
||||||
|
$(MAKE) update-gmo
|
||||||
|
|
||||||
$(POTFILE): POTFILES $(POTFILE_DEPS)
|
$(POTFILE): POTFILES $(POTFILE_DEPS)
|
||||||
$(XGETTEXT) -o $(srcdir)/$@-t $(XGETTEXT_ARGS) \
|
$(XGETTEXT) -o $(srcdir)/$@-t $(XGETTEXT_ARGS) \
|
||||||
--files-from=$(abs_srcdir)/POTFILES
|
--files-from=$(abs_srcdir)/POTFILES
|
||||||
|
Loading…
Reference in New Issue
Block a user