__init__.py 595 B

12345678910111213141516171819
  1. # Copyright (c) 2015 Ultimaker B.V.
  2. # Cura is released under the terms of the AGPLv3 or higher.
  3. from . import SliceInfo
  4. from UM.i18n import i18nCatalog
  5. catalog = i18nCatalog("cura")
  6. def getMetaData():
  7. return {
  8. "plugin": {
  9. "name": catalog.i18nc("@label", "Slice info"),
  10. "author": "Ultimaker",
  11. "version": "1.0",
  12. "description": catalog.i18nc("@info:whatsthis", "Submits anonymous slice info. Can be disabled through preferences."),
  13. "api": 3
  14. }
  15. }
  16. def register(app):
  17. return { "extension": SliceInfo.SliceInfo()}