index : archinstall32 | |
Archlinux32 installer | gitolite user |
summaryrefslogtreecommitdiff |
author | codefiles <11915375+codefiles@users.noreply.github.com> | 2023-09-20 02:04:23 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-09-20 08:04:23 +0200 |
commit | b1e00687953de168bbc31ea435b2c5bdc7c61e39 (patch) | |
tree | dd9f5ef41efb7d604129a5e81fada7c982d8ae9c /archinstall/lib | |
parent | 33d084f16a9055df0327930abe43f7b91429cf24 (diff) |
-rw-r--r-- | archinstall/lib/locale/locale_menu.py | 10 |
diff --git a/archinstall/lib/locale/locale_menu.py b/archinstall/lib/locale/locale_menu.py index 29dd775d..2e254315 100644 --- a/archinstall/lib/locale/locale_menu.py +++ b/archinstall/lib/locale/locale_menu.py @@ -52,9 +52,9 @@ class LocaleMenu(AbstractSubMenu): def __init__( self, data_store: Dict[str, Any], - locele_conf: LocaleConfiguration + locale_conf: LocaleConfiguration ): - self._preset = locele_conf + self._preset = locale_conf super().__init__(data_store=data_store) def setup_selection_menu_options(self): @@ -62,19 +62,19 @@ class LocaleMenu(AbstractSubMenu): Selector( _('Keyboard layout'), lambda preset: self._select_kb_layout(preset), - default='us', + default=self._preset.kb_layout, enabled=True) self._menu_options['sys-language'] = \ Selector( _('Locale language'), lambda preset: select_locale_lang(preset), - default='en_US', + default=self._preset.sys_lang, enabled=True) self._menu_options['sys-encoding'] = \ Selector( _('Locale encoding'), lambda preset: select_locale_enc(preset), - default='UTF-8', + default=self._preset.sys_enc, enabled=True) def run(self, allow_reset: bool = True) -> LocaleConfiguration: |