summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThierry Vignaud <tv@mandriva.org>2007-12-06 18:43:24 +0000
committerThierry Vignaud <tv@mandriva.org>2007-12-06 18:43:24 +0000
commit9cff9ab4d15aa0f216ba92a68a249ba8af7711fb (patch)
tree380b5beec3f7ca73e92386ed3474cc60dc670647
parent6a517f63e6bebc48506c177ff9fb3f32f640029b (diff)
downloaddrakx-9cff9ab4d15aa0f216ba92a68a249ba8af7711fb.tar
drakx-9cff9ab4d15aa0f216ba92a68a249ba8af7711fb.tar.gz
drakx-9cff9ab4d15aa0f216ba92a68a249ba8af7711fb.tar.bz2
drakx-9cff9ab4d15aa0f216ba92a68a249ba8af7711fb.tar.xz
drakx-9cff9ab4d15aa0f216ba92a68a249ba8af7711fb.zip
(selectLanguage_install) ensure langs are sorted in text mode
-rw-r--r--perl-install/any.pm2
-rw-r--r--perl-install/install/NEWS1
2 files changed, 2 insertions, 1 deletions
diff --git a/perl-install/any.pm b/perl-install/any.pm
index 8c9dea9f3..2d29ea66a 100644
--- a/perl-install/any.pm
+++ b/perl-install/any.pm
@@ -967,7 +967,7 @@ when your installation is complete and you restart your system.")),
{ val => \$lang, separator => '|',
if_($using_images, image2f => sub { $name2l{$_[0]} =~ /^[a-z]/ && "langs/lang-$name2l{$_[0]}" }),
format => sub { $_[0] =~ /(.*\|)(.*)/ ? $1 . lang::l2name($2) : lang::l2name($_[0]) },
- list => \@langs, sort => 0, changed => sub {
+ list => \@langs, sort => 1, changed => sub {
#- very special cases for langs which do not like UTF-8
$non_utf8 = $lang =~ /\bzh/ if !$utf8_forced;
}, focus_out => sub { $langs->{$listval2val->($lang)} = 1 } },
diff --git a/perl-install/install/NEWS b/perl-install/install/NEWS
index 2b59f0c31..9d8a9c890 100644
--- a/perl-install/install/NEWS
+++ b/perl-install/install/NEWS
@@ -1,3 +1,4 @@
+- sort languages in "choose language" step in text mode
- diskdrake:
o drop "Undo", "Restore partition table", "Save partition table"
(preparing to switch to libparted)