mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-06-07 14:12:43 -04:00
Added patch from Henry
- Changed some english strings Updated english translation. git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@5903 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
parent
f127201ae5
commit
4acc7e5e34
8 changed files with 239 additions and 136 deletions
|
@ -1872,14 +1872,21 @@ void ForumsFillThread::run()
|
|||
|
||||
item->setText(COLUMN_THREAD_TITLE, ForumsDialog::titleFromInfo(msginfo));
|
||||
|
||||
text = QString::fromUtf8(rsPeers->getPeerName(msginfo.srcId).c_str());
|
||||
if (text.isEmpty())
|
||||
if (msginfo.msgflags & RS_DISTRIB_MISSING_MSG)
|
||||
{
|
||||
item->setText(COLUMN_THREAD_AUTHOR, tr("Anonymous"));
|
||||
item->setText(COLUMN_THREAD_AUTHOR, tr("Unknown"));
|
||||
}
|
||||
else
|
||||
{
|
||||
item->setText(COLUMN_THREAD_AUTHOR, text);
|
||||
text = QString::fromUtf8(rsPeers->getPeerName(msginfo.srcId).c_str());
|
||||
if (text.isEmpty())
|
||||
{
|
||||
item->setText(COLUMN_THREAD_AUTHOR, tr("Anonymous"));
|
||||
}
|
||||
else
|
||||
{
|
||||
item->setText(COLUMN_THREAD_AUTHOR, text);
|
||||
}
|
||||
}
|
||||
|
||||
if (msginfo.msgflags & RS_DISTRIB_AUTHEN_REQ)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue