Points: Add translation tags to export formats
This commit is contained in:
@@ -25,6 +25,12 @@
|
||||
|
||||
# FreeCAD init script of the Points module
|
||||
|
||||
import FreeCAD
|
||||
|
||||
translate = FreeCAD.Qt.translate
|
||||
|
||||
# Append the open handler
|
||||
FreeCAD.addImportType("Point formats (*.asc *.ASC *.pcd *.PCD *.ply *.PLY *.e57 *.E57)", "Points")
|
||||
FreeCAD.addExportType("Point formats (*.asc *.pcd *.ply)", "Points")
|
||||
FreeCAD.addTranslatableExportType(
|
||||
translate("FileFormat", "Point formats"), ["asc", "pcd", "ply"], "Points"
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user