Remove no longer needed language file names.

This commit is contained in:
Michal Čihař
2010-04-09 13:54:15 +02:00
parent a86d3fee48
commit f9ccd69538
14 changed files with 92 additions and 94 deletions

View File

@@ -77,8 +77,8 @@ if (!$is_https) {
$lang_name = ucfirst(substr(strrchr($each_lang[0], '|'), 1));
// Include native name if non empty
if (!empty($each_lang[3])) {
$lang_name = $each_lang[3] . ' - ' . $lang_name;
if (!empty($each_lang[2])) {
$lang_name = $each_lang[2] . ' - ' . $lang_name;
}
//Is current one active?
@@ -174,8 +174,8 @@ $opts = array(
foreach ($all_languages as $each_lang_key => $each_lang) {
$lang_name = ucfirst(substr(strrchr($each_lang[0], '|'), 1));
// Include native name if non empty
if (!empty($each_lang[3])) {
$lang_name = $each_lang[3] . ' - ' . $lang_name;
if (!empty($each_lang[2])) {
$lang_name = $each_lang[2] . ' - ' . $lang_name;
}
$opts['values'][$each_lang_key] = $lang_name;
}