with translations now in /view/lang/lng shift the array index along
This commit is contained in:
parent
82dcc3fe79
commit
8b972510fe
1 changed files with 1 additions and 1 deletions
|
@ -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 a new issue