IntentTranslations.py 1.9 KB

1234567891011121314151617181920212223242526272829303132333435
  1. import collections
  2. from typing import Dict, Optional
  3. from UM.i18n import i18nCatalog
  4. from typing import Dict, Optional
  5. catalog = i18nCatalog("cura")
  6. intent_translations = collections.OrderedDict() # type: collections.OrderedDict[str, Dict[str, Optional[str]]]
  7. intent_translations["default"] = {
  8. "name": catalog.i18nc("@label", "Balanced"),
  9. "description": catalog.i18nc("@text",
  10. "The balanced profile is designed to strike a balance between productivity, surface quality, mechanical properties and dimensional accuracy.")
  11. }
  12. intent_translations["visual"] = {
  13. "name": catalog.i18nc("@label", "Visual"),
  14. "description": catalog.i18nc("@text", "The visual profile is designed to print visual prototypes and models with the intent of high visual and surface quality.")
  15. }
  16. intent_translations["engineering"] = {
  17. "name": catalog.i18nc("@label", "Engineering"),
  18. "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.")
  19. }
  20. intent_translations["quick"] = {
  21. "name": catalog.i18nc("@label", "Draft"),
  22. "description": catalog.i18nc("@text", "The draft profile is designed to print initial prototypes and concept validation with the intent of significant print time reduction.")
  23. }
  24. intent_translations["annealing"] = {
  25. "name": catalog.i18nc("@label", "Annealing"),
  26. "description": catalog.i18nc("@text", "The annealing profile requires post-processing in an oven after the print is finished. This profile retains the dimensional accuracy of the printed part after annealing and improves strength, stiffness, and thermal resistance.")
  27. }
  28. intent_translations["solid"] = {
  29. "name": catalog.i18nc("@label", "Solid"),
  30. "description": catalog.i18nc("@text",
  31. "A highly dense and strong part but at a slower print time. Great for functional parts.")
  32. }