Blame SOURCES/0107-Message-string-cleanups.patch

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