Import: Add translation tags to export formats
This commit is contained in:
@@ -26,6 +26,9 @@
|
||||
# * *
|
||||
# ***************************************************************************/
|
||||
|
||||
import FreeCAD
|
||||
|
||||
translate = FreeCAD.Qt.translate
|
||||
|
||||
# Append the open handler
|
||||
# FreeCAD.addImportType("STEP 214 (*.step *.stp)","ImportGui")
|
||||
@@ -34,5 +37,7 @@
|
||||
FreeCAD.addImportType("PLMXML files (*.plmxml *.PLMXML)", "PlmXmlParser")
|
||||
FreeCAD.addImportType("STEPZ Zip File Type (*.stpZ *.stpz *.STPZ)", "stepZ")
|
||||
FreeCAD.addImportType("glTF (*.gltf *.GLTF *.glb *.GLB)", "ImportGui")
|
||||
FreeCAD.addExportType("STEPZ zip File Type (*.stpZ *.stpz)", "stepZ")
|
||||
FreeCAD.addTranslatableExportType(
|
||||
translate("FileFormat", "STEPZ (Zipped STEP)"), ["stpZ", "stpz"], "stepZ"
|
||||
)
|
||||
FreeCAD.addExportType("glTF (*.gltf *.glb)", "ImportGui")
|
||||
|
||||
Reference in New Issue
Block a user