mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-08-14 02:35:53 +08:00
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.
This commit is contained in:
parent
b572fc68de
commit
c32677d27a
@ -560,8 +560,8 @@ UM.MainWindow
|
|||||||
MessageDialog
|
MessageDialog
|
||||||
{
|
{
|
||||||
id: exitConfirmationDialog
|
id: exitConfirmationDialog
|
||||||
title: catalog.i18nc("@title:window", "Closing Cura")
|
title: catalog.i18nc("@title:window %1 is the application name", "Closing %1").arg(CuraApplication.applicationDisplayName)
|
||||||
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)
|
||||||
icon: StandardIcon.Question
|
icon: StandardIcon.Question
|
||||||
modality: Qt.ApplicationModal
|
modality: Qt.ApplicationModal
|
||||||
standardButtons: StandardButton.Yes | StandardButton.No
|
standardButtons: StandardButton.Yes | StandardButton.No
|
||||||
@ -573,7 +573,7 @@ UM.MainWindow
|
|||||||
if (!visible)
|
if (!visible)
|
||||||
{
|
{
|
||||||
// reset the text to default because other modules may change the message text.
|
// 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);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user