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