diff options
author | Jarol Rodriguez <jarolrod@tutanota.com> | 2021-09-23 20:42:21 -0400 |
---|---|---|
committer | Jarol Rodriguez <jarolrod@tutanota.com> | 2021-09-23 22:56:39 -0400 |
commit | a70a98075a0d258d41c1310553a2337538a1d80c (patch) | |
tree | 0a64784b397a417b60a2a1a9f765ccb12781a53f /src/qt | |
parent | 9980f4aa5eaf3c0f62cf699d6a9c4677a1ea3365 (diff) |
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.
Diffstat (limited to 'src/qt')
-rw-r--r-- | src/qt/transactionview.cpp | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/qt/transactionview.cpp b/src/qt/transactionview.cpp index 02c0153389..d9e770e2d4 100644 --- a/src/qt/transactionview.cpp +++ b/src/qt/transactionview.cpp @@ -230,7 +230,10 @@ void TransactionView::setModel(WalletModel *_model) { if (i == 0) 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); }); } } } |