IntentTranslations.py 1.1 KB

123456789101112131415161718192021222324
  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", "Default")
  9. }
  10. intent_translations["visual"] = {
  11. "name": catalog.i18nc("@label", "Visual"),
  12. "description": catalog.i18nc("@text", "The visual profile is designed to print visual prototypes and models with the intent of high visual and surface quality.")
  13. }
  14. intent_translations["engineering"] = {
  15. "name": catalog.i18nc("@label", "Engineering"),
  16. "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.")
  17. }
  18. intent_translations["quick"] = {
  19. "name": catalog.i18nc("@label", "Draft"),
  20. "description": catalog.i18nc("@text", "The draft profile is designed to print initial prototypes and concept validation with the intent of significant print time reduction.")
  21. }