mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-11 16:57:51 -06:00

Previously it was 5s and the message would disappear before the user had a chance to press the "Monitor print" button. CURA-8018
17 lines
555 B
Python
17 lines
555 B
Python
# Copyright (c) 2019 Ultimaker B.V.
|
|
# Cura is released under the terms of the LGPLv3 or higher.
|
|
from UM import i18nCatalog
|
|
from UM.Message import Message
|
|
|
|
|
|
I18N_CATALOG = i18nCatalog("cura")
|
|
|
|
|
|
class PrintJobUploadSuccessMessage(Message):
|
|
"""Message shown when uploading a print job to a cluster succeeded."""
|
|
|
|
def __init__(self) -> None:
|
|
super().__init__(
|
|
text = I18N_CATALOG.i18nc("@info:status", "Print job was successfully sent to the printer."),
|
|
title = I18N_CATALOG.i18nc("@info:title", "Data Sent")
|
|
)
|