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