mirror of
https://github.com/Retropex/bitcoin.git
synced 2025-05-19 06:30:45 +02: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:
parent
9980f4aa5e
commit
a70a98075a
@ -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); });
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user