mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-05-13 19:42:28 -04:00
Changed the display of the not known peer name from "Anonymous" to "Unknown".
Fixed german language. git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@3960 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
parent
f82a9a3c5f
commit
8014ee372d
3 changed files with 12 additions and 8 deletions
|
@ -37,7 +37,7 @@ const QString PeerDefs::nameWithLocation(const RsPeerDetails &details)
|
|||
const QString PeerDefs::rsid(const std::string &name, const std::string &id)
|
||||
{
|
||||
if (name.empty()) {
|
||||
return qApp->translate("PeerDefs", "Anonymous") + "@" + QString::fromStdString(id);
|
||||
return qApp->translate("PeerDefs", "Unknown") + "@" + QString::fromStdString(id);
|
||||
}
|
||||
|
||||
return QString::fromStdString(name) + "@" + QString::fromStdString(id);
|
||||
|
@ -57,7 +57,7 @@ const QString PeerDefs::rsidFromId(const std::string &id, QString *name /*= NULL
|
|||
rsid = PeerDefs::rsid("", id);
|
||||
|
||||
if (name) {
|
||||
*name = qApp->translate("PeerDefs", "Anonymous");
|
||||
*name = qApp->translate("PeerDefs", "Unknown");
|
||||
}
|
||||
} else {
|
||||
rsid = PeerDefs::rsid(peerName, id);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue