summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJeremy Katz <katzj@redhat.com>2005-03-24 04:34:22 +0000
committerJeremy Katz <katzj@redhat.com>2005-03-24 04:34:22 +0000
commit3debee76c0043604081f44665375e9975df3b08c (patch)
tree68dcc4efdb82f2d14bed4c505ef5a62239402da3
parente7ab7f3435afd15f1dd8e97ae89c7e1dd8626e16 (diff)
downloadanaconda-3debee76c0043604081f44665375e9975df3b08c.tar.gz
anaconda-3debee76c0043604081f44665375e9975df3b08c.tar.xz
anaconda-3debee76c0043604081f44665375e9975df3b08c.zip
2005-03-23 Jeremy Katz <katzj@redhat.com>
* textw/timezone_text.py (TimezoneWindow.__call__): Mark strings for translation. * gui.py (ExceptionWindow.__init__): Likewise. * iw/network_gui.py (NetworkWindow.handleIPError): Likewise. * textw/mouse_text.py (MouseWindow.__call__): Likewise.
-rw-r--r--ChangeLog5
-rwxr-xr-xgui.py6
-rw-r--r--iw/network_gui.py4
-rw-r--r--textw/mouse_text.py2
4 files changed, 10 insertions, 7 deletions
diff --git a/ChangeLog b/ChangeLog
index 6e53644cd..585262642 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,7 +1,10 @@
2005-03-23 Jeremy Katz <katzj@redhat.com>
- * textw/timezone_text.py (TimezoneWindow.__call__): Mark string
+ * textw/timezone_text.py (TimezoneWindow.__call__): Mark strings
for translation.
+ * gui.py (ExceptionWindow.__init__): Likewise.
+ * iw/network_gui.py (NetworkWindow.handleIPError): Likewise.
+ * textw/mouse_text.py (MouseWindow.__call__): Likewise.
2005-03-23 Peter Jones <pjones@redhat.com>
diff --git a/gui.py b/gui.py
index 5aa1eb836..e1334298d 100755
--- a/gui.py
+++ b/gui.py
@@ -547,10 +547,10 @@ class ExceptionWindow:
except:
floppyDevices = 0
- win = gtk.Dialog("Exception Occured", mainWindow, gtk.DIALOG_MODAL)
- win.add_button("_Debug", 0)
+ win = gtk.Dialog(_("Exception Occured"), mainWindow, gtk.DIALOG_MODAL)
+ win.add_button(_("_Debug"), 0)
if floppyDevices > 0 or DEBUG:
- win.add_button("_Save to floppy", 1)
+ win.add_button(_("_Save to floppy"), 1)
win.add_button('gtk-ok', 2)
buffer = gtk.TextBuffer(None)
buffer.set_text(text)
diff --git a/iw/network_gui.py b/iw/network_gui.py
index fc417ada6..deaed0164 100644
--- a/iw/network_gui.py
+++ b/iw/network_gui.py
@@ -177,12 +177,12 @@ class NetworkWindow(InstallWindow):
newfield = string.replace(field, "_", "")
self.intf.messageWindow(_("Error With Data"),
_("An error occurred converting "
- "the value entered for \"%s\":\n%s" % (newfield, errmsg)))
+ "the value entered for \"%s\":\n%s") % (newfield, errmsg))
def handleIPMissing(self, field):
newfield = string.replace(field, "_", "")
self.intf.messageWindow(_("Error With Data"),
- _("A value is required for the field \"%s\"." % (newfield,)))
+ _("A value is required for the field \"%s\".") % (newfield,))
def handleBroadCastError(self):
self.intf.messageWindow(_("Error With Data"),
diff --git a/textw/mouse_text.py b/textw/mouse_text.py
index 156a95ab0..7b97ff424 100644
--- a/textw/mouse_text.py
+++ b/textw/mouse_text.py
@@ -74,7 +74,7 @@ class MouseWindow:
key = 0
for amouse in mice:
- l.append(amouse, key)
+ l.append(_(amouse), key)
key = key + 1
l.setCurrent(default)
l.setCallback (self.listcb)