Skip to content

Commit

Permalink
qt: improve text for open third-party tx url action
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
jarolrod committed Sep 24, 2021
1 parent 9980f4a commit a70a980
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/qt/transactionview.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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); });
}
}
}
Expand Down

0 comments on commit a70a980

Please sign in to comment.