parent
07ef1bdf2b
commit
6bbf496ab2
|
|
@ -132,7 +132,7 @@ class Preference extends Model
|
|||
*/
|
||||
public function getLocaleOptions()
|
||||
{
|
||||
$locales = Config::get('app.localeOptions', [
|
||||
$localeOptions = [
|
||||
'cs' => [Lang::get('system::lang.locale.cs'), 'flag-cz'],
|
||||
'da' => [Lang::get('system::lang.locale.da'), 'flag-dk'],
|
||||
'en' => [Lang::get('system::lang.locale.en'), 'flag-us'],
|
||||
|
|
@ -162,7 +162,9 @@ class Preference extends Model
|
|||
'zh-tw' => [Lang::get('system::lang.locale.zh-tw'), 'flag-tw'],
|
||||
'nb-no' => [Lang::get('system::lang.locale.nb-no'), 'flag-no'],
|
||||
'el' => [Lang::get('system::lang.locale.el'), 'flag-gr'],
|
||||
]);
|
||||
];
|
||||
|
||||
$locales = Config::get('app.localeOptions', $localeOptions);
|
||||
|
||||
// Sort locales alphabetically
|
||||
asort($locales);
|
||||
|
|
|
|||
Loading…
Reference in New Issue