gpg: Avoid new strings.
authorWerner Koch <wk@gnupg.org>
Fri, 6 Nov 2015 12:29:01 +0000 (13:29 +0100)
committerWerner Koch <wk@gnupg.org>
Fri, 6 Nov 2015 12:29:01 +0000 (13:29 +0100)
* g10/decrypt-data.c (decrypt_data): Use already translated strings.

Signed-off-by: Werner Koch <wk@gnupg.org>
g10/decrypt-data.c

index 970d911..2d9f54f 100644 (file)
@@ -239,10 +239,10 @@ decrypt_data (ctrl_t ctrl, void *procctx, PKT_encrypted *ed, DEK *dek)
 
           iobuf_copy (output, ed->buf);
           if ((rc = iobuf_error (ed->buf)))
-            log_error (_("error reading: %s: %s\n"),
+            log_error (_("error reading '%s': %s\n"),
                        filename, gpg_strerror (rc));
           else if ((rc = iobuf_error (output)))
-            log_error (_("error writing output ('%s'): %s\n"),
+            log_error (_("error writing '%s': %s\n"),
                        filename, gpg_strerror (rc));
 
           iobuf_close (output);