diff options
author | Jeremy Katz <katzj@redhat.com> | 2005-03-24 04:34:22 +0000 |
---|---|---|
committer | Jeremy Katz <katzj@redhat.com> | 2005-03-24 04:34:22 +0000 |
commit | 3debee76c0043604081f44665375e9975df3b08c (patch) | |
tree | 68dcc4efdb82f2d14bed4c505ef5a62239402da3 | |
parent | e7ab7f3435afd15f1dd8e97ae89c7e1dd8626e16 (diff) | |
download | anaconda-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-- | ChangeLog | 5 | ||||
-rwxr-xr-x | gui.py | 6 | ||||
-rw-r--r-- | iw/network_gui.py | 4 | ||||
-rw-r--r-- | textw/mouse_text.py | 2 |
4 files changed, 10 insertions, 7 deletions
@@ -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> @@ -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) |