dcavalca / rpms / grub2

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