This ensures that the filetype shows up in the supported types of the open window
@@ -3,8 +3,19 @@
from . import AMFReader
+from UM.i18n import i18nCatalog
+i18n_catalog = i18nCatalog("uranium")
+
def getMetaData():
- return {}
+ return {
+ "mesh_reader": [
+ {
+ "extension": "amf",
+ "description": i18n_catalog.i18nc("@item:inlistbox", "AMF File")
+ }
+ ]
def register(app):
return {"mesh_reader": AMFReader.AMFReader()}