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 4f32a84a97..96a991a515 100644 --- a/cura/Machines/Models/IntentCategoryModel.py +++ b/cura/Machines/Models/IntentCategoryModel.py @@ -39,7 +39,7 @@ class IntentCategoryModel(ListModel): """ 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 050fb1de56..ab468a6588 100644 --- a/cura/Machines/Models/IntentTranslations.py +++ b/cura/Machines/Models/IntentTranslations.py @@ -8,7 +8,7 @@ catalog = i18nCatalog("cura") 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 3c3bc9a6e9..86e35f6b28 100644 --- a/cura/Machines/Models/QualityManagementModel.py +++ b/cura/Machines/Models/QualityManagementModel.py @@ -344,7 +344,7 @@ class QualityManagementModel(ListModel): "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 96a991a515..fa43ab2aef 100644 --- a/cura/Machines/Models/IntentCategoryModel.py +++ b/cura/Machines/Models/IntentCategoryModel.py @@ -39,7 +39,9 @@ class IntentCategoryModel(ListModel): """ 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 ab468a6588..b845fe72ad 100644 --- a/cura/Machines/Models/IntentTranslations.py +++ b/cura/Machines/Models/IntentTranslations.py @@ -8,7 +8,9 @@ catalog = i18nCatalog("cura") 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 fa43ab2aef..e9b94d4233 100644 --- a/cura/Machines/Models/IntentCategoryModel.py +++ b/cura/Machines/Models/IntentCategoryModel.py @@ -41,7 +41,7 @@ class IntentCategoryModel(ListModel): 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 b845fe72ad..43fe771d67 100644 --- a/cura/Machines/Models/IntentTranslations.py +++ b/cura/Machines/Models/IntentTranslations.py @@ -10,7 +10,7 @@ intent_translations = collections.OrderedDict() # type: collections.OrderedDict 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"),