changeset: 6866:46194ca48b2f
user:      Kevin McCarthy <[email protected]>
date:      Fri Nov 18 14:20:54 2016 -0800
link:      http://dev.mutt.org/hg/mutt/rev/46194ca48b2f

Improve two compress translation messages.

Change the "Error executing" to "Error running", which is used in
multiple places elsewhere in mutt.  This also removes the
unnecessary newline.

Remove the leading space in the "Error compressing" message, and
change it to match the error message in editmsg.c.

diffs (21 lines):

diff -r 174062d0abed -r 46194ca48b2f compress.c
--- a/compress.c        Fri Nov 18 18:17:02 2016 +0100
+++ b/compress.c        Fri Nov 18 14:20:54 2016 -0800
@@ -441,7 +441,7 @@
   {
     rc = 0;
     mutt_any_key_to_continue (NULL);
-    mutt_error (_("Error executing: %s\n"), sys_cmd);
+    mutt_error (_("Error running \"%s\"!"), sys_cmd);
   }
 
   mutt_unblock_signals();
@@ -657,7 +657,7 @@
   if (rc == 0)
   {
     mutt_any_key_to_continue (NULL);
-    mutt_error (_(" %s: Error compressing mailbox!  Uncompressed one 
kept!\n"), ctx->path);
+    mutt_error (_("Error. Preserving temporary file: %s"), ctx->path);
   }
   else
     remove (ctx->path);

Reply via email to