use Traditional Chinese for Hong Kong users

This commit is contained in:
Alexander M. Turek
2004-10-12 21:29:08 +00:00
parent 751404c428
commit 6f96840173
4 changed files with 14 additions and 10 deletions

View File

@@ -276,7 +276,7 @@ if (top != self) {
uasort($available_languages, 'PMA_cookie_cmp');
foreach ($available_languages AS $id => $tmplang) {
$lang_name = ucfirst(substr(strstr($tmplang[0], '|'), 1));
$lang_name = ucfirst(substr(strrchr($tmplang[0], '|'), 1));
if ($lang == $id) {
$selected = ' selected="selected"';
} else {