diff options
author | Jaime van Kessel <nallath@gmail.com> | 2021-10-28 14:48:09 +0300 |
---|---|---|
committer | Jaime van Kessel <nallath@gmail.com> | 2021-10-28 14:48:09 +0300 |
commit | 59be3e195dfb55f9198252a1fec162a80b08c280 (patch) | |
tree | 617d713331e28dc255df82ae03319a4bf66212b2 /cura/Machines | |
parent | 4901b82d48471f7b3832616df2645a4bb96f507f (diff) |
Use category as fallback translation for intents instead of "unkown"
Diffstat (limited to 'cura/Machines')
-rw-r--r-- | cura/Machines/Models/IntentCategoryModel.py | 2 |
1 files changed, 1 insertions, 1 deletions
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), |