[PATCH 3/5] po: add rules for integration with zanata

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Add rules to handle pushing libvirt.pot to zanata, and refreshing .po
files with new content from zanata.

Signed-off-by: Daniel P. Berrangé <berrange@xxxxxxxxxx>
---
 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
-- 
2.14.3

--
libvir-list mailing list
libvir-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvir-list




[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]

  Powered by Linux