diff options
Diffstat (limited to 'src/fe/gtk/ProgressDialog.py')
-rwxr-xr-x | src/fe/gtk/ProgressDialog.py | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/src/fe/gtk/ProgressDialog.py b/src/fe/gtk/ProgressDialog.py index 76e690a..0bdd99a 100755 --- a/src/fe/gtk/ProgressDialog.py +++ b/src/fe/gtk/ProgressDialog.py @@ -24,23 +24,23 @@ class ProgressDialog(gtk.Window): self.connect("destroy", self.destroy_event) self.set_default_size(500, -1) self.set_resizable(True) - self.set_title("Gentoo Linux Installer - Installation Progress") + self.set_title(_("Gentoo Linux Installer - Installation Progress")) self.set_modal(True) self.set_transient_for(controller.window) self.globalbox = gtk.VBox(False, 0) self.globalbox.set_border_width(10) hbox = gtk.HBox(False) - step_label = gtk.Label("Step:") + step_label = gtk.Label(_("Step:")) hbox.pack_start(step_label, expand=False, fill=False, padding=0) self.step_text = gtk.Label() - self.step_text.set_text("Step description here") + self.step_text.set_text(_("Step description here")) hbox.pack_start(self.step_text, expand=False, fill=False, padding=15) self.globalbox.pack_start(hbox, expand=True, fill=False, padding=0) self.progress_bar = gtk.ProgressBar() self.globalbox.pack_start(self.progress_bar, expand=True, fill=False, padding=5) hbox = gtk.HBox(True) - self.cancel_button = gtk.Button(label="_Cancel") + self.cancel_button = gtk.Button(label=_("_Cancel")) self.cancel_button.connect("clicked", self.cancel_clicked) if not self.callback: self.cancel_button.set_sensitive(False) @@ -74,7 +74,7 @@ class ProgressDialog(gtk.Window): step_descr = self.controller.cc.get_step_info(step_name) self.step_text.set_text(step_descr) self.progress_bar.set_fraction(0) - self.progress_bar.set_text("Working...") + self.progress_bar.set_text(_("Working...")) self.controller.cc.run_step(step_name) def poll_notifications(self): @@ -91,7 +91,7 @@ class ProgressDialog(gtk.Window): elif ntype == "int": if ndata == NEXT_STEP_READY: self.progress_bar.set_fraction(1) - self.progress_bar.set_text("Done") + self.progress_bar.set_text(_("Done")) if not len(self.install_steps): self.destroy() if self.callback: |