mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-11-27 21:01:11 -07:00
Updated message with message types
Contributes to CURA-8418
This commit is contained in:
parent
900db57f0f
commit
2263969d5f
26 changed files with 136 additions and 82 deletions
|
|
@ -11,7 +11,7 @@ class PrintJobUploadErrorMessage(Message):
|
|||
"""Message shown when uploading a print job to a cluster failed."""
|
||||
|
||||
def __init__(self, message: str = None) -> None:
|
||||
super().__init__(
|
||||
super(PrintJobUploadErrorMessage, self).__init__(
|
||||
text = message or I18N_CATALOG.i18nc("@info:text", "Could not upload the data to the printer."),
|
||||
title = I18N_CATALOG.i18nc("@info:title", "Network error"),
|
||||
message_type=Message.MessageType.ERROR
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue