diff options
author | Werner Koch <wk@gnupg.org> | 2015-11-06 13:29:01 +0100 |
---|---|---|
committer | Werner Koch <wk@gnupg.org> | 2015-11-06 13:29:01 +0100 |
commit | 2242658efe0c975a46c3316bc9171ddbce085e2c (patch) | |
tree | 36191b7525a8b0513fe00dd59e7032b6c2114556 | |
parent | common: Fix commit f99830b. (diff) | |
download | gnupg2-2242658efe0c975a46c3316bc9171ddbce085e2c.tar.xz gnupg2-2242658efe0c975a46c3316bc9171ddbce085e2c.zip |
gpg: Avoid new strings.
* g10/decrypt-data.c (decrypt_data): Use already translated strings.
Signed-off-by: Werner Koch <wk@gnupg.org>
-rw-r--r-- | g10/decrypt-data.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/g10/decrypt-data.c b/g10/decrypt-data.c index 970d91128..2d9f54f31 100644 --- a/g10/decrypt-data.c +++ b/g10/decrypt-data.c @@ -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); |