]> granicus.if.org Git - neomutt/commitdiff
Improve two compress translation messages.
authorKevin McCarthy <kevin@8t8.us>
Fri, 18 Nov 2016 22:20:54 +0000 (14:20 -0800)
committerKevin McCarthy <kevin@8t8.us>
Fri, 18 Nov 2016 22:20:54 +0000 (14:20 -0800)
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.

compress.c

index 0df85aedbdd782180cce4f506e54786fb8a82f02..68a54b7a98808b67797fbed115739ad19549e2f5 100644 (file)
@@ -441,7 +441,7 @@ execute_command (CONTEXT *ctx, const char *command, const char *progress)
   {
     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 @@ close_mailbox (CONTEXT *ctx)
   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);