From dbfe103e03ebe7c206eebb4b8c18722176f2f4af Mon Sep 17 00:00:00 2001 From: defnax Date: Thu, 14 May 2009 22:30:30 +0000 Subject: [PATCH] changend string names for logs git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@1239 b45a01b8-16f6-495d-af2f-9b41ad6348cc --- retroshare-gui/src/gui/NetworkDialog.cpp | 16 ++++++++-------- retroshare-gui/src/gui/statusbar/natstatus.cpp | 4 ++-- 2 files changed, 10 insertions(+), 10 deletions(-) diff --git a/retroshare-gui/src/gui/NetworkDialog.cpp b/retroshare-gui/src/gui/NetworkDialog.cpp index 7798fe0b9..56ce55a61 100644 --- a/retroshare-gui/src/gui/NetworkDialog.cpp +++ b/retroshare-gui/src/gui/NetworkDialog.cpp @@ -651,20 +651,20 @@ void NetworkDialog::getNetworkStatus() if(config.netUdpOk) { - setLogInfo(tr("UDP Port is reachable"), QString::fromUtf8("green")); + setLogInfo(tr("UDP Port is active (UDP Connections)"), QString::fromUtf8("green")); } else { - setLogInfo(tr("UDP Port is not reachable"), QString::fromUtf8("red")); + setLogInfo(tr("UDP Port is not active"), QString::fromUtf8("red")); } if(config.netTcpOk) { - setLogInfo(tr("TCP Port is reachable"), QString::fromUtf8("green")); + setLogInfo(tr("TCP Port is active (TCP Server)"), QString::fromUtf8("green")); } else { - setLogInfo(tr("TCP Port is not reachable"), QString::fromUtf8("red")); + setLogInfo(tr("TCP Port is not active"), QString::fromUtf8("red")); } if (config.netExtOk) @@ -736,23 +736,23 @@ void NetworkDialog::updateNetworkStatus() if(config.netUdpOk) { ui.iconlabel_udp->setPixmap(QPixmap::QPixmap(":/images/ledon1.png")); - ui.textlabel_udp->setText(tr("UDP Port is reachable")); + ui.textlabel_udp->setText(tr("UDP Port is active ( UDP Connections )")); } else { ui.iconlabel_udp->setPixmap(QPixmap::QPixmap(":/images/ledoff1.png")); - ui.textlabel_udp->setText(tr("UDP Port is not reachable")); + ui.textlabel_udp->setText(tr("UDP Port is not active")); } if(config.netTcpOk) { ui.iconlabel_tcp->setPixmap(QPixmap::QPixmap(":/images/ledon1.png")); - ui.textlabel_tcp->setText(tr("TCP Port is reachable")); + ui.textlabel_tcp->setText(tr("TCP Port is active (TCP Server)")); } else { ui.iconlabel_tcp->setPixmap(QPixmap::QPixmap(":/images/ledoff1.png")); - ui.textlabel_tcp->setText(tr("TCP Port is not reachable")); + ui.textlabel_tcp->setText(tr("TCP Port is not active")); } if (config.netExtOk) diff --git a/retroshare-gui/src/gui/statusbar/natstatus.cpp b/retroshare-gui/src/gui/statusbar/natstatus.cpp index 2547a4617..470ea0c45 100644 --- a/retroshare-gui/src/gui/statusbar/natstatus.cpp +++ b/retroshare-gui/src/gui/statusbar/natstatus.cpp @@ -119,12 +119,12 @@ void NATStatus::getNATStatus() if (config.netUpnpOk || config.netTcpOk) { iconLabel->setPixmap(QPixmap::QPixmap(":/images/greenled.png")); - iconLabel->setToolTip(tr("RetroShare Server")); + iconLabel->setToolTip(tr("OK | RetroShare Server")); } else { iconLabel->setPixmap(QPixmap::QPixmap(":/images/greenled.png")); - iconLabel->setToolTip(tr("UDP Server")); + iconLabel->setToolTip(tr("OK | UDP Server")); } } else if (config.netOk)