mirror of
https://github.com/Icinga/icingaweb2.git
synced 2026-05-28 04:02:39 -04:00
PreferenceForm: Fix that the default locale is not choosable
refs #4376
This commit is contained in:
parent
6e3ad08aef
commit
caef8dab6a
1 changed files with 1 additions and 0 deletions
|
|
@ -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…
Reference in a new issue