Make translation a bit easier to get grammatically correct

We should not append translations to each other. That doesn't work in different languages.

Contributes to issue CURA-6257.
This commit is contained in:
Ghostkeeper 2019-03-13 14:13:30 +01:00
parent 31c57d0113
commit 04f11e4abf
No known key found for this signature in database
GPG key ID: 86BEF881AE2CF276

View file

@ -20,7 +20,7 @@ Column
anchors.horizontalCenter: parent.horizontalCenter
horizontalAlignment: Text.AlignHCenter
renderType: Text.NativeRendering
text: catalog.i18nc("@label", "Hi " + profile.username)
text: catalog.i18nc("@label The argument is a username.", "Hi %1").format(profile.username)
font: UM.Theme.getFont("large_bold")
color: UM.Theme.getColor("text")
}