mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-14 10:17:52 -06:00
Created Print job upload Queue Full Message
This message is shown to the user in Cura when the digital factory returns a 409, because the queue is full CURA-7760 sending multiple printjobs notifications
This commit is contained in:
parent
0493fb24df
commit
d78ddd6c17
1 changed files with 19 additions and 0 deletions
|
@ -0,0 +1,19 @@
|
|||
# Copyright (c) 2020 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 PrintJobUploadQueueFullMessage(Message):
|
||||
"""Message shown when uploading a print job to a cluster and the print queue is full."""
|
||||
|
||||
def __init__(self) -> None:
|
||||
super().__init__(
|
||||
text = I18N_CATALOG.i18nc("@info:status", "Print job queue is full. The printer can't accept a new job."),
|
||||
title = I18N_CATALOG.i18nc("@info:title", "Queue Full"),
|
||||
lifetime = 10
|
||||
)
|
Loading…
Add table
Add a link
Reference in a new issue