From 38c16f6a4ddbc5f3e20889e661e9dd495ebc709d Mon Sep 17 00:00:00 2001 From: Daouda Lo Date: Fri, 1 Oct 2004 07:32:20 +0000 Subject: - fixed format interactive --- mdkonline_tui | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'mdkonline_tui') diff --git a/mdkonline_tui b/mdkonline_tui index 4e6334f8..8cc3212d 100755 --- a/mdkonline_tui +++ b/mdkonline_tui @@ -52,6 +52,7 @@ my $choice = $choices{account}; my ($wiz, $login, $nlogin, $password, $npassword, $boxname, $cfmpassword, $email, $is_success, $key, $r, $createaccount, $sendconfres, $country); my %countries = map { lang::c2name($_) => $_ } lang::list_countries(); +$country = lang::c2name(lang::read('', $>)->{country}); sub read_conf() { my $wideconf = '/etc/sysconfig/mdkonline'; @@ -171,8 +172,7 @@ $wiz = { data => sub { if ($sendconfres eq 'TRUE' && $key) { [ - { label => N("Country"), val => \$country, format => \&lang::c2name(lang::read('', $>)->{country}) , type => "combo", - list => [ sort keys %countries ], not_edit => 0 } + { label => N("Country"), val => \$country, type => "combo", list => [ sort keys %countries ], not_edit => 0 } ] } }, -- cgit v1.2.1