]> granicus.if.org Git - neomutt/commitdiff
Change the sort prompt to use (s)ort style prompts.
authorKevin McCarthy <kevin@8t8.us>
Tue, 18 Apr 2017 00:40:14 +0000 (17:40 -0700)
committerRichard Russon <rich@flatcap.org>
Tue, 18 Apr 2017 12:44:29 +0000 (13:44 +0100)
This is consistent with the rest of mutt, and in my opinion, more readable.

commands.c

index 9a05329ad1f5528b49343fd1677e66e2d1dd6e4f..a6f5dc26255a5928e7e384ea60a9b57dbe071270 100644 (file)
@@ -510,16 +510,17 @@ int mutt_select_sort(int reverse)
 {
   int method = Sort; /* save the current method in case of abort */
 
-  switch (mutt_multi_choice(
-      reverse ?
-          /* L10N: The highlighted letters must match the "Sort" options */
-          _("Rev-Sort "
-            "Date/Frm/Recv/Subj/tO/Thread/Unsort/siZe/sCore/sPam/Label?: ") :
-          /* L10N: The highlighted letters must match the "Rev-Sort" options */
-          _("Sort "
-            "Date/Frm/Recv/Subj/tO/Thread/Unsort/siZe/sCore/sPam/Label?: "),
-      /* L10N: These must match the highlighted letters from "Sort" and "Rev-Sort" */
-      _("dfrsotuzcpl")))
+  switch (mutt_multi_choice(reverse ?
+                                /* L10N: The highlighted letters must match the "Sort" options */
+                                _("Rev-Sort "
+                                  "(d)ate/(f)rm/(r)ecv/(s)ubj/t(o)/(t)hread/"
+                                  "(u)nsort/si(z)e/s(c)ore/s(p)am/(l)abel?: ") :
+                                /* L10N: The highlighted letters must match the "Rev-Sort" options */
+                                _("Sort "
+                                  "(d)ate/(f)rm/(r)ecv/(s)ubj/t(o)/(t)hread/"
+                                  "(u)nsort/si(z)e/s(c)ore/s(p)am/(l)abel?: "),
+                            /* L10N: These must match the highlighted letters from "Sort" and "Rev-Sort" */
+                            _("dfrsotuzcpl")))
   {
     case -1: /* abort - don't resort */
       return -1;