From 59be3e195dfb55f9198252a1fec162a80b08c280 Mon Sep 17 00:00:00 2001 From: Jaime van Kessel Date: Thu, 28 Oct 2021 13:48:09 +0200 Subject: Use category as fallback translation for intents instead of "unkown" --- cura/Machines/Models/IntentCategoryModel.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'cura/Machines') diff --git a/cura/Machines/Models/IntentCategoryModel.py b/cura/Machines/Models/IntentCategoryModel.py index 09a71b8ed6..d4f28a78e9 100644 --- a/cura/Machines/Models/IntentCategoryModel.py +++ b/cura/Machines/Models/IntentCategoryModel.py @@ -107,7 +107,7 @@ class IntentCategoryModel(ListModel): qualities = IntentModel() qualities.setIntentCategory(category) result.append({ - "name": IntentCategoryModel.translation(category, "name", catalog.i18nc("@label", "Unknown")), + "name": IntentCategoryModel.translation(category, "name", category), "description": IntentCategoryModel.translation(category, "description", None), "intent_category": category, "weight": list(IntentCategoryModel._get_translations().keys()).index(category), -- cgit v1.2.3