summaryrefslogtreecommitdiffstats
path: root/textw/network_text.py
diff options
context:
space:
mode:
authorJoel Andres Granados <jgranado@redhat.com>2007-11-16 17:17:52 +0100
committerJoel Andres Granados <jgranado@redhat.com>2007-11-16 17:17:52 +0100
commitfe13cea2cbbb48cb5ec6703988f58b49f4ae9a36 (patch)
tree0c21d17be89c9e0dfa14f3fcfba4a9a2f316488d /textw/network_text.py
parent51846b22d6a34286cd0242ab15d8c2dbf67e5ab8 (diff)
downloadanaconda-fe13cea2cbbb48cb5ec6703988f58b49f4ae9a36.tar.gz
anaconda-fe13cea2cbbb48cb5ec6703988f58b49f4ae9a36.tar.xz
anaconda-fe13cea2cbbb48cb5ec6703988f58b49f4ae9a36.zip
Don't translate unnecessary stuff.
Diffstat (limited to 'textw/network_text.py')
-rw-r--r--textw/network_text.py12
1 files changed, 6 insertions, 6 deletions
diff --git a/textw/network_text.py b/textw/network_text.py
index 66a6217cc..4af655c9a 100644
--- a/textw/network_text.py
+++ b/textw/network_text.py
@@ -34,7 +34,7 @@ def handleIPError(screen, field, msg):
newfield = field
ButtonChoiceWindow(screen, _("Error With %s Data") % (newfield,),
- _("%s") % msg.__str__(), buttons = [ _("OK") ])
+ "%s" % msg.__str__(), buttons = [ _("OK") ])
def handleIPMissing(screen, field):
try:
@@ -585,11 +585,11 @@ class NetworkDeviceWindow:
self.topgrid = Grid(1, 2)
if descr is not None:
- self.topgrid.setField(Label (_("%s") % (descr[:70],)),
+ self.topgrid.setField(Label ("%s" % (descr[:70],)),
0, 0, padding = (0, 0, 0, 0),
anchorLeft = 1, growx = 1)
if hwaddr is not None:
- self.topgrid.setField(Label (_("%s") %(hwaddr,)),
+ self.topgrid.setField(Label ("%s" %(hwaddr,)),
0, 1, padding = (0, 0, 0, 1),
anchorLeft = 1, growx = 1)
@@ -633,11 +633,11 @@ class NetworkDeviceWindow:
devname = dev.get('device').lower()
if ipv4 is not None and ipv6 is not None:
- desc = _("%s, %s, %s") % (onboot, ipv4, ipv6,)
+ desc = "%s, %s, %s" % (onboot, ipv4, ipv6,)
elif ipv4 is not None and ipv6 is None:
- desc = _("%s, %s") % (onboot, ipv4,)
+ desc = "%s, %s" % (onboot, ipv4,)
elif ipv4 is None and ipv6 is not None:
- desc = _("%s, %s") % (onboot, ipv6,)
+ desc = "%s, %s" % (onboot, ipv6,)
self.devListDescs[devname] = desc
if len(self.devices) == 1 and doConf is True: