mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-04-30 15:54:32 +08:00
32 lines
1.6 KiB
Python
32 lines
1.6 KiB
Python
import collections
|
|
from typing import Dict, Optional
|
|
|
|
from UM.i18n import i18nCatalog
|
|
from typing import Dict, Optional
|
|
catalog = i18nCatalog("cura")
|
|
|
|
|
|
intent_translations = collections.OrderedDict() # type: collections.OrderedDict[str, Dict[str, Optional[str]]]
|
|
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.")
|
|
}
|
|
intent_translations["visual"] = {
|
|
"name": catalog.i18nc("@label", "Visual"),
|
|
"description": catalog.i18nc("@text", "The visual profile is designed to print visual prototypes and models with the intent of high visual and surface quality.")
|
|
}
|
|
intent_translations["engineering"] = {
|
|
"name": catalog.i18nc("@label", "Engineering"),
|
|
"description": catalog.i18nc("@text", "The engineering profile is designed to print functional prototypes and end-use parts with the intent of better accuracy and for closer tolerances.")
|
|
}
|
|
intent_translations["quick"] = {
|
|
"name": catalog.i18nc("@label", "Draft"),
|
|
"description": catalog.i18nc("@text", "The draft profile is designed to print initial prototypes and concept validation with the intent of significant print time reduction.")
|
|
}
|
|
intent_translations["solid"] = {
|
|
"name": catalog.i18nc("@label", "Solid"),
|
|
"description": catalog.i18nc("@text",
|
|
"A highly dense and strong part but at a slower print time. Great for functional parts.")
|
|
}
|