[virt-manager PATCH 01/21] i18n: fix few spellings

Pino Toscano ptoscano at redhat.com
Mon Jul 13 08:25:39 UTC 2020


"iSCSI", "KVM", "QEMU", "UNIX", "UUID", "VirtIO", "XML", "vCPU".

Signed-off-by: Pino Toscano <ptoscano at redhat.com>
---
 ui/details.ui                    | 2 +-
 virtManager/addhardware.py       | 4 ++--
 virtManager/delete.py            | 2 +-
 virtManager/details/details.py   | 2 +-
 virtManager/device/gfxdetails.py | 2 +-
 virtManager/engine.py            | 2 +-
 virtinst/cli.py                  | 6 +++---
 virtinst/cloner.py               | 2 +-
 8 files changed, 11 insertions(+), 11 deletions(-)

diff --git a/ui/details.ui b/ui/details.ui
index 78dd6b42..580fd3ad 100644
--- a/ui/details.ui
+++ b/ui/details.ui
@@ -1226,7 +1226,7 @@
                                         <property name="can_focus">False</property>
                                         <property name="halign">start</property>
                                         <property name="valign">center</property>
-                                        <property name="label" translatable="yes">VCPU a_llocation:</property>
+                                        <property name="label" translatable="yes">vCPU a_llocation:</property>
                                         <property name="use_underline">True</property>
                                         <property name="mnemonic_widget">cpu-vcpus</property>
                                       </object>
diff --git a/virtManager/addhardware.py b/virtManager/addhardware.py
index fabf6b1a..7bb21802 100644
--- a/virtManager/addhardware.py
+++ b/virtManager/addhardware.py
@@ -284,7 +284,7 @@ class vmmAddHardware(vmmGObjectUI):
         add_hw_option(_("Panic Notifier"), "system-run", PAGE_PANIC,
             bool(DevicePanic.get_models(self.vm.get_xmlobj())),
             _("Not supported for this hypervisor/libvirt/arch combination."))
-        add_hw_option(_("Virtio VSOCK"), "network-idle", PAGE_VSOCK,
+        add_hw_option(_("VirtIO VSOCK"), "network-idle", PAGE_VSOCK,
             self.vm.is_hvm(),
             _("Not supported for this hypervisor/libvirt/arch combination."))
 
@@ -448,7 +448,7 @@ class vmmAddHardware(vmmGObjectUI):
         elif ctype == DeviceSerial.TYPE_UDP:
             return _("UDP net console")
         elif ctype == DeviceSerial.TYPE_UNIX:
-            return _("Unix socket")
+            return _("UNIX socket")
         elif ctype == DeviceSerial.TYPE_SPICEVMC:
             return _("Spice agent")
         elif ctype == DeviceSerial.TYPE_SPICEPORT:
diff --git a/virtManager/delete.py b/virtManager/delete.py
index 749ed545..40284505 100644
--- a/virtManager/delete.py
+++ b/virtManager/delete.py
@@ -557,7 +557,7 @@ def _can_delete(conn, vol, path):
         # Managed storage
         pool_type = vol.get_parent_pool().get_type()
         if pool_type == virtinst.StoragePool.TYPE_ISCSI:
-            msg = _("Cannot delete iscsi share.")
+            msg = _("Cannot delete iSCSI share.")
         elif pool_type == virtinst.StoragePool.TYPE_SCSI:
             msg = _("Cannot delete SCSI device.")
     else:
diff --git a/virtManager/details/details.py b/virtManager/details/details.py
index 2ce59708..16c074e7 100644
--- a/virtManager/details/details.py
+++ b/virtManager/details/details.py
@@ -254,7 +254,7 @@ def _label_for_device(dev):
     devmap = {
         "panic": _("Panic Notifier"),
         "smartcard": _("Smartcard"),
-        "vsock": _("Virtio VSOCK"),
+        "vsock": _("VirtIO VSOCK"),
         "watchdog": _("Watchdog"),
     }
     return devmap[devtype]
diff --git a/virtManager/device/gfxdetails.py b/virtManager/device/gfxdetails.py
index f1cb08af..23b8c994 100644
--- a/virtManager/device/gfxdetails.py
+++ b/virtManager/device/gfxdetails.py
@@ -234,7 +234,7 @@ class vmmGraphicsDetails(vmmGObjectUI):
             elif not [v for v in self.vm.xmlobj.devices.video if
                     (v.model == "virtio" and v.accel3d)]:
                 opengl_warning = _("Spice GL requires "
-                    "virtio graphics configured with accel3d.")
+                    "VirtIO graphics configured with accel3d.")
             elif gfx.get_first_listen_type() not in ["none", "socket"]:
                 opengl_warning = _("Graphics listen type does not support "
                     "spice GL.")
diff --git a/virtManager/engine.py b/virtManager/engine.py
index 8a5a4b13..4ed967cc 100644
--- a/virtManager/engine.py
+++ b/virtManager/engine.py
@@ -201,7 +201,7 @@ class vmmEngine(vmmGObject):
             if msg:
                 msg += "\n\n"
             msg += _("Could not detect a default hypervisor. Make "
-                    "sure the appropriate qemu/kvm virtualization "
+                    "sure the appropriate QEMU/KVM virtualization "
                     "packages are installed to manage virtualization "
                     "on this host.")
 
diff --git a/virtinst/cli.py b/virtinst/cli.py
index 38dfbcc7..26da30ca 100644
--- a/virtinst/cli.py
+++ b/virtinst/cli.py
@@ -682,7 +682,7 @@ def vcpu_cli_options(grp, backcompat=True, editexample=False):
     ParserCPU.register()
     ParserVCPU.register()
     grp.add_argument("--vcpus", action="append",
-        help=_("Number of vcpus to configure for your guest. Ex:\n"
+        help=_("Number of vCPUs to configure for your guest. Ex:\n"
                "--vcpus 5\n"
                "--vcpus 5,maxvcpus=10,cpuset=1-4,6,8\n"
                "--vcpus sockets=2,cores=4,threads=2"))
@@ -883,7 +883,7 @@ def add_guest_xml_options(geng):
 
     ParserQemuCLI.register()
     geng.add_argument("--qemu-commandline", action="append",
-        help=_("Pass arguments directly to the qemu emulator. Ex:\n"
+        help=_("Pass arguments directly to the QEMU emulator. Ex:\n"
                "--qemu-commandline='-display gtk,gl=on'\n"
                "--qemu-commandline env=DISPLAY=:0.1"))
 
@@ -928,7 +928,7 @@ def add_os_variant_option(parser, virtinstall):
     else:
         msg = _("The OS installed in the guest.")
     msg += "\n"
-    msg += _("This is used for deciding optimal defaults like virtio.\n"
+    msg += _("This is used for deciding optimal defaults like VirtIO.\n"
              "Example values: fedora29, rhel7.0, win10, ...\n"
              "See 'osinfo-query os' for a full list.")
 
diff --git a/virtinst/cloner.py b/virtinst/cloner.py
index 581d54ff..7d4db4f3 100644
--- a/virtinst/cloner.py
+++ b/virtinst/cloner.py
@@ -276,7 +276,7 @@ class Cloner(object):
         log.debug("Validating original guest parameters")
 
         if self.original_guest is None and self.original_xml is None:
-            raise RuntimeError(_("Original guest name or xml is required."))
+            raise RuntimeError(_("Original guest name or XML is required."))
 
         if self.original_guest is not None and not self.original_xml:
             self.original_dom = self._lookup_vm(self.original_guest)
-- 
2.26.2




More information about the virt-tools-list mailing list