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:
Michael Vogel 2016-10-01 20:48:22 +02:00 committed by GitHub
commit 3e31b2c81a

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;