Parent Directory | Revision Log | Revision Graph | Patch
Revision 1.1 by unnilennium, Thu Aug 4 11:00:36 2016 UTC | Revision 1.2 by unnilennium, Sat Apr 15 04:11:53 2017 UTC | |
---|---|---|
# | Line 6 diff -Nur e-smith-base-5.8.0.old/root/et | Line 6 diff -Nur e-smith-base-5.8.0.old/root/et |
6 | close F; | close F; |
7 | ||
8 | - my $lang = ($line =~ /^LANG="(.*)"/) ? $1 : "en-us"; | - my $lang = ($line =~ /^LANG="(.*)"/) ? $1 : "en-us"; |
9 | + my $lang = ($line =~ /^LANG="?(.*)"?/) ? $1 : "en_US.UTF-8"; | + my $lang = ($line =~ /^LANG="?([a-zA-Z0-9_.-]*)"?/) ? $1 : "en_US.UTF-8"; |
10 | ||
11 | my $kbdtype = "pc"; | my $kbdtype = "pc"; |
12 | my $keytable = "us"; | my $keytable = "us"; |
|
admin@koozali.org | ViewVC Help |
Powered by ViewVC 1.2.1 |