Skip to content

Commit a70a980

Browse files
committed
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.
1 parent 9980f4a commit a70a980

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

src/qt/transactionview.cpp

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -230,7 +230,10 @@ void TransactionView::setModel(WalletModel *_model)
230230
{
231231
if (i == 0)
232232
contextMenu->addSeparator();
233-
contextMenu->addAction(host, [this, url] { openThirdPartyTxUrl(url); });
233+
/*: Transactions table context menu action to show the
234+
selected transaction in a third-party block explorer.
235+
%1 is a stand-in argument for the URL of the explorer. */
236+
contextMenu->addAction(tr("Show in %1").arg(host), [this, url] { openThirdPartyTxUrl(url); });
234237
}
235238
}
236239
}

0 commit comments

Comments
 (0)