[virt-tools-list] [libosinfo v5 2/4] maint.mk: Teach sc_po_check about translations in XML

Zeeshan Ali (Khattak) zeeshanak at gnome.org
Fri Oct 26 16:23:14 UTC 2012


From: "Zeeshan Ali (Khattak)" <zeeshanak at gnome.org>

---
 maint.mk | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/maint.mk b/maint.mk
index 405c6d0..6d35231 100644
--- a/maint.mk
+++ b/maint.mk
@@ -1078,7 +1078,8 @@ sc_po_check:
 	    esac;							\
 	    files="$$files $$file";					\
 	  done;								\
-	  grep -E -l '\b(N?_|gettext *)\([^)"]*("|$$)' $$files		\
+	  grep -E -l '\b((N?_|gettext *)\([^)"]*("|$$))|(<_.*/_.*>)'	\
+	    $$files							\
 	    | sed 's|^$(_dot_escaped_srcdir)/||' | sort -u > $@-2;	\
 	  diff -u -L $(po_file) -L $(po_file) $@-1 $@-2			\
 	    || { printf '$(ME): '$(fix_po_file_diag) 1>&2; exit 1; };	\
-- 
1.7.12.1




More information about the virt-tools-list mailing list