|
|
a85e8e |
From 723d82b17a3a0083b9aa84c797571392079a8cff Mon Sep 17 00:00:00 2001
|
|
|
a85e8e |
From: William Jon McCann <william.jon.mccann@gmail.com>
|
|
|
a85e8e |
Date: Fri, 7 Jun 2013 11:09:04 -0400
|
|
|
a85e8e |
Subject: [PATCH 107/260] Message string cleanups
|
|
|
a85e8e |
|
|
|
a85e8e |
Make use of terminology consistent. Remove jargon.
|
|
|
a85e8e |
---
|
|
|
a85e8e |
grub-core/normal/menu_text.c | 21 +++++++++------------
|
|
|
a85e8e |
1 file changed, 9 insertions(+), 12 deletions(-)
|
|
|
a85e8e |
|
|
|
a85e8e |
diff --git a/grub-core/normal/menu_text.c b/grub-core/normal/menu_text.c
|
|
|
a85e8e |
index 2f84fccb6..9d20c6b85 100644
|
|
|
a85e8e |
--- a/grub-core/normal/menu_text.c
|
|
|
a85e8e |
+++ b/grub-core/normal/menu_text.c
|
|
|
a85e8e |
@@ -157,9 +157,8 @@ print_message (int nested, int edit, struct grub_term_output *term, int dry_run)
|
|
|
a85e8e |
|
|
|
a85e8e |
if (edit)
|
|
|
a85e8e |
{
|
|
|
a85e8e |
- ret += grub_print_message_indented_real (_("Minimum Emacs-like screen editing is \
|
|
|
a85e8e |
-supported. TAB lists completions. Press Ctrl-x or F10 to boot, Ctrl-c or F2 for a \
|
|
|
a85e8e |
-command-line or ESC to discard edits and return to the GRUB menu."),
|
|
|
a85e8e |
+ ret += grub_print_message_indented_real (_("Press Ctrl-x or F10 to start, Ctrl-c or F2 for a \
|
|
|
a85e8e |
+command prompt or Escape to discard edits and return to the menu. Pressing Tab lists possible completions."),
|
|
|
a85e8e |
STANDARD_MARGIN, STANDARD_MARGIN,
|
|
|
a85e8e |
term, dry_run);
|
|
|
a85e8e |
}
|
|
|
a85e8e |
@@ -167,8 +166,8 @@ command-line or ESC to discard edits and return to the GRUB menu."),
|
|
|
a85e8e |
{
|
|
|
a85e8e |
char *msg_translated;
|
|
|
a85e8e |
|
|
|
a85e8e |
- msg_translated = grub_xasprintf (_("Use the %C and %C keys to select which "
|
|
|
a85e8e |
- "entry is highlighted."),
|
|
|
a85e8e |
+ msg_translated = grub_xasprintf (_("Use the %C and %C keys to change the "
|
|
|
a85e8e |
+ "selection."),
|
|
|
a85e8e |
GRUB_UNICODE_UPARROW,
|
|
|
a85e8e |
GRUB_UNICODE_DOWNARROW);
|
|
|
a85e8e |
if (!msg_translated)
|
|
|
a85e8e |
@@ -181,17 +180,15 @@ command-line or ESC to discard edits and return to the GRUB menu."),
|
|
|
a85e8e |
if (nested)
|
|
|
a85e8e |
{
|
|
|
a85e8e |
ret += grub_print_message_indented_real
|
|
|
a85e8e |
- (_("Press enter to boot the selected OS, "
|
|
|
a85e8e |
- "`e' to edit the commands before booting "
|
|
|
a85e8e |
- "or `c' for a command-line. ESC to return previous menu."),
|
|
|
a85e8e |
+ (_("Press 'e' to edit the selected item, "
|
|
|
a85e8e |
+ "or 'c' for a command prompt. Press Escape to return to the previous menu."),
|
|
|
a85e8e |
STANDARD_MARGIN, STANDARD_MARGIN, term, dry_run);
|
|
|
a85e8e |
}
|
|
|
a85e8e |
else
|
|
|
a85e8e |
{
|
|
|
a85e8e |
ret += grub_print_message_indented_real
|
|
|
a85e8e |
- (_("Press enter to boot the selected OS, "
|
|
|
a85e8e |
- "`e' to edit the commands before booting "
|
|
|
a85e8e |
- "or `c' for a command-line."),
|
|
|
a85e8e |
+ (_("Press 'e' to edit the selected item, "
|
|
|
a85e8e |
+ "or 'c' for a command prompt."),
|
|
|
a85e8e |
STANDARD_MARGIN, STANDARD_MARGIN, term, dry_run);
|
|
|
a85e8e |
}
|
|
|
a85e8e |
}
|
|
|
a85e8e |
@@ -440,7 +437,7 @@ menu_text_print_timeout (int timeout, void *dataptr)
|
|
|
a85e8e |
|| data->timeout_msg == TIMEOUT_TERSE_NO_MARGIN)
|
|
|
a85e8e |
msg_translated = grub_xasprintf (_("%ds"), timeout);
|
|
|
a85e8e |
else
|
|
|
a85e8e |
- msg_translated = grub_xasprintf (_("The highlighted entry will be executed automatically in %ds."), timeout);
|
|
|
a85e8e |
+ msg_translated = grub_xasprintf (_("The selected entry will be started automatically in %ds."), timeout);
|
|
|
a85e8e |
if (!msg_translated)
|
|
|
a85e8e |
{
|
|
|
a85e8e |
grub_print_error ();
|
|
|
a85e8e |
--
|
|
|
a85e8e |
2.13.0
|
|
|
a85e8e |
|