]> xenbits.xensource.com Git - libvirt.git/commitdiff
mark a few diagnostics for translation
authorJim Meyering <meyering@redhat.com>
Mon, 5 Jan 2009 08:16:44 +0000 (08:16 +0000)
committerJim Meyering <meyering@redhat.com>
Mon, 5 Jan 2009 08:16:44 +0000 (08:16 +0000)
* src/xen_inotify.c (xenInotifyXendDomainsDirLookup): Mark a diagnostic.
(xenInotifyXendDomainsDirRemoveEntry, xenInotifyOpen): Likewise.

ChangeLog
src/xen_inotify.c

index a23cfac3d5def11917a4be473197edf198318cae..20fe5e5b199d69e8dcf1922568969df31f33865e 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,9 @@
 Mon Jan  5 09:11:21 CET 2009 Jim Meyering <meyering@redhat.com>
 
+       mark a few diagnostics for translation
+       * src/xen_inotify.c (xenInotifyXendDomainsDirLookup): Mark a diagnostic.
+       (xenInotifyXendDomainsDirRemoveEntry, xenInotifyOpen): Likewise.
+
        HACKING: mention bool and other scalar types, const-correctness
 
 Fri Dec 26 14:22:04 CET 2008 Guido Günther <agx@sigxcpu.org>
index fe1bc76775ca6f220ad51ae8adcc422eab6df129..f6a79922486dfb2b7d7f0ecda0031b9b1c54dae3 100644 (file)
@@ -128,7 +128,7 @@ xenInotifyXendDomainsDirLookup(virConnectPtr conn, const char *filename,
 
     if (virUUIDParse(uuid_str, rawuuid) < 0) {
         virXenInotifyError(NULL, VIR_ERR_INTERNAL_ERROR,
-                           "parsing uuid %s", uuid_str);
+                           _("parsing uuid %s"), uuid_str);
         return -1;
     }
     /* call directly into xend here, as driver may not yet
@@ -145,7 +145,7 @@ xenInotifyXendDomainsDirLookup(virConnectPtr conn, const char *filename,
                 *name = strdup(configInfoList->doms[i]->name);
                 if (!*name) {
                     virXenInotifyError(NULL, VIR_ERR_INTERNAL_ERROR,
-                                       "finding dom for %s", uuid_str);
+                                       _("finding dom for %s"), uuid_str);
                     return -1;
                 }
                 memcpy(uuid, configInfoList->doms[i]->uuid, VIR_UUID_BUFLEN);
@@ -201,7 +201,7 @@ xenInotifyXendDomainsDirRemoveEntry(virConnectPtr conn ATTRIBUTE_UNUSED,
 
     if (virUUIDParse(uuidstr, uuid) < 0) {
         virXenInotifyError(NULL, VIR_ERR_INTERNAL_ERROR,
-                           "parsing uuid %s", uuidstr);
+                           _("parsing uuid %s"), uuidstr);
         return -1;
     }
 
@@ -428,7 +428,7 @@ xenInotifyOpen(virConnectPtr conn ATTRIBUTE_UNUSED,
                           IN_CLOSE_WRITE | IN_DELETE |
                           IN_MOVED_TO | IN_MOVED_FROM) < 0) {
         virXenInotifyError(NULL, VIR_ERR_INTERNAL_ERROR,
-                           "adding watch on %s", _(configDir));
+                           _("adding watch on %s"), _(configDir));
         return -1;
     }