mirror of
https://github.com/RetroShare/RetroShare.git
synced 2024-10-01 02:35:48 -04:00
Update the tooltip for retroshare ID
This commit is contained in:
parent
a8637f6080
commit
777755e665
@ -311,8 +311,18 @@ void ConfCertDialog::loadInvitePage()
|
||||
QString ConfCertDialog::getCertificateDescription(const RsPeerDetails& detail,bool signatures_included,bool use_short_format,bool include_additional_locators)
|
||||
{
|
||||
//infotext += tr("<p>Use this certificate to make new friends. Send it by email, or give it hand to hand.</p>") ;
|
||||
QString infotext = QObject::tr("<p>This certificate contains:") ;
|
||||
infotext += "<UL>" ;
|
||||
QString infotext;
|
||||
|
||||
if(use_short_format)
|
||||
{
|
||||
infotext += tr("<p>This Retroshare ID contains:") ;
|
||||
}
|
||||
else
|
||||
{
|
||||
infotext += tr("<p>This certificate contains:") ;
|
||||
}
|
||||
|
||||
infotext += "<UL>" ;
|
||||
|
||||
if(use_short_format)
|
||||
{
|
||||
@ -350,6 +360,9 @@ QString ConfCertDialog::getCertificateDescription(const RsPeerDetails& detail,bo
|
||||
infotext += QString("</p>") ;
|
||||
|
||||
if(rsPeers->getOwnId() == detail.id)
|
||||
if(use_short_format)
|
||||
infotext += tr("<p>You can use this Retroshare ID to make new friends. Send it by email, or give it hand to hand.</p>") ;
|
||||
else
|
||||
infotext += tr("<p>You can use this certificate to make new friends. Send it by email, or give it hand to hand.</p>") ;
|
||||
|
||||
return infotext;
|
||||
|
Loading…
Reference in New Issue
Block a user