mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2025-02-21 19:02:25 +00: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)
|
||||
|
||||
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)
|
||||
$(XGETTEXT) -o $(srcdir)/$@-t $(XGETTEXT_ARGS) \
|
||||
--files-from=$(abs_srcdir)/POTFILES
|
||||
|
Loading…
x
Reference in New Issue
Block a user