From 432fe7397631556e355dbd9f459e145d2aa34b19 Mon Sep 17 00:00:00 2001 From: damien Date: Wed, 28 Mar 2001 00:00:49 +0000 Subject: added translation --- perl-install/standalone/draknet | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) (limited to 'perl-install/standalone') diff --git a/perl-install/standalone/draknet b/perl-install/standalone/draknet index cb077ccf4..f51932c53 100755 --- a/perl-install/standalone/draknet +++ b/perl-install/standalone/draknet @@ -82,14 +82,14 @@ $button_del->signal_connect( clicked => sub { my $bbox_dialog = new Gtk::HButtonBox; $dialog->action_area->add($bbox_dialog); $bbox_dialog->set_layout(-end); - my $button_ok = new Gtk::Button "OK"; + my $button_ok = new Gtk::Button _("OK"); $button_ok->signal_connect ( clicked => sub { netconnect::del_profile('', $netcnx, $combo_dialog->entry->get_text()); $netcnx->{PROFILE} eq $combo_dialog->entry->get_text() and $netcnx->{PROFILE}="default"; Gtk->main_quit(); }); $bbox_dialog->add($button_ok ); - my $button_cancel = new Gtk::Button "Cancel"; + my $button_cancel = new Gtk::Button _("Cancel"); $button_cancel->signal_connect ( clicked => sub { Gtk->main_quit(); }); $bbox_dialog->add($button_cancel); $dialog->show_all; @@ -113,14 +113,14 @@ $button_new->signal_connect( clicked => sub { my $bbox_dialog = new Gtk::HButtonBox; $dialog->action_area->add($bbox_dialog); $bbox_dialog->set_layout(-end); - my $button_ok = new Gtk::Button "OK"; + my $button_ok = new Gtk::Button _("OK"); $button_ok->signal_connect ( clicked => sub { netconnect::add_profile('', $netcnx, $entry_dialog->get_text()); $netcnx->{PROFILE} = $entry_dialog->get_text(); Gtk->main_quit(); }); $bbox_dialog->add($button_ok ); - my $button_cancel = new Gtk::Button "Cancel"; + my $button_cancel = new Gtk::Button _("Cancel"); $button_cancel->signal_connect ( clicked => sub { Gtk->main_quit(); }); $bbox_dialog->add($button_cancel); $dialog->show_all; @@ -258,7 +258,7 @@ $vbox1->pack_start($bbox1,0,0,0); $bbox1->set_layout(-end); #$bbox1->set_border_width(5); -my $button_ok = new Gtk::Button "OK"; +my $button_ok = new Gtk::Button _("OK"); $button_ok->signal_connect ( clicked => sub { my $dialog = new Gtk::Dialog(); $dialog->set_position(1); @@ -274,13 +274,13 @@ $button_ok->signal_connect ( clicked => sub { quit_global(); }); $bbox1->add($button_ok); -my $button_apply = new Gtk::Button "Apply"; +my $button_apply = new Gtk::Button _("Apply"); $button_apply->signal_connect ( clicked => sub { apply(); }); $button_apply->set_sensitive(0); $bbox1->add($button_apply); -my $button_cancel = new Gtk::Button "Cancel"; +my $button_cancel = new Gtk::Button _("Cancel"); $button_cancel->signal_connect ( clicked => sub { $combo1->entry->set_text($old_profile); update(); @@ -525,7 +525,7 @@ sub configure_net { my $bbox1 = new Gtk::HButtonBox; $vbox1->pack_start($bbox1,0,0,0); $bbox1->set_layout(-end); - my $button_ok = new Gtk::Button "OK"; + my $button_ok = new Gtk::Button _("OK"); $button_ok->signal_connect ( clicked => sub { $i=0; foreach (@mask) { @@ -539,7 +539,7 @@ sub configure_net { $window->destroy(); Gtk->main_quit; }); $bbox1->add($button_ok); - my $button_cancel = new Gtk::Button "Cancel"; + my $button_cancel = new Gtk::Button _("Cancel"); $button_cancel->signal_connect ( clicked => sub { $window->destroy(); Gtk->main_quit }); $bbox1->add($button_cancel); -- cgit v1.2.1