mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-06-25 06:40:58 -04:00
gui changes
This commit is contained in:
parent
b0251e3806
commit
6ec191944d
2 changed files with 15 additions and 10 deletions
|
@ -967,20 +967,24 @@ void ServerPage::loadHiddenNode()
|
|||
|
||||
updateOutProxyIndicator();
|
||||
|
||||
QString expected;
|
||||
QString expected = "";
|
||||
switch (mHiddenType) {
|
||||
case RS_HIDDEN_TYPE_I2P:
|
||||
ui.l_serviceAddress->setText(tr("I2P Address"));
|
||||
ui.l_incomingTestResult->setText(tr("I2P incoming ok"));
|
||||
|
||||
expected = "--TODO-- see http://127.0.0.1:7657/i2ptunnelmgr";
|
||||
expected += "http://127.0.0.1:7657/i2ptunnelmgr - I2P Hidden Services\n";
|
||||
expected += tr("Points at: ");
|
||||
expected += QString::fromStdString(detail.localAddr);
|
||||
expected += ":";
|
||||
expected += QString::number(detail.localPort);
|
||||
break;
|
||||
case RS_HIDDEN_TYPE_TOR:
|
||||
default:
|
||||
ui.l_serviceAddress->setText(tr("Onion Address"));
|
||||
ui.l_incomingTestResult->setText(tr("Tor incoming ok"));
|
||||
|
||||
expected = "HiddenServiceDir </your/path/to/hidden/directory/service>\n";
|
||||
expected += "HiddenServiceDir </your/path/to/hidden/directory/service>\n";
|
||||
expected += "HiddenServicePort ";
|
||||
expected += QString::number(detail.hiddenNodePort);
|
||||
expected += " ";
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue