aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorxiphon <xiphon@protonmail.com>2020-01-28 16:31:04 +0000
committerxiphon <xiphon@protonmail.com>2020-01-28 16:33:01 +0000
commite59e2470482f9d2fbcd7846f5b34ddf41043c943 (patch)
tree062ece58823558323373d1613cf8cf455149eeb5
parent6de8547047d5801181b61cbbc707a44a4ee5e77b (diff)
downloadmonzero-gui-e59e2470482f9d2fbcd7846f5b34ddf41043c943.tar.gz
monzero-gui-e59e2470482f9d2fbcd7846f5b34ddf41043c943.tar.xz
monzero-gui-e59e2470482f9d2fbcd7846f5b34ddf41043c943.zip
Merchant: strip html tags out of translatable string
-rw-r--r--pages/merchant/Merchant.qml5
1 files changed, 4 insertions, 1 deletions
diff --git a/pages/merchant/Merchant.qml b/pages/merchant/Merchant.qml
index aa17d9f3..58ca99b5 100644
--- a/pages/merchant/Merchant.qml
+++ b/pages/merchant/Merchant.qml
@@ -265,7 +265,10 @@ Item {
font.pixelSize: 12
font.bold: false
color: "white"
- text: qsTr("<style type='text/css'>a {text-decoration: none; color: #FF6C3C; font-size: 12px;}</style>Currently selected address: ") + addressLabel + qsTr(" <a href='#'>(Change)</a>") + translationManager.emptyString
+ text: "<style type='text/css'>a {text-decoration: none; color: #FF6C3C; font-size: 12px;}</style>%1: %2 <a href='#'>(%3)</a>"
+ .arg(qsTr("Currently selected address"))
+ .arg(addressLabel)
+ .arg(qsTr("Change")) + translationManager.emptyString
textFormat: Text.RichText
themeTransition: false