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

Bugfix: GUI: transactiondesc: Translate outlier "own address" and "watch-only"

This commit is contained in:
Luke Dashjr 2022-05-15 21:58:31 +00:00 committed by Hennadii Stepanov
parent 170f3126f2
commit 1b0407f5f1
No known key found for this signature in database
GPG key ID: 410108112E7EA81F

View file

@ -248,9 +248,9 @@ QString TransactionDesc::toHTML(interfaces::Node& node, interfaces::Wallet& wall
strHTML += GUIUtil::HtmlEscape(name) + " "; strHTML += GUIUtil::HtmlEscape(name) + " ";
strHTML += GUIUtil::HtmlEscape(EncodeDestination(address)); strHTML += GUIUtil::HtmlEscape(EncodeDestination(address));
if(toSelf == ISMINE_SPENDABLE) if(toSelf == ISMINE_SPENDABLE)
strHTML += " (own address)"; strHTML += " (" + tr("own address") + ")";
else if(toSelf & ISMINE_WATCH_ONLY) else if(toSelf & ISMINE_WATCH_ONLY)
strHTML += " (watch-only)"; strHTML += " (" + tr("watch-only") + ")";
strHTML += "<br>"; strHTML += "<br>";
} }
} }