mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-07-25 23:45:49 -04:00
improved usage statistics in IdDialog
This commit is contained in:
parent
0cdce37af4
commit
caf0bfc4e9
1 changed files with 6 additions and 13 deletions
|
@ -2060,9 +2060,11 @@ QString IdDialog::createUsageString(const RsIdentityUsage& u) const
|
||||||
return tr("Admin signature verification in service %1").arg(service_name);
|
return tr("Admin signature verification in service %1").arg(service_name);
|
||||||
case RsIdentityUsage::GROUP_AUTHOR_SIGNATURE_CREATION: // not typically used, since most services do not require group author signatures
|
case RsIdentityUsage::GROUP_AUTHOR_SIGNATURE_CREATION: // not typically used, since most services do not require group author signatures
|
||||||
return tr("Creation of author signature in service %1").arg(service_name);
|
return tr("Creation of author signature in service %1").arg(service_name);
|
||||||
case RsIdentityUsage::GROUP_AUTHOR_SIGNATURE_VALIDATION:
|
|
||||||
case RsIdentityUsage::MESSAGE_AUTHOR_SIGNATURE_CREATION: // most common use case. Messages are signed by authors in e.g. forums.
|
case RsIdentityUsage::MESSAGE_AUTHOR_SIGNATURE_CREATION: // most common use case. Messages are signed by authors in e.g. forums.
|
||||||
|
return tr("Message signature creation in group %1 of service %2").arg(QString::fromStdString(u.mGrpId.toStdString())).arg(service_name);
|
||||||
case RsIdentityUsage::GROUP_AUTHOR_KEEP_ALIVE: // Identities are stamped regularly by crawlign the set of messages for all groups. That helps keepign the useful identities in hand.
|
case RsIdentityUsage::GROUP_AUTHOR_KEEP_ALIVE: // Identities are stamped regularly by crawlign the set of messages for all groups. That helps keepign the useful identities in hand.
|
||||||
|
case RsIdentityUsage::GROUP_AUTHOR_SIGNATURE_VALIDATION:
|
||||||
|
return tr("Group author for group %1 in service %2").arg(QString::fromStdString(u.mGrpId.toStdString())).arg(service_name);
|
||||||
break ;
|
break ;
|
||||||
case RsIdentityUsage::MESSAGE_AUTHOR_SIGNATURE_VALIDATION:
|
case RsIdentityUsage::MESSAGE_AUTHOR_SIGNATURE_VALIDATION:
|
||||||
case RsIdentityUsage::MESSAGE_AUTHOR_KEEP_ALIVE: // Identities are stamped regularly by crawlign the set of messages for all groups. That helps keepign the useful identities in hand.
|
case RsIdentityUsage::MESSAGE_AUTHOR_KEEP_ALIVE: // Identities are stamped regularly by crawlign the set of messages for all groups. That helps keepign the useful identities in hand.
|
||||||
|
@ -2106,18 +2108,9 @@ QString IdDialog::createUsageString(const RsIdentityUsage& u) const
|
||||||
{
|
{
|
||||||
return tr("Generic signature.");
|
return tr("Generic signature.");
|
||||||
}
|
}
|
||||||
case RsIdentityUsage::IDENTITY_GENERIC_ENCRYPTION:
|
case RsIdentityUsage::IDENTITY_GENERIC_ENCRYPTION: return tr("Generic encryption.");
|
||||||
{
|
case RsIdentityUsage::IDENTITY_GENERIC_DECRYPTION: return tr("Generic decryption.");
|
||||||
return tr("Generic encryption.");
|
case RsIdentityUsage::CIRCLE_MEMBERSHIP_CHECK: return tr("Membership verification in circle %1.").arg(QString::fromStdString(u.mGrpId.toStdString()));
|
||||||
}
|
|
||||||
case RsIdentityUsage::IDENTITY_GENERIC_DECRYPTION:
|
|
||||||
{
|
|
||||||
return tr("Generic decryption.");
|
|
||||||
}
|
|
||||||
case RsIdentityUsage::CIRCLE_MEMBERSHIP_CHECK:
|
|
||||||
{
|
|
||||||
return tr("Membership verification in circle %1.").arg(QString::fromStdString(u.mGrpId.toStdString()));
|
|
||||||
}
|
|
||||||
|
|
||||||
#warning TODO! csoler 2017-01-03: Add the different strings and translations here.
|
#warning TODO! csoler 2017-01-03: Add the different strings and translations here.
|
||||||
default:
|
default:
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue