i18n: fix few spellings

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

Reviewed-by: Cole Robinson <crobinso@redhat.com>
Signed-off-by: Pino Toscano <ptoscano@redhat.com>
This commit is contained in:
Pino Toscano 2020-07-13 10:25:39 +02:00 committed by Cole Robinson
parent a5cb0bb165
commit 0145d9838b
9 changed files with 12 additions and 12 deletions

View File

@ -191,7 +191,7 @@ class TestClone(unittest.TestCase):
# Add this bit here for coverage testing
cloner.clone_xml = None
cloner.setup_original()
self.assertTrue("Original guest name or xml" in str(err.exception))
self.assertTrue("Original guest name or XML" in str(err.exception))
with self.assertRaises(RuntimeError) as err:
cloner = Cloner(conn)

View File

@ -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>

View File

@ -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:

View File

@ -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:

View File

@ -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]

View File

@ -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.")

View File

@ -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.")

View File

@ -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.")

View File

@ -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)