summaryrefslogtreecommitdiffstats
path: root/perl-install/network
diff options
context:
space:
mode:
authorOlivier Blin <oblin@mandriva.org>2005-03-15 11:31:11 +0000
committerOlivier Blin <oblin@mandriva.org>2005-03-15 11:31:11 +0000
commit2cb625e200a67c1d71f22fddf9d40d183a29b2ce (patch)
treee992be2ef580e59e5f374af94e37804f63e782aa /perl-install/network
parent4369deb2fe5f62e6838049c2d9c9c2088049c897 (diff)
downloaddrakx-2cb625e200a67c1d71f22fddf9d40d183a29b2ce.tar
drakx-2cb625e200a67c1d71f22fddf9d40d183a29b2ce.tar.gz
drakx-2cb625e200a67c1d71f22fddf9d40d183a29b2ce.tar.bz2
drakx-2cb625e200a67c1d71f22fddf9d40d183a29b2ce.tar.xz
drakx-2cb625e200a67c1d71f22fddf9d40d183a29b2ce.zip
do not compare translated string, on Pixel's advice
Diffstat (limited to 'perl-install/network')
-rw-r--r--perl-install/network/netconnect.pm6
1 files changed, 3 insertions, 3 deletions
diff --git a/perl-install/network/netconnect.pm b/perl-install/network/netconnect.pm
index 740eace89..83e8d1cae 100644
--- a/perl-install/network/netconnect.pm
+++ b/perl-install/network/netconnect.pm
@@ -1262,8 +1262,8 @@ N("Last but not least you can also type in your DNS server IP addresses."),
help => N("By default search domain will be set from the fully-qualified host name") },
{ label => N("Gateway (e.g. %s)", $gateway_ex), val => \$netc->{GATEWAY} },
if_(@all_cards > 1,
- { label => N("Gateway device"), val => \$netc->{GATEWAYDEV}, list => [ N("None"), sort keys %all_eth_intf ],
- format => sub { $all_eth_intf{$_[0]} || $_[0] } },
+ { label => N("Gateway device"), val => \$netc->{GATEWAYDEV}, list => [ N_("None"), sort keys %all_eth_intf ],
+ format => sub { $all_eth_intf{$_[0]} || translate($_[0]) } },
),
),
];
@@ -1281,7 +1281,7 @@ N("Last but not least you can also type in your DNS server IP addresses."),
}
},
post => sub {
- $netc->{GATEWAYDEV} eq N("None") and delete $netc->{GATEWAYDEV};
+ $netc->{GATEWAYDEV} eq "None" and delete $netc->{GATEWAYDEV};
return "zeroconf";
}
},