Browse Source

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.
Ghostkeeper 7 years ago
parent
commit
3f7eaaae94
1 changed files with 1 additions and 1 deletions
  1. 1 1
      resources/qml/SidebarHeader.qml

+ 1 - 1
resources/qml/SidebarHeader.qml

@@ -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")