mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-08-12 19:29:02 +08:00
Improve titles for slice failure messages a bit
The previous ones were very vague.
This commit is contained in:
parent
241a7a4fb2
commit
bf96be3ab2
@ -278,7 +278,7 @@ class CuraEngineBackend(QObject, Backend):
|
||||
if job.getResult() == StartSliceJob.StartJobResult.MaterialIncompatible:
|
||||
if Application.getInstance().platformActivity:
|
||||
self._error_message = Message(catalog.i18nc("@info:status",
|
||||
"The selected material is incompatible with the selected machine or configuration."), title = catalog.i18nc("@info:title", "Material Details"))
|
||||
"The selected material is incompatible with the selected machine or configuration."), title = catalog.i18nc("@info:title", "Incompatible material"))
|
||||
self._error_message.show()
|
||||
self.backendStateChange.emit(BackendState.Error)
|
||||
else:
|
||||
@ -306,7 +306,7 @@ class CuraEngineBackend(QObject, Backend):
|
||||
|
||||
error_labels = ", ".join(error_labels)
|
||||
self._error_message = Message(catalog.i18nc("@info:status", "Unable to slice with the current settings. The following settings have errors: {0}".format(error_labels)),
|
||||
title = catalog.i18nc("@info:title", "Setting Details"))
|
||||
title = catalog.i18nc("@info:title", "Invalid settings"))
|
||||
self._error_message.show()
|
||||
self.backendStateChange.emit(BackendState.Error)
|
||||
else:
|
||||
|
Loading…
x
Reference in New Issue
Block a user