From 4664af7ce2fe23cc82ab873020247831c40975c1 Mon Sep 17 00:00:00 2001 From: Anders F Bjorklund Date: Tue, 27 Jan 2009 22:53:08 +0100 Subject: [PATCH] Make buttons translatable too --- zeroinstall/0launch-gui/mainwindow.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/zeroinstall/0launch-gui/mainwindow.py b/zeroinstall/0launch-gui/mainwindow.py index 659af06..c25ff67 100644 --- a/zeroinstall/0launch-gui/mainwindow.py +++ b/zeroinstall/0launch-gui/mainwindow.py @@ -48,9 +48,9 @@ class MainWindow: # Glade won't let me add this to the template! if download_only: - run_button = dialog.MixedButton("_Download", gtk.STOCK_EXECUTE, button = gtk.ToggleButton()) + run_button = dialog.MixedButton(_("_Download"), gtk.STOCK_EXECUTE, button = gtk.ToggleButton()) else: - run_button = dialog.MixedButton("_Run", gtk.STOCK_EXECUTE, button = gtk.ToggleButton()) + run_button = dialog.MixedButton(_("_Run"), gtk.STOCK_EXECUTE, button = gtk.ToggleButton()) self.window.add_action_widget(run_button, gtk.RESPONSE_OK) run_button.show_all() run_button.set_flags(gtk.CAN_DEFAULT) -- 2.11.4.GIT