From 04f11e4abf57a24bd0044cf820c6a0d92755dd94 Mon Sep 17 00:00:00 2001 From: Ghostkeeper Date: Wed, 13 Mar 2019 14:13:30 +0100 Subject: [PATCH] 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. --- resources/qml/Account/UserOperations.qml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/resources/qml/Account/UserOperations.qml b/resources/qml/Account/UserOperations.qml index c9fb461696..b6ae1efff6 100644 --- a/resources/qml/Account/UserOperations.qml +++ b/resources/qml/Account/UserOperations.qml @@ -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") }