__init__.py 441 B

12345678910111213141516171819202122
  1. # Copyright (c) 2018 Ultimaker B.V.
  2. # Cura is released under the terms of the LGPLv3 or higher.
  3. from . import PreviewStage
  4. from UM.i18n import i18nCatalog
  5. i18n_catalog = i18nCatalog("cura")
  6. def getMetaData():
  7. return {
  8. "stage": {
  9. "name": i18n_catalog.i18nc("@item:inmenu", "Preview"),
  10. "weight": 20
  11. }
  12. }
  13. def register(app):
  14. return {
  15. "stage": PreviewStage.PreviewStage(app)
  16. }