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.") }