mirror of
https://github.com/RetroShare/RetroShare.git
synced 2024-10-01 02:35:48 -04:00
improved text for security item
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@7022 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
parent
bbdc978d00
commit
8594d68985
@ -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.");
|
||||
|
Loading…
Reference in New Issue
Block a user