From 82c4a10c1db6595767f04abc8d5cb984b8d15364 Mon Sep 17 00:00:00 2001 From: Jaime van Kessel Date: Fri, 6 Oct 2023 11:03:49 +0200 Subject: [PATCH 1/3] Rename "Default" intent to "Balanced" CURA-11131 --- cura/Machines/Models/IntentCategoryModel.py | 2 +- cura/Machines/Models/IntentTranslations.py | 2 +- cura/Machines/Models/QualityManagementModel.py | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/cura/Machines/Models/IntentCategoryModel.py b/cura/Machines/Models/IntentCategoryModel.py index 4f32a84a976..96a991a5156 100644 --- a/cura/Machines/Models/IntentCategoryModel.py +++ b/cura/Machines/Models/IntentCategoryModel.py @@ -39,7 +39,7 @@ def _get_translations(cls): """ if len(cls._translations) == 0: cls._translations["default"] = { - "name": catalog.i18nc("@label", "Default") + "name": catalog.i18nc("@label", "Balanced") } cls._translations["visual"] = { "name": catalog.i18nc("@label", "Visual"), diff --git a/cura/Machines/Models/IntentTranslations.py b/cura/Machines/Models/IntentTranslations.py index 050fb1de568..ab468a65888 100644 --- a/cura/Machines/Models/IntentTranslations.py +++ b/cura/Machines/Models/IntentTranslations.py @@ -8,7 +8,7 @@ intent_translations = collections.OrderedDict() # type: collections.OrderedDict[str, Dict[str, Optional[str]]] intent_translations["default"] = { - "name": catalog.i18nc("@label", "Default") + "name": catalog.i18nc("@label", "Balanced") } intent_translations["visual"] = { "name": catalog.i18nc("@label", "Visual"), diff --git a/cura/Machines/Models/QualityManagementModel.py b/cura/Machines/Models/QualityManagementModel.py index 3c3bc9a6e98..86e35f6b28d 100644 --- a/cura/Machines/Models/QualityManagementModel.py +++ b/cura/Machines/Models/QualityManagementModel.py @@ -344,7 +344,7 @@ def _update(self): "quality_type": quality_group.quality_type, "quality_changes_group": None, "intent_category": "default", - "section_name": catalog.i18nc("@label", "Default"), + "section_name": catalog.i18nc("@label", "Balanced"), "layer_height": layer_height, # layer_height is only used for sorting } item_list.append(item) From ec1cd6b192a073a2a56c25b4e7104ea9486f1378 Mon Sep 17 00:00:00 2001 From: "c.lamboo" Date: Fri, 6 Oct 2023 12:16:22 +0200 Subject: [PATCH 2/3] Add description to balanced intent CURA-11131 --- cura/Machines/Models/IntentCategoryModel.py | 4 +++- cura/Machines/Models/IntentTranslations.py | 4 +++- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/cura/Machines/Models/IntentCategoryModel.py b/cura/Machines/Models/IntentCategoryModel.py index 96a991a5156..fa43ab2aefd 100644 --- a/cura/Machines/Models/IntentCategoryModel.py +++ b/cura/Machines/Models/IntentCategoryModel.py @@ -39,7 +39,9 @@ def _get_translations(cls): """ if len(cls._translations) == 0: cls._translations["default"] = { - "name": catalog.i18nc("@label", "Balanced") + "name": catalog.i18nc("@label", "Balanced"), + "description": catalog.i18nc("@text", + "The balanced profile, is designed to strike a balance between productivity, surface quality, mechanical properties and dimensional accuracy.") } cls._translations["visual"] = { "name": catalog.i18nc("@label", "Visual"), diff --git a/cura/Machines/Models/IntentTranslations.py b/cura/Machines/Models/IntentTranslations.py index ab468a65888..b845fe72ad2 100644 --- a/cura/Machines/Models/IntentTranslations.py +++ b/cura/Machines/Models/IntentTranslations.py @@ -8,7 +8,9 @@ intent_translations = collections.OrderedDict() # type: collections.OrderedDict[str, Dict[str, Optional[str]]] intent_translations["default"] = { - "name": catalog.i18nc("@label", "Balanced") + "name": catalog.i18nc("@label", "Balanced"), + "description": catalog.i18nc("@text", + "The balanced profile, is designed to strike a balance between productivity, surface quality, mechanical properties and dimensional accuracy.") } intent_translations["visual"] = { "name": catalog.i18nc("@label", "Visual"), From 98f0f9819dd1b1de52517173a5e75e99b0ec1368 Mon Sep 17 00:00:00 2001 From: "c.lamboo" Date: Fri, 6 Oct 2023 12:19:44 +0200 Subject: [PATCH 3/3] Remove superfluous comma from balanced description CURA-11131 --- cura/Machines/Models/IntentCategoryModel.py | 2 +- cura/Machines/Models/IntentTranslations.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/cura/Machines/Models/IntentCategoryModel.py b/cura/Machines/Models/IntentCategoryModel.py index fa43ab2aefd..e9b94d42334 100644 --- a/cura/Machines/Models/IntentCategoryModel.py +++ b/cura/Machines/Models/IntentCategoryModel.py @@ -41,7 +41,7 @@ def _get_translations(cls): cls._translations["default"] = { "name": catalog.i18nc("@label", "Balanced"), "description": catalog.i18nc("@text", - "The balanced profile, is designed to strike a balance between productivity, surface quality, mechanical properties and dimensional accuracy.") + "The balanced profile is designed to strike a balance between productivity, surface quality, mechanical properties and dimensional accuracy.") } cls._translations["visual"] = { "name": catalog.i18nc("@label", "Visual"), diff --git a/cura/Machines/Models/IntentTranslations.py b/cura/Machines/Models/IntentTranslations.py index b845fe72ad2..43fe771d675 100644 --- a/cura/Machines/Models/IntentTranslations.py +++ b/cura/Machines/Models/IntentTranslations.py @@ -10,7 +10,7 @@ intent_translations["default"] = { "name": catalog.i18nc("@label", "Balanced"), "description": catalog.i18nc("@text", - "The balanced profile, is designed to strike a balance between productivity, surface quality, mechanical properties and dimensional accuracy.") + "The balanced profile is designed to strike a balance between productivity, surface quality, mechanical properties and dimensional accuracy.") } intent_translations["visual"] = { "name": catalog.i18nc("@label", "Visual"),