From f4d60b38eeca7d74f7a9600b2d2dac3a3d1087b8 Mon Sep 17 00:00:00 2001 From: Ghostkeeper Date: Mon, 10 Jan 2022 17:28:45 +0100 Subject: [PATCH] Shorten two texts of 'Sync materials with printers' In most languages this doesn't properly fit in the space we have for these buttons. The same text in the window title and header was not changed. There we do have space for it. The button in the material manager was also not adjusted since it's different and already about as short as can be (but needs to refer to printers instead of materials due to the context of already being in the material manager). Contributes to issue CURA-8753. --- cura/Machines/Models/MaterialManagementModel.py | 2 +- cura/UltimakerCloud/CloudMaterialSync.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/cura/Machines/Models/MaterialManagementModel.py b/cura/Machines/Models/MaterialManagementModel.py index 76b2c5b444..ce31193eb8 100644 --- a/cura/Machines/Models/MaterialManagementModel.py +++ b/cura/Machines/Models/MaterialManagementModel.py @@ -60,7 +60,7 @@ class MaterialManagementModel(QObject): sync_materials_message.addAction( "sync", - name = catalog.i18nc("@action:button", "Sync materials with printers"), + name = catalog.i18nc("@action:button", "Sync materials"), icon = "", description = "Sync your newly installed materials with your printers.", button_align = Message.ActionButtonAlignment.ALIGN_RIGHT diff --git a/cura/UltimakerCloud/CloudMaterialSync.py b/cura/UltimakerCloud/CloudMaterialSync.py index 8bf8962eaf..8848b9bd60 100644 --- a/cura/UltimakerCloud/CloudMaterialSync.py +++ b/cura/UltimakerCloud/CloudMaterialSync.py @@ -71,7 +71,7 @@ class CloudMaterialSync(QObject): sync_materials_message.addAction( "sync", - name = catalog.i18nc("@action:button", "Sync materials with printers"), + name = catalog.i18nc("@action:button", "Sync materials"), icon = "", description = "Sync your newly installed materials with your printers.", button_align = Message.ActionButtonAlignment.ALIGN_RIGHT