limit max number of feed items to 500, to avoid flooding possibility. Improved text

git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@7023 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
csoler 2014-01-16 20:51:13 +00:00
parent 8594d68985
commit b8c65db00e
3 changed files with 16 additions and 4 deletions

View file

@ -127,14 +127,14 @@ void SecurityItem::updateItemStatic()
requestLabel->hide();
break;
case RS_FEED_ITEM_SEC_WRONG_SIGNATURE:
title = tr("Certificate has wrong signature!! Peer is not who he claims to be.");
title = tr("Certificate has wrong signature!! This peer is not who he claims to be.");
requestLabel->hide();
break;
case RS_FEED_ITEM_SEC_BAD_CERTIFICATE:
{
RsPeerDetails details ;
if(rsPeers->getPeerDetails(mGpgId, details))
title = tr("Missing/Damaged certificate. Someone is probably trying to impersonate key ") + QString::fromStdString(mGpgId);
title = tr("Missing/Damaged SSL certificate for key ") + QString::fromStdString(mGpgId) ;
else
title = tr("Missing/Damaged certificate. Not a real Retroshare user.");
requestLabel->hide();