diff options
Diffstat (limited to 'gpgcontext.cpp')
-rw-r--r-- | gpgcontext.cpp | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/gpgcontext.cpp b/gpgcontext.cpp index cf9cd1e..c06b4b5 100644 --- a/gpgcontext.cpp +++ b/gpgcontext.cpp @@ -379,10 +379,7 @@ bool GpgContext::decrypt(const QByteArray &inBuffer, QByteArray *outBuffer) result = gpgme_op_decrypt_result(mCtx); checkErr(result->recipients->status); errorString.append(gpgErrString(result->recipients->status)).append("<br>"); - - errorString.append(tr("<br>No private key with id ")) - .append(result->recipients->keyid) - .append(tr(" in keyring.")); + errorString.append(tr("<br>No private key with id %1 present in keyring").arg(result->recipients->keyid)); } else { errorString.append(gpgErrString(err)).append("<br>"); } |