diff options
author | Thierry Vignaud <tvignaud@mandriva.org> | 2004-06-10 14:20:31 +0000 |
---|---|---|
committer | Thierry Vignaud <tvignaud@mandriva.org> | 2004-06-10 14:20:31 +0000 |
commit | 1c073cb93c6ed5de6fb81049dc2889336c263405 (patch) | |
tree | 9085e60ac593287ad91b68b4bef3b14ff837a023 | |
parent | 3a422deee009116d5f7059187f59c10100d129ad (diff) | |
download | drakx-1c073cb93c6ed5de6fb81049dc2889336c263405.tar drakx-1c073cb93c6ed5de6fb81049dc2889336c263405.tar.gz drakx-1c073cb93c6ed5de6fb81049dc2889336c263405.tar.bz2 drakx-1c073cb93c6ed5de6fb81049dc2889336c263405.tar.xz drakx-1c073cb93c6ed5de6fb81049dc2889336c263405.zip |
first lan step: do not compare translated strings, use format callback
-rw-r--r-- | perl-install/network/netconnect.pm | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/perl-install/network/netconnect.pm b/perl-install/network/netconnect.pm index 94c9d553d..1ef521daf 100644 --- a/perl-install/network/netconnect.pm +++ b/perl-install/network/netconnect.pm @@ -826,12 +826,12 @@ You can find a driver on http://eciadsl.flashtux.org/"), pre => $lan_detect, name => N("Select the network interface to configure:"), data => sub { - [ { label => N("Net Device"), type => "list", val => \$ntf_name, list => [ (sort keys %eth_intf), N("Manual choice") ], - allow_empty_list => 1, format => sub { $eth_intf{$_[0]} || $_[0] } } ]; + [ { label => N("Net Device"), type => "list", val => \$ntf_name, list => [ (sort keys %eth_intf), N_("Manual choice") ], + allow_empty_list => 1, format => sub { translate($eth_intf{$_[0]} || $_[0]) } } ]; }, post => sub { $ethntf = $intf->{$ntf_name} ||= { DEVICE => $ntf_name }; - if ($ntf_name eq N("Manual choice")) { + if ($ntf_name eq "Manual choice") { modules::interactive::load_category__prompt($in, 'network/main|gigabit|pcmcia|usb|wireless'); return 'lan'; } |