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