Improve titles for slice failure messages a bit

The previous ones were very vague.
This commit is contained in:
Ghostkeeper 2017-09-14 16:40:20 +02:00
parent 241a7a4fb2
commit bf96be3ab2
No known key found for this signature in database
GPG key ID: C5F96EE2BC0F7E75

View file

@ -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: