index : archinstall32 | |
Archlinux32 installer | gitolite user |
summaryrefslogtreecommitdiff |
author | Daniel Girtler <blackrabbit256@gmail.com> | 2022-06-07 01:26:27 +1000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-06-06 17:26:27 +0200 |
commit | 2d4b2620462a0fb4c9496ed0629d7ab8930fc73a (patch) | |
tree | df1850ae1c717a3f1ea5d0fd39351b6482b35770 /archinstall/lib/menu | |
parent | f2492ca574448fe4bd44604316da322720e70040 (diff) |
-rw-r--r-- | archinstall/lib/menu/selection_menu.py | 10 |
diff --git a/archinstall/lib/menu/selection_menu.py b/archinstall/lib/menu/selection_menu.py index d4a7ceef..8dd6fcce 100644 --- a/archinstall/lib/menu/selection_menu.py +++ b/archinstall/lib/menu/selection_menu.py @@ -15,15 +15,6 @@ if TYPE_CHECKING: _: Any -def select_archinstall_language(preset_value: str) -> Optional[Any]: - """ - copied from user_interaction/general_conf.py as a temporary measure - """ - languages = Translation.get_available_lang() - language = Menu(_('Archinstall language'), languages, preset_values=preset_value).run() - return language.value - - class Selector: def __init__( self, @@ -462,6 +453,7 @@ class GeneralMenu: return mandatory_fields, mandatory_waiting def _select_archinstall_language(self, preset_value: str) -> str: + from ... import select_archinstall_language language = select_archinstall_language(preset_value) if language is not None: self._translation.activate(language) |