Move HTML tags out of translated text

We always want the same HTML tag around it. There's no need to allow the translator to change that.

Discovered during issue CURA-4692.
This commit is contained in:
Ghostkeeper 2018-01-24 13:09:04 +01:00
parent d6182c8c49
commit 3f7eaaae94
No known key found for this signature in database
GPG key ID: 5252B696FB5E7C7A

View file

@ -349,7 +349,7 @@ Column
Label {
id: materialInfoLabel
wrapMode: Text.WordWrap
text: catalog.i18nc("@label", "<a href='%1'>Check compatibility</a>")
text: "<a href='%1'>" + catalog.i18nc("@label", "Check compatibility") + "</a>"
font: UM.Theme.getFont("default")
color: UM.Theme.getColor("text")
linkColor: UM.Theme.getColor("text_link")