From fe4230b5fd63031d2139bc44129e3ebbed7dc201 Mon Sep 17 00:00:00 2001 From: James Graham Date: Sat, 30 Sep 2023 10:54:07 +0100 Subject: [PATCH] Use variable placeholder instead of string concatenation --- src/qml/RemoveChildDialog.qml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/qml/RemoveChildDialog.qml b/src/qml/RemoveChildDialog.qml index ef201c8a0..87e90463c 100644 --- a/src/qml/RemoveChildDialog.qml +++ b/src/qml/RemoveChildDialog.qml @@ -38,7 +38,7 @@ Kirigami.Dialog { FormCard.FormCard { Layout.topMargin: Kirigami.Units.largeSpacing FormCard.FormTextDelegate { - text: i18n("The child ") + root.displayName + i18n(" will be removed from the space ") + root.parentDisplayName + text: i18n("The child %1 will be removed from the space %2", root.displayName, root.parentDisplayName) textItem.wrapMode: Text.Wrap } FormCard.FormCheckDelegate {