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:
thunder2 2011-01-09 14:47:52 +00:00
parent f82a9a3c5f
commit 8014ee372d
3 changed files with 12 additions and 8 deletions

View File

@ -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);

View File

@ -2408,7 +2408,7 @@ p, li { white-space: pre-wrap; }
</message>
<message>
<location line="+173"/>
<location filename="../gui/forums/CreateForumMsg.cpp" line="+71"/>
<location filename="../gui/forums/CreateForumMsg.cpp" line="+73"/>
<source>Paste RetroShare Link</source>
<translation>RetroShare Link einfügen</translation>
</message>
@ -2854,7 +2854,7 @@ Das ist nützlich, wenn Du eine externe Festplatte freigibst und die Datei nicht
<context>
<name>DiscStatus</name>
<message>
<location filename="../gui/statusbar/discstatus.cpp" line="+39"/>
<location filename="../gui/statusbar/discstatus.cpp" line="+41"/>
<source>Waiting outgoing discovery operations</source>
<translation>Wartende ausgehene Discovery-Operationen</translation>
</message>
@ -7131,11 +7131,15 @@ p, li { white-space: pre-wrap; }
</context>
<context>
<name>PeerDefs</name>
<message>
<source>Anonymous</source>
<translation type="obsolete">Anonym</translation>
</message>
<message>
<location filename="../gui/common/PeerDefs.cpp" line="+40"/>
<location line="+20"/>
<source>Anonymous</source>
<translation>Anonym</translation>
<source>Unknown</source>
<translation>Unbekannt</translation>
</message>
</context>
<context>
@ -7270,12 +7274,12 @@ p, li { white-space: pre-wrap; }
<message>
<location filename="../gui/statusbar/peerstatus.cpp" line="+41"/>
<source>Friends: 0/0</source>
<translation type="unfinished"></translation>
<translation>Freunde: 0/0</translation>
</message>
<message>
<location line="+18"/>
<source>Online Friends/Total Friends</source>
<translation type="unfinished"></translation>
<translation>Freunde online / Freunde total</translation>
</message>
<message>
<location line="+3"/>