[Libguestfs] [PATCH 3/5] po: Add common/ml* directories to POTFILES-ml.

Richard W.M. Jones rjones at redhat.com
Tue Sep 26 12:16:13 UTC 2017


Although it's not too likely that these libraries will contain
translatable strings, it's consistent to add them to po/POTFILES-ml
because mllib/*.ml are also in this file.
---
 Makefile.am    |  2 +-
 po/POTFILES-ml | 16 ++++++++++++++++
 2 files changed, 17 insertions(+), 1 deletion(-)

diff --git a/Makefile.am b/Makefile.am
index eac2288e7..913a40325 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -351,7 +351,7 @@ po/POTFILES: configure.ac
 po/POTFILES-ml: configure.ac
 	rm -f $@ $@-t
 	cd $(srcdir); \
-	find builder customize dib get-kernel mllib resize sparsify sysprep v2v -name '*.ml' | \
+	find builder common/ml* customize dib get-kernel mllib resize sparsify sysprep v2v -name '*.ml' | \
 	grep -v '^builder/templates/' | \
 	LC_ALL=C sort > $@-t
 	mv $@-t $@
diff --git a/po/POTFILES-ml b/po/POTFILES-ml
index f4cb5f154..23c6e50b0 100644
--- a/po/POTFILES-ml
+++ b/po/POTFILES-ml
@@ -16,6 +16,22 @@ builder/sources.ml
 builder/utils.ml
 builder/yajl.ml
 builder/yajl_tests.ml
+common/mlaugeas/augeas.ml
+common/mlgettext/common_gettext.ml
+common/mlpcre/PCRE.ml
+common/mlpcre/pcre_tests.ml
+common/mlprogress/progress.ml
+common/mlstdutils/guestfs_config.ml
+common/mlstdutils/std_utils.ml
+common/mlstdutils/std_utils_tests.ml
+common/mlstdutils/stringMap.ml
+common/mlstdutils/stringSet.ml
+common/mlutils/c_utils.ml
+common/mlutils/c_utils_unit_tests.ml
+common/mlutils/unix_utils.ml
+common/mlvisit/visit.ml
+common/mlvisit/visit_tests.ml
+common/mlxml/xml.ml
 customize/SELinux_relabel.ml
 customize/append_line.ml
 customize/crypt.ml
-- 
2.13.2




More information about the Libguestfs mailing list