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

This commit is contained in:
Luke Dashjr authored and Hennadii Stepanov committed 2023-03-31 12:22:11 +01:00
1 parent 170f3126f2
commit 1b0407f5f1
1 file changed
+2 -2
+2 -2
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>";
} }
} }