From efce84284e13d45020f80a3bf79067bc65515df7 Mon Sep 17 00:00:00 2001 From: "c.lamboo" Date: Fri, 15 Jul 2022 10:29:56 +0200 Subject: [PATCH] Update translation strings The profile name in the translation string was hard coded to be prepended before the actual string. Put this in the translation string as some languages may change the position of this part of the sentence. --- .../PrintSetupSelector/Recommended/ProfileWarningReset.qml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/resources/qml/PrintSetupSelector/Recommended/ProfileWarningReset.qml b/resources/qml/PrintSetupSelector/Recommended/ProfileWarningReset.qml index 1a54dc27db..10f006538b 100644 --- a/resources/qml/PrintSetupSelector/Recommended/ProfileWarningReset.qml +++ b/resources/qml/PrintSetupSelector/Recommended/ProfileWarningReset.qml @@ -51,7 +51,7 @@ Item target: warning text: { var profile_name = Cura.MachineManager.activeQualityChangesGroup.name - return "%1 %2".arg(profile_name).arg(catalog.i18nc("@info", "custom profile is active and you overwrote some settings.")) + return catalog.i18nc("@info, %1 is the name of the custom profile", "%1 custom profile is active and you overwrote some settings.").arg(profile_name) } } @@ -65,7 +65,7 @@ Item target: warning text: { var profile_name = Cura.MachineManager.activeQualityChangesGroup.name - return "%1 %2".arg(profile_name).arg(catalog.i18nc("@info", "custom profile is overriding some settings.")) + return catalog.i18nc("@info, %1 is the name of the custom profile", "%1 custom profile is overriding some settings.").arg(profile_name) } } },