From 4aaf5964dcdc62d752e118a5a5a719c597143fe9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Daniel=20P=2E=20Berrang=C3=A9?= Date: Wed, 4 Apr 2018 16:41:08 +0100 Subject: [PATCH] po: add rules for integration with zanata MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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é --- po/Makefile.am | 8 ++++++++ 1 file changed, 8 insertions(+) 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