summaryrefslogtreecommitdiff
path: root/sfx2/source
diff options
context:
space:
mode:
authorThorsten Behrens <Thorsten.Behrens@CIB.de>2017-12-08 00:34:06 +0100
committerThorsten Behrens <Thorsten.Behrens@CIB.de>2017-12-08 11:22:49 +0100
commitd46dc8e547810208287aab77f0313f1971901464 (patch)
tree747ff156bb111596ad14d4c0a6dd257d4a3ebb5f /sfx2/source
parente235dbcb4b2999f5a3f9f42dc723ac7510053a63 (diff)
gpg4libre: add error string for failed/untrusted encryption
There's one rather common failure mode with gpg, in that untrusted keys are not accepted by gpgme for encryption. A user can override that with --trust-model config or cmd line params, but we can't do much from the gpgme client side: https://www.gnupg.org/documentation/manuals/gnupg/GPG-Configuration-Options.html Change-Id: Ia140a7fd25bd3f428aa11a7ceb0b7bdc47b2c900 Reviewed-on: https://gerrit.libreoffice.org/46060 Reviewed-by: Thorsten Behrens <Thorsten.Behrens@CIB.de> Tested-by: Thorsten Behrens <Thorsten.Behrens@CIB.de>
Diffstat (limited to 'sfx2/source')
-rw-r--r--sfx2/source/dialog/filedlghelper.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sfx2/source/dialog/filedlghelper.cxx b/sfx2/source/dialog/filedlghelper.cxx
index 84e248bfa390..4fbec31928ae 100644
--- a/sfx2/source/dialog/filedlghelper.cxx
+++ b/sfx2/source/dialog/filedlghelper.cxx
@@ -1534,7 +1534,7 @@ ErrCode FileDialogHelper_Impl::execute( std::vector<OUString>& rpURLList,
{
ScopedVclPtrInstance< MessageDialog > aBox(
mpPreferredParentWindow,
- SfxResId(RID_SVXSTR_INCORRECT_PASSWORD));
+ SfxResId(RID_SVXSTR_GPG_ENCRYPT_FAILURE));
aBox->Execute();
}
}