mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-05-06 16:15:23 -04:00
Fixed translations on StatusBar display.
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@2677 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
parent
523956c0bf
commit
e315d2efc7
43 changed files with 6324 additions and 5326 deletions
|
@ -71,12 +71,15 @@ void PeerStatus::getPeerStatus()
|
|||
rsPeers->getFriendList(ids);
|
||||
int friends = ids.size();
|
||||
|
||||
std::ostringstream out;
|
||||
out << friends << " ";
|
||||
|
||||
std::ostringstream out2;
|
||||
out2 << "<span style=\"color:#000000\"><strong>" << tr("Friends:").toStdString() << " " << friends << "</strong></span>" << " | " << "<span style=\"color:#0000FF\"><strong>" << tr("Online:").toStdString() << " " << online << "</strong></span>" << " ";
|
||||
out2 << online << " ";
|
||||
|
||||
|
||||
if (statusPeers)
|
||||
statusPeers -> setText(QString::fromStdString(out2.str()));
|
||||
statusPeers -> setText( tr("<span style=\"color:#000000\"><strong>Friends:</strong></span>") + " " + QString::fromStdString(out.str()) + " | " + tr("<span style=\"color:#0000FF\"><strong>Online:</strong></span>") + " " + QString::fromStdString(out2.str()) );
|
||||
|
||||
if (online > 0)
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue