Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/archinstall/lib/menu
diff options
context:
space:
mode:
authorDaniel Girtler <blackrabbit256@gmail.com>2022-09-08 00:29:04 +1000
committerGitHub <noreply@github.com>2022-09-07 16:29:04 +0200
commitd2484f67cbe9a87d8448d61dd9caaf3a99d232de (patch)
treeaf1e9563975d2630b03ab61d4c92fb354bc6534f /archinstall/lib/menu
parenta2adeca5eba17afc36d964879ce30e88a0e6a3ba (diff)
Update the action text (#1462)
Co-authored-by: Daniel Girtler <girtler.daniel@gmail.com>
Diffstat (limited to 'archinstall/lib/menu')
-rw-r--r--archinstall/lib/menu/menu.py13
1 files changed, 8 insertions, 5 deletions
diff --git a/archinstall/lib/menu/menu.py b/archinstall/lib/menu/menu.py
index 1e6f0110..16153e2c 100644
--- a/archinstall/lib/menu/menu.py
+++ b/archinstall/lib/menu/menu.py
@@ -162,14 +162,17 @@ class Menu(TerminalMenu):
action_info = ''
if skip:
- action_info += str(_("Use ESC to skip"))
+ action_info += str(_('ESC to skip'))
if self._raise_error_on_interrupt:
- if len(action_info) > 0:
- action_info += '\n'
- action_info += str(_('Use CTRL+C to reset current selection\n\n'))
+ action_info += ', ' if len(action_info) > 0 else ''
+ action_info += str(_('CTRL+C to reset'))
- menu_title += action_info
+ if multi:
+ action_info += ', ' if len(action_info) > 0 else ''
+ action_info += str(_('TAB to select'))
+
+ menu_title += action_info + '\n'
if default_option:
# if a default value was specified we move that one