[checklang] Don't normalize languages to lc.
"serendipity_lang_pt_PT.inc.php" is mixed case and won't be found if languages are normalized to lowercase. Signed-off-by: Thomas Hochstein <thh@inter.net>
This commit is contained in:
parent
75a6309fe3
commit
2d7c9a0db2
@ -11,7 +11,8 @@ function get_langs($lang_dir='.') {
|
||||
if(!preg_match('/^serendipity_lang_(.+)\.inc\.php$/', $file, $matches)) {
|
||||
continue;
|
||||
} else {
|
||||
$languages[] = strtolower($matches[1]);
|
||||
# $languages[] = strtolower($matches[1]);
|
||||
$languages[] = $matches[1];
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user