mirror of
https://github.com/virt-manager/virt-manager.git
synced 2025-01-10 01:18:03 +03:00
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:
parent
a5cb0bb165
commit
0145d9838b
@ -191,7 +191,7 @@ class TestClone(unittest.TestCase):
|
|||||||
# Add this bit here for coverage testing
|
# Add this bit here for coverage testing
|
||||||
cloner.clone_xml = None
|
cloner.clone_xml = None
|
||||||
cloner.setup_original()
|
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:
|
with self.assertRaises(RuntimeError) as err:
|
||||||
cloner = Cloner(conn)
|
cloner = Cloner(conn)
|
||||||
|
@ -1226,7 +1226,7 @@
|
|||||||
<property name="can_focus">False</property>
|
<property name="can_focus">False</property>
|
||||||
<property name="halign">start</property>
|
<property name="halign">start</property>
|
||||||
<property name="valign">center</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="use_underline">True</property>
|
||||||
<property name="mnemonic_widget">cpu-vcpus</property>
|
<property name="mnemonic_widget">cpu-vcpus</property>
|
||||||
</object>
|
</object>
|
||||||
|
@ -284,7 +284,7 @@ class vmmAddHardware(vmmGObjectUI):
|
|||||||
add_hw_option(_("Panic Notifier"), "system-run", PAGE_PANIC,
|
add_hw_option(_("Panic Notifier"), "system-run", PAGE_PANIC,
|
||||||
bool(DevicePanic.get_models(self.vm.get_xmlobj())),
|
bool(DevicePanic.get_models(self.vm.get_xmlobj())),
|
||||||
_("Not supported for this hypervisor/libvirt/arch combination."))
|
_("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(),
|
self.vm.is_hvm(),
|
||||||
_("Not supported for this hypervisor/libvirt/arch combination."))
|
_("Not supported for this hypervisor/libvirt/arch combination."))
|
||||||
|
|
||||||
@ -448,7 +448,7 @@ class vmmAddHardware(vmmGObjectUI):
|
|||||||
elif ctype == DeviceSerial.TYPE_UDP:
|
elif ctype == DeviceSerial.TYPE_UDP:
|
||||||
return _("UDP net console")
|
return _("UDP net console")
|
||||||
elif ctype == DeviceSerial.TYPE_UNIX:
|
elif ctype == DeviceSerial.TYPE_UNIX:
|
||||||
return _("Unix socket")
|
return _("UNIX socket")
|
||||||
elif ctype == DeviceSerial.TYPE_SPICEVMC:
|
elif ctype == DeviceSerial.TYPE_SPICEVMC:
|
||||||
return _("Spice agent")
|
return _("Spice agent")
|
||||||
elif ctype == DeviceSerial.TYPE_SPICEPORT:
|
elif ctype == DeviceSerial.TYPE_SPICEPORT:
|
||||||
|
@ -557,7 +557,7 @@ def _can_delete(conn, vol, path):
|
|||||||
# Managed storage
|
# Managed storage
|
||||||
pool_type = vol.get_parent_pool().get_type()
|
pool_type = vol.get_parent_pool().get_type()
|
||||||
if pool_type == virtinst.StoragePool.TYPE_ISCSI:
|
if pool_type == virtinst.StoragePool.TYPE_ISCSI:
|
||||||
msg = _("Cannot delete iscsi share.")
|
msg = _("Cannot delete iSCSI share.")
|
||||||
elif pool_type == virtinst.StoragePool.TYPE_SCSI:
|
elif pool_type == virtinst.StoragePool.TYPE_SCSI:
|
||||||
msg = _("Cannot delete SCSI device.")
|
msg = _("Cannot delete SCSI device.")
|
||||||
else:
|
else:
|
||||||
|
@ -254,7 +254,7 @@ def _label_for_device(dev):
|
|||||||
devmap = {
|
devmap = {
|
||||||
"panic": _("Panic Notifier"),
|
"panic": _("Panic Notifier"),
|
||||||
"smartcard": _("Smartcard"),
|
"smartcard": _("Smartcard"),
|
||||||
"vsock": _("Virtio VSOCK"),
|
"vsock": _("VirtIO VSOCK"),
|
||||||
"watchdog": _("Watchdog"),
|
"watchdog": _("Watchdog"),
|
||||||
}
|
}
|
||||||
return devmap[devtype]
|
return devmap[devtype]
|
||||||
|
@ -234,7 +234,7 @@ class vmmGraphicsDetails(vmmGObjectUI):
|
|||||||
elif not [v for v in self.vm.xmlobj.devices.video if
|
elif not [v for v in self.vm.xmlobj.devices.video if
|
||||||
(v.model == "virtio" and v.accel3d)]:
|
(v.model == "virtio" and v.accel3d)]:
|
||||||
opengl_warning = _("Spice GL requires "
|
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"]:
|
elif gfx.get_first_listen_type() not in ["none", "socket"]:
|
||||||
opengl_warning = _("Graphics listen type does not support "
|
opengl_warning = _("Graphics listen type does not support "
|
||||||
"spice GL.")
|
"spice GL.")
|
||||||
|
@ -201,7 +201,7 @@ class vmmEngine(vmmGObject):
|
|||||||
if msg:
|
if msg:
|
||||||
msg += "\n\n"
|
msg += "\n\n"
|
||||||
msg += _("Could not detect a default hypervisor. Make "
|
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 "
|
"packages are installed to manage virtualization "
|
||||||
"on this host.")
|
"on this host.")
|
||||||
|
|
||||||
|
@ -682,7 +682,7 @@ def vcpu_cli_options(grp, backcompat=True, editexample=False):
|
|||||||
ParserCPU.register()
|
ParserCPU.register()
|
||||||
ParserVCPU.register()
|
ParserVCPU.register()
|
||||||
grp.add_argument("--vcpus", action="append",
|
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\n"
|
||||||
"--vcpus 5,maxvcpus=10,cpuset=1-4,6,8\n"
|
"--vcpus 5,maxvcpus=10,cpuset=1-4,6,8\n"
|
||||||
"--vcpus sockets=2,cores=4,threads=2"))
|
"--vcpus sockets=2,cores=4,threads=2"))
|
||||||
@ -883,7 +883,7 @@ def add_guest_xml_options(geng):
|
|||||||
|
|
||||||
ParserQemuCLI.register()
|
ParserQemuCLI.register()
|
||||||
geng.add_argument("--qemu-commandline", action="append",
|
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='-display gtk,gl=on'\n"
|
||||||
"--qemu-commandline env=DISPLAY=:0.1"))
|
"--qemu-commandline env=DISPLAY=:0.1"))
|
||||||
|
|
||||||
@ -928,7 +928,7 @@ def add_os_variant_option(parser, virtinstall):
|
|||||||
else:
|
else:
|
||||||
msg = _("The OS installed in the guest.")
|
msg = _("The OS installed in the guest.")
|
||||||
msg += "\n"
|
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"
|
"Example values: fedora29, rhel7.0, win10, ...\n"
|
||||||
"See 'osinfo-query os' for a full list.")
|
"See 'osinfo-query os' for a full list.")
|
||||||
|
|
||||||
|
@ -276,7 +276,7 @@ class Cloner(object):
|
|||||||
log.debug("Validating original guest parameters")
|
log.debug("Validating original guest parameters")
|
||||||
|
|
||||||
if self.original_guest is None and self.original_xml is None:
|
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:
|
if self.original_guest is not None and not self.original_xml:
|
||||||
self.original_dom = self._lookup_vm(self.original_guest)
|
self.original_dom = self._lookup_vm(self.original_guest)
|
||||||
|
Loading…
Reference in New Issue
Block a user