From c32677d27a417b00e222ce2a1222f3749e477f5e Mon Sep 17 00:00:00 2001 From: Ghostkeeper Date: Fri, 6 Mar 2020 15:58:41 +0100 Subject: [PATCH] Don't hard-code application name here either Seems that there are 30-ish places where this is hard-coded in the rest of our code base too. I'm not going to fix all of those. --- resources/qml/Cura.qml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/resources/qml/Cura.qml b/resources/qml/Cura.qml index 48be891a71..ed2c6dc5fe 100644 --- a/resources/qml/Cura.qml +++ b/resources/qml/Cura.qml @@ -560,8 +560,8 @@ UM.MainWindow MessageDialog { id: exitConfirmationDialog - title: catalog.i18nc("@title:window", "Closing Cura") - text: catalog.i18nc("@label", "Are you sure you want to exit Cura?") + title: catalog.i18nc("@title:window %1 is the application name", "Closing %1").arg(CuraApplication.applicationDisplayName) + text: catalog.i18nc("@label %1 is the application name", "Are you sure you want to exit %1?").arg(CuraApplication.applicationDisplayName) icon: StandardIcon.Question modality: Qt.ApplicationModal standardButtons: StandardButton.Yes | StandardButton.No @@ -573,7 +573,7 @@ UM.MainWindow if (!visible) { // reset the text to default because other modules may change the message text. - text = catalog.i18nc("@label", "Are you sure you want to exit Cura?"); + text = catalog.i18nc("@label %1 is the application name", "Are you sure you want to exit %1?").arg(CuraApplication.applicationDisplayName); } } }