nalika / rpms / grub2

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