From d3d3148c820b4588e808592bbcb84113d7813bb2 Mon Sep 17 00:00:00 2001 From: pedrolab Date: Tue, 27 Nov 2018 03:18:19 +0100 Subject: [PATCH] substitute friend to trusted node in statusbar --- retroshare-gui/src/gui/statusbar/dhtstatus.cpp | 4 ++-- retroshare-gui/src/gui/statusbar/peerstatus.cpp | 6 +++--- retroshare-gui/src/gui/statusbar/torstatus.cpp | 2 +- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/retroshare-gui/src/gui/statusbar/dhtstatus.cpp b/retroshare-gui/src/gui/statusbar/dhtstatus.cpp index 936ab0035..c21a13a5f 100644 --- a/retroshare-gui/src/gui/statusbar/dhtstatus.cpp +++ b/retroshare-gui/src/gui/statusbar/dhtstatus.cpp @@ -41,8 +41,8 @@ DHTStatus::DHTStatus(QWidget *parent) statusDHT = new QLabel("" + tr("DHT") + ":", this ); statusDHT->setToolTip(tr("

Retroshare uses Bittorrent's DHT as a proxy for connexions. It does not \"store\" your IP in the DHT. \ - Instead the DHT is used by your friends to reach you while processing standard DHT requests. \ - The status bullet will turn green as soon as Retroshare gets a DHT response from one of your friends.

")) ; + Instead the DHT is used by your trusted nodes to reach you while processing standard DHT requests. \ + The status bullet will turn green as soon as Retroshare gets a DHT response from one of your trusted nodes.

")) ; hbox->addWidget(statusDHT); dhtstatusLabel = new QLabel( this ); diff --git a/retroshare-gui/src/gui/statusbar/peerstatus.cpp b/retroshare-gui/src/gui/statusbar/peerstatus.cpp index 084620a95..54b782213 100644 --- a/retroshare-gui/src/gui/statusbar/peerstatus.cpp +++ b/retroshare-gui/src/gui/statusbar/peerstatus.cpp @@ -37,7 +37,7 @@ PeerStatus::PeerStatus(QWidget *parent) iconLabel->setPixmap(QPixmap(":/icons/avatar_grey_128.png").scaledToHeight(S,Qt::SmoothTransformation)); hbox->addWidget(iconLabel); - statusPeers = new QLabel( tr("Friends: 0/0"), this ); + statusPeers = new QLabel( tr("Trusted nodes: 0/0"), this ); hbox->addWidget(statusPeers); _compactMode = false; @@ -51,10 +51,10 @@ void PeerStatus::getPeerStatus(unsigned int nFriendCount, unsigned int nOnlineCo /* set users/friends/network */ if (statusPeers){ - statusPeers->setToolTip(tr("Online Friends/Total Friends") ); + statusPeers->setToolTip(tr("Online Trusted nodes/Total trusted nodes") ); QString text; if (_compactMode) text = QString("%1/%2").arg(nOnlineCount).arg(nFriendCount); - else text = QString("%1: %2/%3 ").arg(tr("Friends")).arg(nOnlineCount).arg(nFriendCount); + else text = QString("%1: %2/%3 ").arg(tr("Trusted nodes")).arg(nOnlineCount).arg(nFriendCount); statusPeers -> setText(text); } int S = QFontMetricsF(iconLabel->font()).height(); diff --git a/retroshare-gui/src/gui/statusbar/torstatus.cpp b/retroshare-gui/src/gui/statusbar/torstatus.cpp index 26c9a896a..718fc4731 100644 --- a/retroshare-gui/src/gui/statusbar/torstatus.cpp +++ b/retroshare-gui/src/gui/statusbar/torstatus.cpp @@ -42,7 +42,7 @@ TorStatus::TorStatus(QWidget *parent) hbox->setSpacing(6); statusTor = new QLabel("" + tr("Tor") + ":", this ); - statusTor->setToolTip(tr("

This version of Retroshare uses Tor to connect to your friends.

")) ; + statusTor->setToolTip(tr("

This version of Retroshare uses Tor to connect to your trusted nodes.

")) ; hbox->addWidget(statusTor); torstatusLabel = new QLabel( this );