[virt-viewer PATCH 03/14] po: add rules for integration with zanata

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

 



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@xxxxxxxxxx>
---
 po/Makefile.am | 8 ++++++++
 1 file changed, 8 insertions(+)

diff --git a/po/Makefile.am b/po/Makefile.am
index c5f7c36..f32537d 100644
--- a/po/Makefile.am
+++ b/po/Makefile.am
@@ -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
-- 
2.20.1

_______________________________________________
virt-tools-list mailing list
virt-tools-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/virt-tools-list




[Index of Archives]     [Linux Virtualization]     [KVM Development]     [CentOS Virtualization]     [Netdev]     [Ethernet Bridging]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Bugtraq]     [Yosemite Forum]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux Admin]     [Samba]     [Video 4 Linux]

  Powered by Linux