IntentTranslations.py 1.0 KB

1234567891011121314151617181920
  1. import collections
  2. from UM.i18n import i18nCatalog
  3. catalog = i18nCatalog("cura")
  4. intent_translations = collections.OrderedDict() # type: "collections.OrderedDict[str, Dict[str, Optional[str]]]"
  5. intent_translations["default"] = {
  6. "name": catalog.i18nc("@label", "Default")
  7. }
  8. intent_translations["visual"] = {
  9. "name": catalog.i18nc("@label", "Visual"),
  10. "description": catalog.i18nc("@text", "The visual profile is designed to print visual prototypes and models with the intent of high visual and surface quality.")
  11. }
  12. intent_translations["engineering"] = {
  13. "name": catalog.i18nc("@label", "Engineering"),
  14. "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.")
  15. }
  16. intent_translations["quick"] = {
  17. "name": catalog.i18nc("@label", "Draft"),
  18. "description": catalog.i18nc("@text", "The draft profile is designed to print initial prototypes and concept validation with the intent of significant print time reduction.")
  19. }