From 31cb11ce63b2c6f529f10086b53d757c9f2b9479 Mon Sep 17 00:00:00 2001 From: "c.lamboo" Date: Thu, 27 Jul 2023 10:31:38 +0200 Subject: [PATCH] Update more copies CURA-10719 --- plugins/3MFReader/WorkspaceDialog.py | 29 ++++++++++++++------------- plugins/3MFReader/WorkspaceDialog.qml | 2 +- 2 files changed, 16 insertions(+), 15 deletions(-) diff --git a/plugins/3MFReader/WorkspaceDialog.py b/plugins/3MFReader/WorkspaceDialog.py index afa1deecfd..cce195e2fa 100644 --- a/plugins/3MFReader/WorkspaceDialog.py +++ b/plugins/3MFReader/WorkspaceDialog.py @@ -408,26 +408,27 @@ class WorkspaceDialog(QObject): @pyqtSlot() def showMissingMaterialsWarning(self) -> None: result_message = Message( - i18n_catalog.i18nc("@info:status", "The material used in this project relies on some material definitions not available in Cura, this might produce undesirable print results. We highly recommend installing the full material package from the Marketplace."), + i18n_catalog.i18nc("@info:status", + "Some of the packages used in the project file are currently not installed in Cura, this might produce undesirable print results. We highly recommend installing the all required packages from the Marketplace."), lifetime=0, - title=i18n_catalog.i18nc("@info:title", "Material profiles not installed"), + title=i18n_catalog.i18nc("@info:title", "Some required packages are not installed"), message_type=Message.MessageType.WARNING ) result_message.addAction( - "learn_more", - name=i18n_catalog.i18nc("@action:button", "Learn more"), - icon="", - description="Learn more about project materials.", - button_align=Message.ActionButtonAlignment.ALIGN_LEFT, - button_style=Message.ActionButtonStyle.LINK + "learn_more", + name=i18n_catalog.i18nc("@action:button", "Learn more"), + icon="", + description=i18n_catalog.i18nc("@label", "Learn more about project packages."), + button_align=Message.ActionButtonAlignment.ALIGN_LEFT, + button_style=Message.ActionButtonStyle.LINK ) result_message.addAction( - "install_materials", - name=i18n_catalog.i18nc("@action:button", "Install Materials"), - icon="", - description="Install missing materials from project file.", - button_align=Message.ActionButtonAlignment.ALIGN_RIGHT, - button_style=Message.ActionButtonStyle.DEFAULT + "install_materials", + name=i18n_catalog.i18nc("@action:button", "Install Packages"), + icon="", + description=i18n_catalog.i18nc("@label", "Install missing packages from project file."), + button_align=Message.ActionButtonAlignment.ALIGN_RIGHT, + button_style=Message.ActionButtonStyle.DEFAULT ) result_message.actionTriggered.connect(self._onMessageActionTriggered) result_message.show() diff --git a/plugins/3MFReader/WorkspaceDialog.qml b/plugins/3MFReader/WorkspaceDialog.qml index 3def26277d..d5f9b1817d 100644 --- a/plugins/3MFReader/WorkspaceDialog.qml +++ b/plugins/3MFReader/WorkspaceDialog.qml @@ -364,7 +364,7 @@ UM.Dialog UM.Label { id: warningText - text: catalog.i18nc("@label", "The material used in this project is currently not installed in Cura.
Install the material profile and reopen the project.") + text: catalog.i18nc("@label", "This project contains materials or plugins that are currently not installed in Cura.
Install the missing packages and reopen the project.") } }