Cura/plugins/3MFReader/__init__.py
Tamara Hogenhout ef93524d78 adds/adapts translation context markers
last nesscessary changes for internationalisation -> Cura

Contributes to: issue CURA-116
2015-09-09 15:25:39 +02:00

26 lines
760 B
Python

# Copyright (c) 2015 Ultimaker B.V.
# Cura is released under the terms of the AGPLv3 or higher.
from UM.i18n import i18nCatalog
catalog = i18nCatalog("cura")
from . import ThreeMFReader
def getMetaData():
return {
"plugin": {
"name": catalog.i18nc("@label", "3MF Reader"),
"author": "Ultimaker",
"version": "1.0",
"description": catalog.i18nc("@info:whatsthis", "Provides support for reading 3MF files."),
"api": 2
},
"mesh_reader": {
"extension": "3mf",
"description": catalog.i18nc("@item:inlistbox displays the fileformat in a list", "3MF File")
}
}
def register(app):
return { "mesh_reader": ThreeMFReader.ThreeMFReader() }