[Libvir] 6/8 Enable the po-check test; fix violations.

Jim Meyering jim at meyering.net
Fri Jan 25 22:22:04 UTC 2008


This ensures that files with translatable strings
are listed in po/POTFILES.in.
Currently it checks only the "error" function.
Obviously we'll have to add a few more here, but I'll
do that separately.

----------------
Enable the po-check test; fix violations.

* Makefile.cfg (local-checks-to-skip) [po-check]: Enable.
* po/POTFILES.in: Add three file names.  Sort.

Signed-off-by: Jim Meyering <meyering at redhat.com>
---
 Makefile.cfg   |    1 -
 po/POTFILES.in |   21 ++++++++++++---------
 2 files changed, 12 insertions(+), 10 deletions(-)

diff --git a/Makefile.cfg b/Makefile.cfg
index 2c1c9e7..697fde4 100644
--- a/Makefile.cfg
+++ b/Makefile.cfg
@@ -26,7 +26,6 @@ url_dir_list = \

 # Tests not to run as part of "make distcheck".
 local-checks-to-skip =			\
-  po-check				\
   makefile_path_separator_check		\
   makefile-check			\
   sc_no_have_config_h			\
diff --git a/po/POTFILES.in b/po/POTFILES.in
index 50422fb..b4b9cd2 100644
--- a/po/POTFILES.in
+++ b/po/POTFILES.in
@@ -1,13 +1,16 @@
-src/libvirt.c
-src/virterror.c
-src/xmlrpc.c
+gnulib/lib/gai_strerror.c
+src/conf.c
+src/console.c
 src/hash.c
-src/test.c
-src/xml.c
+src/libvirt.c
+src/proxy_internal.c
+src/remote_internal.c
 src/sexpr.c
-src/xend_internal.c
+src/test.c
 src/virsh.c
-src/conf.c
-src/xs_internal.c
-src/proxy_internal.c
+src/virterror.c
 src/xen_internal.c
+src/xend_internal.c
+src/xml.c
+src/xmlrpc.c
+src/xs_internal.c
--
1.5.4.rc4.15.g215c5




More information about the libvir-list mailing list