mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-08-11 18:49:01 +08:00
Add visual quality to model to be translatable
CURA-6942
This commit is contained in:
parent
ce31e9cffe
commit
f679b557dc
@ -35,16 +35,20 @@ class IntentCategoryModel(ListModel):
|
|||||||
_translations["default"] = {
|
_translations["default"] = {
|
||||||
"name": catalog.i18nc("@label", "Default")
|
"name": catalog.i18nc("@label", "Default")
|
||||||
}
|
}
|
||||||
|
_translations["visual"] = {
|
||||||
|
"name": catalog.i18nc("@label", "Visual"),
|
||||||
|
"description": catalog.i18nc("@text", "Optimized for appearance")
|
||||||
|
}
|
||||||
_translations["engineering"] = {
|
_translations["engineering"] = {
|
||||||
"name": catalog.i18nc("@label", "Engineering"),
|
"name": catalog.i18nc("@label", "Engineering"),
|
||||||
"description": catalog.i18nc("@text", "Suitable for engineering work")
|
"description": catalog.i18nc("@text", "Suitable for engineering work")
|
||||||
|
|
||||||
}
|
}
|
||||||
_translations["smooth"] = {
|
_translations["smooth"] = {
|
||||||
"name": catalog.i18nc("@label", "Smooth"),
|
"name": catalog.i18nc("@label", "Smooth"),
|
||||||
"description": catalog.i18nc("@text", "Optimized for a smooth surfaces")
|
"description": catalog.i18nc("@text", "Optimized for a smooth surfaces")
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
## Creates a new model for a certain intent category.
|
## Creates a new model for a certain intent category.
|
||||||
# \param The category to list the intent profiles for.
|
# \param The category to list the intent profiles for.
|
||||||
def __init__(self, intent_category: str) -> None:
|
def __init__(self, intent_category: str) -> None:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user