]> git.ipfire.org Git - thirdparty/libvirt.git/commitdiff
po: add rules for integration with zanata
authorDaniel P. Berrangé <berrange@redhat.com>
Wed, 4 Apr 2018 15:41:08 +0000 (16:41 +0100)
committerDaniel P. Berrangé <berrange@redhat.com>
Thu, 19 Apr 2018 09:36:20 +0000 (10:36 +0100)
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>
po/Makefile.am

index 95e5ab72bfbbeaa27881440c85bae1b9e1f0e6ae..973ecb42e5cac2a40d0701cfa36cfbfbfe08617d 100644 (file)
@@ -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