Add message type to cloud

CURA-8601
This commit is contained in:
Jaime van Kessel 2021-10-01 11:54:27 +02:00
parent d4c4b11927
commit 6bc9aaa4bf

View file

@ -20,7 +20,8 @@ class CloudFlowMessage(Message):
super().__init__(
text=I18N_CATALOG.i18nc("@info:status",
f"Your printer <b>{printer_name}</b> could be connected via cloud.\n Manage your print queue and monitor your prints from anywhere connecting your printer to Digital Factory"),
title=I18N_CATALOG.i18nc("@info:title", "Are you ready for cloud printing?")
title=I18N_CATALOG.i18nc("@info:title", "Are you ready for cloud printing?"),
message_type=Message.MessageType.CLOUD
)
self._printer_name = printer_name
self.addAction("get_started", I18N_CATALOG.i18nc("@action", "Get started"), "", "")