diff options
author | Olivier Blin <oblin@mandriva.org> | 2004-07-20 08:57:36 +0000 |
---|---|---|
committer | Olivier Blin <oblin@mandriva.org> | 2004-07-20 08:57:36 +0000 |
commit | ad8d038c7c5997abe53ee02c3b7517f0c8b7e2d0 (patch) | |
tree | 21be69a726b42e48448ea971c9c72b647132d4d9 /perl-install/standalone | |
parent | 08ed6342c555ac3ef12452304f476d1cda81613c (diff) | |
download | drakx-ad8d038c7c5997abe53ee02c3b7517f0c8b7e2d0.tar drakx-ad8d038c7c5997abe53ee02c3b7517f0c8b7e2d0.tar.gz drakx-ad8d038c7c5997abe53ee02c3b7517f0c8b7e2d0.tar.bz2 drakx-ad8d038c7c5997abe53ee02c3b7517f0c8b7e2d0.tar.xz drakx-ad8d038c7c5997abe53ee02c3b7517f0c8b7e2d0.zip |
translate connection type (Fabrice Facorat)
Diffstat (limited to 'perl-install/standalone')
-rwxr-xr-x | perl-install/standalone/net_monitor | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/perl-install/standalone/net_monitor b/perl-install/standalone/net_monitor index cd9e04cb1..556ad8fa2 100755 --- a/perl-install/standalone/net_monitor +++ b/perl-install/standalone/net_monitor @@ -311,7 +311,7 @@ sub rescan() { $monitor->{sta} = 0; $monitor->{nba} = 0; } - $label_cnx_type->set_label($netcnx->{type}); + $label_cnx_type->set_label(translate($netcnx->{type})); $monitor->{$_} = 0 foreach 'sr', 'st'; 1; } @@ -464,7 +464,7 @@ sub update() { $statusbar->pop(1); $statusbar->push(1, $isconnected == 1 ? N("Connected") : N("Not connected")); } - $button_connect->set("label", $isconnected == 1 ? N("Disconnect %s", $netcnx->{type}) : N("Connect %s", $netcnx->{type})); + $button_connect->set("label", $isconnected == 1 ? N("Disconnect %s", translate($netcnx->{type})) : N("Connect %s", $netcnx->{type})); $button_connect->set_sensitive($default_intf || scalar(@interfaces)); } if (!(-e $network::tools::connect_file && -e $network::tools::disconnect_file)) { |