with translations now in /view/lang/lng shift the array index along

This commit is contained in:
Tobias Diekershoff 2016-10-01 16:07:23 +02:00
parent 82dcc3fe79
commit 8b972510fe
1 changed files with 1 additions and 1 deletions

View File

@ -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;