From: Tobias Diekershoff Date: Sat, 1 Oct 2016 14:07:23 +0000 (+0200) Subject: with translations now in /view/lang/lng shift the array index along X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=8b972510fe2463fe2cd20db70e1fd6d0d05bdee6;p=friendica.git with translations now in /view/lang/lng shift the array index along --- diff --git a/include/pgettext.php b/include/pgettext.php index 3c389ce2e5..b400baa3cf 100644 --- a/include/pgettext.php +++ b/include/pgettext.php @@ -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;