diff options
author | Thierry Vignaud <tv@mandriva.org> | 2006-12-05 19:32:24 +0000 |
---|---|---|
committer | Thierry Vignaud <tv@mandriva.org> | 2006-12-05 19:32:24 +0000 |
commit | 6cceefeb89af8318dc50aacb34cab71ab63cc7d6 (patch) | |
tree | f4a541c38e17f325770e1123a10703bcccdad3a3 | |
parent | 30868f2ebd78bc51dbc14dbda4ee896b16e53000 (diff) | |
download | mgaonline-6cceefeb89af8318dc50aacb34cab71ab63cc7d6.tar mgaonline-6cceefeb89af8318dc50aacb34cab71ab63cc7d6.tar.gz mgaonline-6cceefeb89af8318dc50aacb34cab71ab63cc7d6.tar.bz2 mgaonline-6cceefeb89af8318dc50aacb34cab71ab63cc7d6.tar.xz mgaonline-6cceefeb89af8318dc50aacb34cab71ab63cc7d6.zip |
(send_conf_via_soap) the server expect a 2 letters ISO code, not
country's full name
-rwxr-xr-x | mdkonline | 4 |
1 files changed, 1 insertions, 3 deletions
@@ -33,7 +33,6 @@ use wizards; use lang; use Getopt::Long; -use Encode qw(encode); BEGIN { unshift @::textdomains, 'mdkonline', 'drakfirstboot' } @@ -113,8 +112,7 @@ sub get_conf() { sub send_conf_via_soap { my ($login, $password, $boxname, $descboxname, $country) = @_; my $_w = $in->wait_message(N("Please wait"), N("Reading configuration\n")) if $ia; - my $country = encode("UTF-8", $country); - my $reg_host = mdkonline::register_upload_host($login, $password, $boxname, $descboxname, $country); + my $reg_host = mdkonline::register_upload_host($login, $password, $boxname, $descboxname, $locale->{country}); } my $wiz = |