diff --git a/virtManager/addhardware.py b/virtManager/addhardware.py index c5936d26c..d9454a92b 100644 --- a/virtManager/addhardware.py +++ b/virtManager/addhardware.py @@ -272,7 +272,7 @@ class vmmAddHardware(vmmGObjectUI): if self.conn.is_qemu(): model.append(["virtio", "virtio"]) else: - model.append([None, "default"]) + model.append([None, _("Hypervisor default")]) # Char target name lst = self.widget("char-target-name") @@ -681,7 +681,7 @@ class vmmAddHardware(vmmGObjectUI): for m in virtinst.VirtualDisk.cache_types: model.append([m, m]) - _iter = model.insert(0, [None, "default"]) + _iter = model.insert(0, [None, _("Hypervisor default")]) combo.set_active_iter(_iter) @staticmethod @@ -697,7 +697,7 @@ class vmmAddHardware(vmmGObjectUI): model.append([m, m]) if not no_default: - model.append([None, "default"]) + model.append([None, _("Hypervisor default")]) combo.set_active(0) @staticmethod @@ -709,7 +709,7 @@ class vmmAddHardware(vmmGObjectUI): model.set_sort_column_id(1, Gtk.SortType.ASCENDING) if not no_default: - model.append([None, "default"]) + model.append([None, _("Hypervisor default")]) combo.set_active(-1) @staticmethod @@ -739,22 +739,23 @@ class vmmAddHardware(vmmGObjectUI): break @staticmethod - def populate_controller_model_combo(combo, controller_type, widget_name, add_default=False): + def populate_controller_model_combo(combo, controller_type, widget_name, + add_default=False): model = combo.get_model() model.clear() if controller_type == virtinst.VirtualController.TYPE_USB: - model.append(["default", "Default"]) + model.append(["default", _("Hypervisor default")]) model.append(["ich9-ehci1", "USB 2"]) model.append(["nec-xhci", "USB 3"]) if widget_name is not None: widget_name.set_sensitive(False) elif controller_type == virtinst.VirtualController.TYPE_SCSI: - model.append(["default", "Default"]) + model.append(["default", _("Hypervisor default")]) model.append(["virtio-scsi", "VirtIO SCSI"]) else: if add_default: - model.append([None, "Default"]) + model.append([None, _("Hypervisor default")]) uiutil.set_grid_row_visible(combo, False) if widget_name is not None: widget_name.set_sensitive(True) diff --git a/virtManager/details.py b/virtManager/details.py index ec4c5a0ff..2c7d827ad 100644 --- a/virtManager/details.py +++ b/virtManager/details.py @@ -2627,7 +2627,7 @@ class vmmDetails(vmmGObjectUI): model = Gtk.ListStore(str, str) combo.set_model(model) uiutil.set_combo_text_column(combo, 1) - model.append([None, "default"]) + model.append([None, _("Hypervisor default")]) model.append(["filtered", "filtered"]) model.append(["unfiltered", "unfiltered"]) @@ -3197,7 +3197,7 @@ class vmmDetails(vmmGObjectUI): for row in buses: busmodel.append(row) if not no_default: - busmodel.append([None, "default"]) + busmodel.append([None, _("Hypervisor default")]) def populate_hw_list(self): hw_list_model = self.widget("hw-list").get_model()