IntentTranslations.py 1.6 KB

12345678910111213141516171819202122232425262728293031
  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["solid"] = {
  25. "name": catalog.i18nc("@label", "Solid"),
  26. "description": catalog.i18nc("@text",
  27. "A highly dense and strong part but at a slower print time. Great for functional parts.")
  28. }