mirror of
https://gitlab.com/virt-viewer/virt-viewer.git
synced 2024-12-22 13:33:58 +03:00
po: add rules for integration with zanata
Add rules to handle pushing virt-viewer.pot to zanata, and refreshing .po files with new content from zanata. Signed-off-by: Daniel P. Berrangé <berrange@redhat.com>
This commit is contained in:
parent
98503e1a72
commit
1ba5f91001
@ -63,6 +63,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 $@-t $(XGETTEXT_ARGS) \
|
||||
--files-from=$(abs_srcdir)/POTFILES
|
||||
|
Loading…
Reference in New Issue
Block a user