Clear up terminology around NAT + virtual networks
This commit is contained in:
parent
ec4ced92d5
commit
29df628d0b
|
@ -91,7 +91,7 @@ class vmmCreateNetwork(gobject.GObject):
|
|||
text = gtk.CellRendererText()
|
||||
fw_list.pack_start(text, True)
|
||||
fw_list.add_attribute(text, 'text', 0)
|
||||
fw_model.append([_("Masquerade via default route"), True, None])
|
||||
fw_model.append([_("NAT to any physical device"), True, None])
|
||||
for name in self.conn.list_net_device_names():
|
||||
fw_model.append([_("NAT to physical device %s") % (name), True, name])
|
||||
|
||||
|
@ -253,7 +253,7 @@ class vmmCreateNetwork(gobject.GObject):
|
|||
if fw[1] is not None:
|
||||
self.window.get_widget("summary-forwarding").set_text(_("NAT to physical device %s") % (fw[1]))
|
||||
else:
|
||||
self.window.get_widget("summary-forwarding").set_text(_("Masquerade via default route"))
|
||||
self.window.get_widget("summary-forwarding").set_text(_("NAT to any physical device"))
|
||||
else:
|
||||
self.window.get_widget("summary-forwarding").set_text(_("Isolated virtual network"))
|
||||
|
||||
|
|
|
@ -219,7 +219,7 @@ class vmmHost(gobject.GObject):
|
|||
if forwardDev != None and forwardDev != "":
|
||||
self.window.get_widget("net-ip4-forwarding").set_text(_("NAT to physical device %s") % (forwardDev))
|
||||
else:
|
||||
self.window.get_widget("net-ip4-forwarding").set_text(_("Masquerade via default route"))
|
||||
self.window.get_widget("net-ip4-forwarding").set_text(_("NAT to any physical device"))
|
||||
else:
|
||||
self.window.get_widget("net-ip4-forwarding-icon").set_from_stock(gtk.STOCK_DISCONNECT, gtk.ICON_SIZE_MENU)
|
||||
self.window.get_widget("net-ip4-forwarding").set_text(_("Isolated virtual network"))
|
||||
|
|
|
@ -2396,7 +2396,7 @@
|
|||
<child>
|
||||
<widget class="GtkLabel" id="summary-forwarding">
|
||||
<property name="visible">True</property>
|
||||
<property name="label" translatable="yes">Masquerading to default route</property>
|
||||
<property name="label" translatable="yes">NAT to any physical device</property>
|
||||
<property name="use_underline">False</property>
|
||||
<property name="use_markup">False</property>
|
||||
<property name="justify">GTK_JUSTIFY_LEFT</property>
|
||||
|
|
|
@ -1348,7 +1348,7 @@
|
|||
<child>
|
||||
<widget class="GtkLabel" id="net-ip4-forwarding">
|
||||
<property name="visible">True</property>
|
||||
<property name="label" translatable="yes">Masquerading via default route</property>
|
||||
<property name="label" translatable="yes">NAT to any physical device</property>
|
||||
<property name="use_underline">False</property>
|
||||
<property name="use_markup">False</property>
|
||||
<property name="justify">GTK_JUSTIFY_LEFT</property>
|
||||
|
|
Loading…
Reference in New Issue