Browse Source

Use category as fallback translation for intents instead of "unkown"

Jaime van Kessel 3 years ago
parent
commit
59be3e195d
1 changed files with 1 additions and 1 deletions
  1. 1 1
      cura/Machines/Models/IntentCategoryModel.py

+ 1 - 1
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),