changend string names for logs

git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@1239 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
defnax 2009-05-14 22:30:30 +00:00
parent cd961bf49f
commit dbfe103e03
2 changed files with 10 additions and 10 deletions

View File

@ -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)

View File

@ -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)