mirror of
https://github.com/RetroShare/RetroShare.git
synced 2024-10-01 02:35:48 -04:00
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:
parent
cd961bf49f
commit
dbfe103e03
@ -651,20 +651,20 @@ void NetworkDialog::getNetworkStatus()
|
|||||||
|
|
||||||
if(config.netUdpOk)
|
if(config.netUdpOk)
|
||||||
{
|
{
|
||||||
setLogInfo(tr("UDP Port is reachable"), QString::fromUtf8("green"));
|
setLogInfo(tr("UDP Port is active (UDP Connections)"), QString::fromUtf8("green"));
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
setLogInfo(tr("UDP Port is not reachable"), QString::fromUtf8("red"));
|
setLogInfo(tr("UDP Port is not active"), QString::fromUtf8("red"));
|
||||||
}
|
}
|
||||||
|
|
||||||
if(config.netTcpOk)
|
if(config.netTcpOk)
|
||||||
{
|
{
|
||||||
setLogInfo(tr("TCP Port is reachable"), QString::fromUtf8("green"));
|
setLogInfo(tr("TCP Port is active (TCP Server)"), QString::fromUtf8("green"));
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
setLogInfo(tr("TCP Port is not reachable"), QString::fromUtf8("red"));
|
setLogInfo(tr("TCP Port is not active"), QString::fromUtf8("red"));
|
||||||
}
|
}
|
||||||
|
|
||||||
if (config.netExtOk)
|
if (config.netExtOk)
|
||||||
@ -736,23 +736,23 @@ void NetworkDialog::updateNetworkStatus()
|
|||||||
if(config.netUdpOk)
|
if(config.netUdpOk)
|
||||||
{
|
{
|
||||||
ui.iconlabel_udp->setPixmap(QPixmap::QPixmap(":/images/ledon1.png"));
|
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
|
else
|
||||||
{
|
{
|
||||||
ui.iconlabel_udp->setPixmap(QPixmap::QPixmap(":/images/ledoff1.png"));
|
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)
|
if(config.netTcpOk)
|
||||||
{
|
{
|
||||||
ui.iconlabel_tcp->setPixmap(QPixmap::QPixmap(":/images/ledon1.png"));
|
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
|
else
|
||||||
{
|
{
|
||||||
ui.iconlabel_tcp->setPixmap(QPixmap::QPixmap(":/images/ledoff1.png"));
|
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)
|
if (config.netExtOk)
|
||||||
|
@ -119,12 +119,12 @@ void NATStatus::getNATStatus()
|
|||||||
if (config.netUpnpOk || config.netTcpOk)
|
if (config.netUpnpOk || config.netTcpOk)
|
||||||
{
|
{
|
||||||
iconLabel->setPixmap(QPixmap::QPixmap(":/images/greenled.png"));
|
iconLabel->setPixmap(QPixmap::QPixmap(":/images/greenled.png"));
|
||||||
iconLabel->setToolTip(tr("RetroShare Server"));
|
iconLabel->setToolTip(tr("OK | RetroShare Server"));
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
iconLabel->setPixmap(QPixmap::QPixmap(":/images/greenled.png"));
|
iconLabel->setPixmap(QPixmap::QPixmap(":/images/greenled.png"));
|
||||||
iconLabel->setToolTip(tr("UDP Server"));
|
iconLabel->setToolTip(tr("OK | UDP Server"));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
else if (config.netOk)
|
else if (config.netOk)
|
||||||
|
Loading…
Reference in New Issue
Block a user