summaryrefslogtreecommitdiffstats
path: root/perl-install/keyboard.pm
diff options
context:
space:
mode:
Diffstat (limited to 'perl-install/keyboard.pm')
-rw-r--r--perl-install/keyboard.pm4
1 files changed, 2 insertions, 2 deletions
diff --git a/perl-install/keyboard.pm b/perl-install/keyboard.pm
index 1d27cc74d..8b1cedcd4 100644
--- a/perl-install/keyboard.pm
+++ b/perl-install/keyboard.pm
@@ -443,9 +443,9 @@ sub lang2keyboards {
my @li = sort { $b->[1] <=> $a->[1] } map { @$_ } map {
my $h = lang::analyse_locale_name($_);
#- example: pt_BR and pt
- my @l = (if_($h->{country}, $h->{main} . '_' . $h->{country}), $h->{main});
+ my @l = (if_($h->{country}, $h->{main} . '_' . $h->{country}), $h->{main}, 'en');
my $k = find { $_ } map { $lang2keyboard{$_} } @l;
- unpack_keyboards($k) || [ [ ($keyboards{$_} ? $_ : "us") => 100 ] ];
+ unpack_keyboards($k) || internal_error();
} @_;
\@li;
}