[libvirt] [PATCH] Fix a few typo in translated strings

Daniel Veillard veillard at redhat.com
Mon Mar 12 09:45:18 UTC 2012


this was raised by our hindi localization team
chandan kumar <chandankumar.093047 at gmail.com>

pushed under trivial rule

diff --git a/src/lxc/lxc_controller.c b/src/lxc/lxc_controller.c
index 8f336f5..bbc9d9c 100644
--- a/src/lxc/lxc_controller.c
+++ b/src/lxc/lxc_controller.c
@@ -1591,14 +1591,14 @@ lxcControllerRun(virDomainDefPtr def,
     if (virSetBlocking(monitor, false) < 0 ||
         virSetBlocking(client, false) < 0) {
         virReportSystemError(errno, "%s",
-                             _("Unable to set file descriptor non blocking"));
+                             _("Unable to set file descriptor non-blocking"));
         goto cleanup;
     }
     for (i = 0 ; i < nttyFDs ; i++) {
         if (virSetBlocking(ttyFDs[i], false) < 0 ||
             virSetBlocking(containerTtyFDs[i], false) < 0) {
             virReportSystemError(errno, "%s",
-                                 _("Unable to set file descriptor non blocking"));
+                                 _("Unable to set file descriptor non-blocking"));
             goto cleanup;
         }
     }
diff --git a/src/qemu/qemu_command.c b/src/qemu/qemu_command.c
index 6ec1eb9..996763c 100644
--- a/src/qemu/qemu_command.c
+++ b/src/qemu/qemu_command.c
@@ -866,7 +866,7 @@ static int qemuCollectPCIAddress(virDomainDefPtr def ATTRIBUTE_UNUSED,
         if (info->addr.pci.function != 0) {
             qemuReportError(VIR_ERR_XML_ERROR,
                             _("Attempted double use of PCI Address '%s' "
-                              "(may need \"multifunction='on'\" for device on function 0"),
+                              "(may need \"multifunction='on'\" for device on function 0)"),
                             addr);
         } else {
             qemuReportError(VIR_ERR_XML_ERROR,
diff --git a/src/qemu/qemu_monitor_json.c b/src/qemu/qemu_monitor_json.c
index afd744a..1a0ee94 100644
--- a/src/qemu/qemu_monitor_json.c
+++ b/src/qemu/qemu_monitor_json.c
@@ -3356,13 +3356,13 @@ qemuMonitorJSONBlockIoThrottleInfo(virJSONValuePtr result,
 
         if (!temp_dev || temp_dev->type != VIR_JSON_TYPE_OBJECT) {
             qemuReportError(VIR_ERR_INTERNAL_ERROR, "%s",
-                            _("block io throttle device entry was not in expected format"));
+                            _("block_io_throttle device entry was not in expected format"));
             goto cleanup;
         }
 
         if ((current_dev = virJSONValueObjectGetString(temp_dev, "device")) == NULL) {
             qemuReportError(VIR_ERR_INTERNAL_ERROR, "%s",
-                            _("block io throttle device entry was not in expected format"));
+                            _("block_io_throttle device entry was not in expected format"));
             goto cleanup;
         }
 
@@ -3376,7 +3376,7 @@ qemuMonitorJSONBlockIoThrottleInfo(virJSONValuePtr result,
         if ((inserted = virJSONValueObjectGet(temp_dev, "inserted")) == NULL ||
             inserted->type != VIR_JSON_TYPE_OBJECT) {
             qemuReportError(VIR_ERR_INTERNAL_ERROR, "%s",
-                            _("block io throttle inserted entry was not in expected format"));
+                            _("block_io_throttle inserted entry was not in expected format"));
             goto cleanup;
         }
 

-- 
Daniel Veillard      | libxml Gnome XML XSLT toolkit  http://xmlsoft.org/
daniel at veillard.com  | Rpmfind RPM search engine http://rpmfind.net/
http://veillard.com/ | virtualization library  http://libvirt.org/




More information about the libvir-list mailing list