mirror of
https://github.com/Icinga/icingaweb2.git
synced 2025-07-23 22:04:25 +02:00
PreferenceForm: Fix that the default locale is not choosable
refs #4376
This commit is contained in:
parent
6e3ad08aef
commit
caef8dab6a
@ -213,6 +213,7 @@ class PreferenceForm extends Form
|
||||
$languages['autodetect'] = sprintf($this->translate('Browser (%s)', 'preferences.form'), $locale);
|
||||
}
|
||||
|
||||
$availableLocales[] = $translator->getDefaultLocale();
|
||||
foreach ($availableLocales as $language) {
|
||||
$languages[$language] = $language;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user