Skip to content

Commit

Permalink
Merchant: strip html tags out of translatable string
Browse files Browse the repository at this point in the history
  • Loading branch information
xiphon committed Jan 28, 2020
1 parent 6de8547 commit e59e247
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion pages/merchant/Merchant.qml
Expand Up @@ -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

Expand Down

0 comments on commit e59e247

Please sign in to comment.