From 8594d6898597fbe2a1b3193956b27402193896a1 Mon Sep 17 00:00:00 2001 From: csoler Date: Thu, 16 Jan 2014 20:20:17 +0000 Subject: [PATCH] improved text for security item git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@7022 b45a01b8-16f6-495d-af2f-9b41ad6348cc --- retroshare-gui/src/gui/feeds/SecurityItem.cpp | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/retroshare-gui/src/gui/feeds/SecurityItem.cpp b/retroshare-gui/src/gui/feeds/SecurityItem.cpp index 47a9fb552..85ec1df05 100644 --- a/retroshare-gui/src/gui/feeds/SecurityItem.cpp +++ b/retroshare-gui/src/gui/feeds/SecurityItem.cpp @@ -127,12 +127,18 @@ void SecurityItem::updateItemStatic() requestLabel->hide(); break; case RS_FEED_ITEM_SEC_WRONG_SIGNATURE: - title = tr("Certificate has wrong signature!! Probably a forged certificate."); + title = tr("Certificate has wrong signature!! Peer is not who he claims to be."); requestLabel->hide(); break; case RS_FEED_ITEM_SEC_BAD_CERTIFICATE: - title = tr("Certificate is invalid. This peer is probably not who he claims to be."); + { + RsPeerDetails details ; + if(rsPeers->getPeerDetails(mGpgId, details)) + title = tr("Missing/Damaged certificate. Someone is probably trying to impersonate key ") + QString::fromStdString(mGpgId); + else + title = tr("Missing/Damaged certificate. Not a real Retroshare user."); requestLabel->hide(); + } break; case RS_FEED_ITEM_SEC_INTERNAL_ERROR: title = tr("Certificate caused an internal error.");