From 8b972510fe2463fe2cd20db70e1fd6d0d05bdee6 Mon Sep 17 00:00:00 2001 From: Tobias Diekershoff Date: Sat, 1 Oct 2016 16:07:23 +0200 Subject: [PATCH] with translations now in /view/lang/lng shift the array index along --- include/pgettext.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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;