update language strings and corrected connect attempt message

git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@5155 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
defnax 2012-05-09 13:49:23 +00:00
parent 5bdd490a4d
commit 438651f693
28 changed files with 182 additions and 170 deletions

View file

@ -467,7 +467,7 @@ void MessageComposer::sendConnectAttemptMsg(const std::string &gpgId, const std:
return;
}
QString title = QString("%1 %2").arg(sslName, tr("wants to be friend with you on RetroShare"));
QString title = QString("%1 %2").arg(sslName, tr("wants to be friends with you on RetroShare"));
/* search for an exisiting message in the inbox */
std::list<MsgInfoSummary> msgList;
@ -490,7 +490,7 @@ void MessageComposer::sendConnectAttemptMsg(const std::string &gpgId, const std:
}
/* create a message */
QString msgText = tr("Hi %1,<br>%2 wants to be friend with you on RetroShare.<br><br>Respond now<br>%3<br><br>Thanks.<br>The RetroShare Team").arg(QString::fromUtf8(rsPeers->getGPGName(rsPeers->getGPGOwnId()).c_str()), sslName, link.toHtml());
QString msgText = tr("Hi %1,<br><br>%2 wants to be friends with you on RetroShare.<br><br>Respond now:<br>%3<br><br>Thanks,<br>The RetroShare Team").arg(QString::fromUtf8(rsPeers->getGPGName(rsPeers->getGPGOwnId()).c_str()), sslName, link.toHtml());
rsMsgs->SystemMessage(title.toStdWString(), msgText.toStdWString(), RS_MSG_USER_REQUEST);
}