gui changes

This commit is contained in:
sehraf 2015-09-14 12:39:46 +02:00
parent b0251e3806
commit 6ec191944d
2 changed files with 15 additions and 10 deletions

View File

@ -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 += " ";

View File

@ -1023,7 +1023,7 @@ are running a standard Node, so why not setup Tor and/or I2P? </string>
<item>
<widget class="QLabel" name="label_12">
<property name="text">
<string>Expected torrc Port Configuration:</string>
<string>Expected Configuration:</string>
</property>
</widget>
</item>
@ -1079,14 +1079,15 @@ HiddenServicePort 9191 127.0.0.1:9191</string>
<bool>true</bool>
</property>
<property name="plainText">
<string>To Receive Connections, you must first setup a Tor Hidden Service.
See Tor documentation for HOWTO details.
<string>To Receive Connections, you must first setup a Tor/I2P Hidden Service.
For Tor: See torrc and documentation for HOWTO details.
For I2P: See http://127.0.0.1:7657/i2ptunnelmgr and documentation for HOWTO details.
Once this is done, paste the Onion Address in the box above.
This is your external address on the Tor network.
Finally make sure that the Ports match the Tor configuration.
Once this is done, paste the Onion/I2P (Base32) Address in the box above.
This is your external address on the Tor/I2P network.
Finally make sure that the Ports match the configuration.
If you have issues connecting over Tor check the Tor logs too.</string>
If you have issues connecting over Tor check the Tor logs, too.</string>
</property>
</widget>
</item>