Skip to content

Commit 03b973e

Browse files
hebastojonatack
authored andcommitted
gui: improve connection type tooltip
- remove RPC and option names from the translatable string - use non-breaking hyphens
1 parent 28c6383 commit 03b973e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/qt/rpcconsole.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -463,7 +463,7 @@ RPCConsole::RPCConsole(interfaces::Node& node, const PlatformStyle *_platformSty
463463
ui->dataDir->setToolTip(ui->dataDir->toolTip().arg(QString(nonbreaking_hyphen) + "datadir"));
464464
ui->blocksDir->setToolTip(ui->blocksDir->toolTip().arg(QString(nonbreaking_hyphen) + "blocksdir"));
465465
ui->openDebugLogfileButton->setToolTip(ui->openDebugLogfileButton->toolTip().arg(PACKAGE_NAME));
466-
ui->peerConnectionTypeLabel->setToolTip(tr("The type of peer connection:<ul><li>Inbound: initiated by peer</li><li>Outbound Full Relay: default</li><li>Outbound Block Relay: does not relay transactions or addresses</li><li>Outbound Manual: added using RPC addnode or -addnode/-connect configuration options</li><li>Outbound Feeler: short-lived, for testing addresses</li><li>Outbound Address Fetch: short-lived, for soliciting addresses</li></ul>"));
466+
ui->peerConnectionTypeLabel->setToolTip(tr("The type of peer connection:<ul><li>Inbound: initiated by peer</li><li>Outbound Full Relay: default</li><li>Outbound Block Relay: does not relay transactions or addresses</li><li>Outbound Manual: added using RPC %1 or %2/%3 configuration options</li><li>Outbound Feeler: short-lived, for testing addresses</li><li>Outbound Address Fetch: short-lived, for soliciting addresses</li></ul>").arg("addnode").arg(QString(nonbreaking_hyphen) + "addnode").arg(QString(nonbreaking_hyphen) + "connect"));
467467

468468
if (platformStyle->getImagesOnButtons()) {
469469
ui->openDebugLogfileButton->setIcon(platformStyle->SingleColorIcon(":/icons/export"));

0 commit comments

Comments
 (0)