0
0
Fork 0
mirror of https://github.com/bitcoin/bitcoin.git synced 2025-03-05 14:06:27 -05:00

qt: improve text for open third-party tx url action

The text for an open third-party tx URL action
is improved by appending the host name with "Show in".
This makes it self-explanatory what the action will do.
This commit is contained in:
Jarol Rodriguez 2021-09-23 20:42:21 -04:00
parent 9980f4aa5e
commit a70a98075a

View file

@ -230,7 +230,10 @@ void TransactionView::setModel(WalletModel *_model)
{ {
if (i == 0) if (i == 0)
contextMenu->addSeparator(); contextMenu->addSeparator();
contextMenu->addAction(host, [this, url] { openThirdPartyTxUrl(url); }); /*: Transactions table context menu action to show the
selected transaction in a third-party block explorer.
%1 is a stand-in argument for the URL of the explorer. */
contextMenu->addAction(tr("Show in %1").arg(host), [this, url] { openThirdPartyTxUrl(url); });
} }
} }
} }