From: Daniel P. Berrangé Date: Wed, 4 Apr 2018 15:41:08 +0000 (+0100) Subject: po: add rules for integration with zanata X-Git-Tag: v4.3.0-rc1~156 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4aaf5964dcdc62d752e118a5a5a719c597143fe9;p=thirdparty%2Flibvirt.git 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 Signed-off-by: Daniel P. Berrangé --- diff --git a/po/Makefile.am b/po/Makefile.am index 95e5ab72bf..973ecb42e5 100644 --- a/po/Makefile.am +++ b/po/Makefile.am @@ -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