Merge pull request #2828 from tobiasd/20161001-availlang
with translations now in /view/lang/lng shift the array index alongpull/2837/head
commit
3e31b2c81a
|
@ -179,7 +179,7 @@ function get_avaiable_languages() {
|
||||||
asort($langs);
|
asort($langs);
|
||||||
foreach($langs as $l) {
|
foreach($langs as $l) {
|
||||||
$t = explode("/",$l);
|
$t = explode("/",$l);
|
||||||
$lang_choices[$t[1]] = $t[1];
|
$lang_choices[$t[2]] = $t[2];
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
return $lang_choices;
|
return $lang_choices;
|
||||||
|
|
Loading…
Reference in New Issue