mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-08-15 21:45:51 +08:00
Spaces around assignment operator
According to UM codestyle Contributes to CURA-8601
This commit is contained in:
parent
527de2b6ef
commit
501b4c4fde
@ -21,14 +21,14 @@ class CloudFlowMessage(Message):
|
|||||||
"resources", "svg", "CloudPlatform.svg"
|
"resources", "svg", "CloudPlatform.svg"
|
||||||
)
|
)
|
||||||
super().__init__(
|
super().__init__(
|
||||||
text=I18N_CATALOG.i18nc("@info:status",
|
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"),
|
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?"),
|
||||||
image_source=QUrl.fromLocalFile(image_path)
|
image_source = QUrl.fromLocalFile(image_path)
|
||||||
)
|
)
|
||||||
self._printer_name = printer_name
|
self._printer_name = printer_name
|
||||||
self.addAction("get_started", I18N_CATALOG.i18nc("@action", "Get started"), "", "")
|
self.addAction("get_started", I18N_CATALOG.i18nc("@action", "Get started"), "", "")
|
||||||
self.addAction("learn_more", I18N_CATALOG.i18nc("@action", "Learn more"), "", "", button_style=Message.ActionButtonStyle.LINK, button_align=Message.ActionButtonAlignment.ALIGN_LEFT)
|
self.addAction("learn_more", I18N_CATALOG.i18nc("@action", "Learn more"), "", "", button_style = Message.ActionButtonStyle.LINK, button_align = Message.ActionButtonAlignment.ALIGN_LEFT)
|
||||||
|
|
||||||
self.actionTriggered.connect(self._onCloudFlowStarted)
|
self.actionTriggered.connect(self._onCloudFlowStarted)
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user