Merge pull request #9484 from chennes/pathTranslations20230504
Path: Minor translation cleanup
This commit is contained in:
@@ -259,7 +259,7 @@
|
||||
<item row="14" column="1">
|
||||
<widget class="QCheckBox" name="optimizeEnabled">
|
||||
<property name="toolTip">
|
||||
<string><html><head/><body><p>Enable optimization of linear paths (co-linear points). Removes unnecessary co-linear points from G-Code output.</p></body></html></string>
|
||||
<string><html><head/><body><p>Enable optimization of linear paths (co-linear points). Removes unnecessary co-linear points from G-code output.</p></body></html></string>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string>Optimize Linear Paths</string>
|
||||
|
||||
@@ -199,7 +199,7 @@
|
||||
<item row="7" column="1">
|
||||
<widget class="QCheckBox" name="optimizeEnabled">
|
||||
<property name="toolTip">
|
||||
<string><html><head/><body><p>Enable optimization of linear paths (co-linear points). Removes unnecessary co-linear points from G-Code output.</p></body></html></string>
|
||||
<string><html><head/><body><p>Enable optimization of linear paths (co-linear points). Removes unnecessary co-linear points from G-code output.</p></body></html></string>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string>Optimize Linear Paths</string>
|
||||
|
||||
@@ -279,7 +279,7 @@ class PathWorkbench(Workbench):
|
||||
|
||||
msg = translate(
|
||||
"Path",
|
||||
"The currently selected unit schema: \n '{}'\n Does not use 'minutes' for velocity values. \n \nCNC machines require feed rate to be expressed in \nunit/minute. To ensure correct gcode: \nSelect a minute-based schema in preferences.\nFor example:\n 'Metric, Small Parts & CNC'\n 'US Customary'\n 'Imperial Decimal'",
|
||||
"The currently selected unit schema: \n '{}'\n Does not use 'minutes' for velocity values. \n \nCNC machines require feed rate to be expressed in \nunit/minute. To ensure correct G-code: \nSelect a minute-based schema in preferences.\nFor example:\n 'Metric, Small Parts & CNC'\n 'US Customary'\n 'Imperial Decimal'",
|
||||
).format(current_schema)
|
||||
header = translate("Path", "Warning")
|
||||
msgbox = QtGui.QMessageBox(QtGui.QMessageBox.Warning, header, msg)
|
||||
|
||||
@@ -399,7 +399,7 @@ class CommandPathSanity:
|
||||
outTable = ""
|
||||
d = data["outputData"]
|
||||
|
||||
gcodeFileLabel = translate("Path_Sanity", "Gcode File")
|
||||
gcodeFileLabel = translate("Path_Sanity", "G-code File")
|
||||
lastpostLabel = translate("Path_Sanity", "Last Post Process Date")
|
||||
stopsLabel = translate("Path_Sanity", "Stops")
|
||||
programmerLabel = translate("Path_Sanity", "Programmer")
|
||||
|
||||
@@ -631,7 +631,7 @@ class CommandPathSimulate:
|
||||
"MenuText": QtCore.QT_TRANSLATE_NOOP("Path_Simulator", "CAM Simulator"),
|
||||
"Accel": "P, M",
|
||||
"ToolTip": QtCore.QT_TRANSLATE_NOOP(
|
||||
"Path_Simulator", "Simulate Path G-Code on stock"
|
||||
"Path_Simulator", "Simulate G-code on stock"
|
||||
),
|
||||
}
|
||||
|
||||
|
||||
@@ -112,7 +112,7 @@ class ObjectJob:
|
||||
"App::PropertyFile",
|
||||
"PostProcessorOutputFile",
|
||||
"Output",
|
||||
QT_TRANSLATE_NOOP("App::Property", "The NC output file for this project"),
|
||||
QT_TRANSLATE_NOOP("App::Property", "The G-code output file for this project"),
|
||||
)
|
||||
obj.addProperty(
|
||||
"App::PropertyEnumeration",
|
||||
@@ -196,7 +196,7 @@ class ObjectJob:
|
||||
"SplitOutput",
|
||||
"Output",
|
||||
QT_TRANSLATE_NOOP(
|
||||
"App::Property", "Split output into multiple gcode files"
|
||||
"App::Property", "Split output into multiple G-code files"
|
||||
),
|
||||
)
|
||||
obj.addProperty(
|
||||
@@ -530,7 +530,7 @@ class ObjectJob:
|
||||
"SplitOutput",
|
||||
"Output",
|
||||
QT_TRANSLATE_NOOP(
|
||||
"App::Property", "Split output into multiple gcode files"
|
||||
"App::Property", "Split output into multiple G-code files"
|
||||
),
|
||||
)
|
||||
obj.SplitOutput = False
|
||||
@@ -540,7 +540,7 @@ class ObjectJob:
|
||||
"App::PropertyEnumeration",
|
||||
"JobType",
|
||||
"Base",
|
||||
QT_TRANSLATE_NOOP("App::Property", "Select the Type of Job"),
|
||||
QT_TRANSLATE_NOOP("App::Property", "Select the type of Job"),
|
||||
)
|
||||
obj.setEditorMode("JobType", 2) # Hide
|
||||
|
||||
|
||||
@@ -51,7 +51,7 @@ class ObjectCustom(PathOp.ObjectOp):
|
||||
"App::PropertyStringList",
|
||||
"Gcode",
|
||||
"Path",
|
||||
QT_TRANSLATE_NOOP("App::Property", "The gcode to be inserted"),
|
||||
QT_TRANSLATE_NOOP("App::Property", "The G-code to be inserted"),
|
||||
)
|
||||
|
||||
obj.Proxy = self
|
||||
|
||||
@@ -142,14 +142,14 @@ class ObjectDeburr(PathEngraveBase.ObjectOp):
|
||||
"App::PropertyEnumeration",
|
||||
"Direction",
|
||||
"Deburr",
|
||||
QT_TRANSLATE_NOOP("App::Property", "Direction of Operation"),
|
||||
QT_TRANSLATE_NOOP("App::Property", "Direction of operation"),
|
||||
)
|
||||
# obj.Direction = ["CW", "CCW"]
|
||||
obj.addProperty(
|
||||
"App::PropertyEnumeration",
|
||||
"Side",
|
||||
"Deburr",
|
||||
QT_TRANSLATE_NOOP("App::Property", "Side of Operation"),
|
||||
QT_TRANSLATE_NOOP("App::Property", "Side of operation"),
|
||||
)
|
||||
obj.Side = ["Outside", "Inside"]
|
||||
obj.setEditorMode("Side", 2) # Hide property, it's calculated by op
|
||||
@@ -158,7 +158,7 @@ class ObjectDeburr(PathEngraveBase.ObjectOp):
|
||||
"EntryPoint",
|
||||
"Deburr",
|
||||
QT_TRANSLATE_NOOP(
|
||||
"App::Property", "Select the segment, there the operations starts"
|
||||
"App::Property", "The segment where the operation starts"
|
||||
),
|
||||
)
|
||||
|
||||
|
||||
@@ -70,7 +70,7 @@ Command = PathOpGui.SetupOperation(
|
||||
TaskPanelOpPage,
|
||||
"Path_Custom",
|
||||
QT_TRANSLATE_NOOP("Path_Custom", "Custom"),
|
||||
QT_TRANSLATE_NOOP("Path_Custom", "Create custom gcode snippet"),
|
||||
QT_TRANSLATE_NOOP("Path_Custom", "Create custom G-code snippet"),
|
||||
PathCustom.SetupProperties,
|
||||
)
|
||||
|
||||
|
||||
@@ -374,7 +374,7 @@ class ObjectSurface(PathOp.ObjectOp):
|
||||
"Optimization",
|
||||
QT_TRANSLATE_NOOP(
|
||||
"App::Property",
|
||||
"Enable optimization of linear paths (co-linear points). Removes unnecessary co-linear points from G-Code output.",
|
||||
"Enable optimization of linear paths (co-linear points). Removes unnecessary co-linear points from G-code output.",
|
||||
),
|
||||
),
|
||||
(
|
||||
@@ -392,7 +392,7 @@ class ObjectSurface(PathOp.ObjectOp):
|
||||
"Optimization",
|
||||
QT_TRANSLATE_NOOP(
|
||||
"App::Property",
|
||||
"Convert co-planar arcs to G2/G3 gcode commands for `Circular` and `CircularZigZag` cut patterns.",
|
||||
"Convert co-planar arcs to G2/G3 G-code commands for `Circular` and `CircularZigZag` cut patterns.",
|
||||
),
|
||||
),
|
||||
(
|
||||
@@ -1193,7 +1193,7 @@ class ObjectSurface(PathOp.ObjectOp):
|
||||
SCANDATA.extend(profScan)
|
||||
|
||||
if len(SCANDATA) == 0:
|
||||
msg = translate("PathSurface", "No scan data to convert to Gcode.")
|
||||
msg = translate("PathSurface", "No scan data to convert to G-code.")
|
||||
Path.Log.error(msg)
|
||||
return []
|
||||
|
||||
|
||||
@@ -412,7 +412,7 @@ class ObjectWaterline(PathOp.ObjectOp):
|
||||
"Optimization",
|
||||
QT_TRANSLATE_NOOP(
|
||||
"App::Property",
|
||||
"Enable optimization of linear paths (co-linear points). Removes unnecessary co-linear points from G-Code output.",
|
||||
"Enable optimization of linear paths (co-linear points). Removes unnecessary co-linear points from G-code output.",
|
||||
),
|
||||
),
|
||||
(
|
||||
|
||||
@@ -43,8 +43,8 @@ import PathScripts.PathUtils as PathUtils
|
||||
|
||||
TOOLTIP = """
|
||||
This is a postprocessor file for the Path workbench. It is used to
|
||||
take a pseudo-gcode fragment outputted by a Path object, and output
|
||||
real GCode suitable for the KineticNC/Beamicon2 Control Software for up to 4 Axis (3 plus rotary).
|
||||
take a pseudo-G-code fragment outputted by a Path object, and output
|
||||
real G-code suitable for the KineticNC/Beamicon2 Control Software for up to 4 Axis (3 plus rotary).
|
||||
The CORNER_MAX Values are set for a mill with max travel of 1000mm in X, 600mm in Y and 300mm in Z direction.
|
||||
This postprocessor, once placed in the appropriate PathScripts folder, can be used directly from inside
|
||||
FreeCAD, via the GUI importer or via python scripts with:
|
||||
|
||||
@@ -33,8 +33,8 @@ import Path
|
||||
|
||||
TOOLTIP = """
|
||||
This is a postprocessor file for the Path workbench. It is used to
|
||||
take a pseudo-gcode fragment outputted by a Path object, and output
|
||||
real GCode suitable for a centroid 3 axis mill. This postprocessor, once placed
|
||||
take a pseudo-G-code fragment outputted by a Path object, and output
|
||||
real G-code suitable for a centroid 3 axis mill. This postprocessor, once placed
|
||||
in the appropriate Path/Tool folder, can be used directly from inside
|
||||
FreeCAD, via the GUI importer or via python scripts with:
|
||||
|
||||
|
||||
@@ -25,7 +25,7 @@ import Path
|
||||
import Path.Post.Utils as PostUtils
|
||||
import PathScripts.PathUtils as PathUtils
|
||||
|
||||
TOOLTIP = """Example Post, using Path.Commands instead of Path.toGCode strings for Path gcode output."""
|
||||
TOOLTIP = """Example Post, using Path.Commands instead of Path.toGCode strings for Path G-code output."""
|
||||
|
||||
SHOW_EDITOR = True
|
||||
|
||||
|
||||
@@ -30,7 +30,7 @@ import importDXF
|
||||
|
||||
TOOLTIP = """
|
||||
This is a postprocessor file for the Path workbench. It is used to
|
||||
take a pseudo-gcode fragment outputted by a Path object, and output
|
||||
take a pseudo-G-code fragment outputted by a Path object, and output
|
||||
a dxf file.
|
||||
Operations are output to layers.
|
||||
vertical moves are ignore
|
||||
|
||||
@@ -36,8 +36,8 @@ import PathScripts.PathUtils as PathUtils
|
||||
|
||||
TOOLTIP = """
|
||||
This is a post processor file for the FreeCAD Path workbench. It is used to
|
||||
take a pseudo-gcode fragment outputted by a Path object, and output
|
||||
real GCode suitable for Dynapath Delta 40,50, & 60 Controls. It has been written
|
||||
take a pseudo-G-code fragment outputted by a Path object, and output
|
||||
real G-code suitable for Dynapath Delta 40,50, & 60 Controls. It has been written
|
||||
and tested on FreeCAD Path workbench bundled with FreeCAD v21.
|
||||
This post processor, once placed in the appropriate PathScripts folder, can be
|
||||
used directly from inside FreeCAD, via the GUI importer or via python scripts with:
|
||||
|
||||
@@ -41,8 +41,8 @@ import shlex
|
||||
|
||||
TOOLTIP = """
|
||||
This is a postprocessor file for the Path workbench. It is used to
|
||||
take a pseudo-gcode fragment outputted by a Path object, and output
|
||||
real GCode suitable for a Tree Journyman 325 3 axis mill with Dynapath 20
|
||||
take a pseudo-G-code fragment outputted by a Path object, and output
|
||||
real G-code suitable for a Tree Journyman 325 3 axis mill with Dynapath 20
|
||||
controller in MM. This is a work in progress and very few of the functions
|
||||
available on the Dynapath have been implemented at this time.
|
||||
This postprocessor, once placed in the appropriate PathScripts folder,
|
||||
|
||||
@@ -36,7 +36,7 @@ import re
|
||||
|
||||
|
||||
TOOLTIP = """
|
||||
Generate G-Code from a Path that is compatible with the Estlcam CNC controller.
|
||||
Generate G-code from a Path that is compatible with the Estlcam CNC controller.
|
||||
Have a look at https://www.estlcam.de/steuerung_cnc_programme_en.php
|
||||
|
||||
This postprocessor, once placed in the appropriate PathScripts folder, can be
|
||||
|
||||
@@ -42,8 +42,8 @@ from PathScripts import PathUtils
|
||||
|
||||
TOOLTIP = '''
|
||||
This is a postprocessor file for the Path workbench. It is used to
|
||||
take a pseudo-gcode fragment outputted by a Path object, and output
|
||||
real GCode suitable for FangLing plasma cutters.
|
||||
take a pseudo-G-code fragment outputted by a Path object, and output
|
||||
real G-code suitable for FangLing plasma cutters.
|
||||
This postprocessor, once placed in the appropriate PathScripts folder,
|
||||
can be used directly from inside FreeCAD, via the GUI importer or
|
||||
via python scripts with:
|
||||
|
||||
@@ -34,8 +34,8 @@ import PathScripts.PathUtils as PathUtils
|
||||
|
||||
TOOLTIP = """
|
||||
This is a postprocessor file for the Path workbench. It is used to
|
||||
take a pseudo-gcode fragment outputted by a Path object, and output
|
||||
real GCode suitable should be suitable for most Fanuc controllers.
|
||||
take a pseudo-G-code fragment outputted by a Path object, and output
|
||||
real G-code suitable should be suitable for most Fanuc controllers.
|
||||
It has only been tested on a 21i-MB controller on a 3 axis mill.
|
||||
This postprocessor, once placed in the appropriate PathScripts folder,
|
||||
can be used directly from inside FreeCAD, via the GUI importer or via
|
||||
|
||||
@@ -32,8 +32,8 @@ import PathScripts.PathUtils as PathUtils
|
||||
|
||||
TOOLTIP = """
|
||||
This is a postprocessor file for the Path workbench. It is used to
|
||||
take a pseudo-gcode fragment outputted by a Path object, and output
|
||||
real GCode suitable for a jtech photonics laser. This postprocessor, once placed
|
||||
take a pseudo-G-code fragment outputted by a Path object, and output
|
||||
real G-code suitable for a jtech photonics laser. This postprocessor, once placed
|
||||
in the appropriate PathScripts folder, can be used directly from inside
|
||||
FreeCAD, via the GUI importer or via python scripts with:
|
||||
|
||||
|
||||
@@ -32,8 +32,8 @@ import PathScripts.PathUtils as PathUtils
|
||||
|
||||
TOOLTIP = """
|
||||
This is a postprocessor file for the Path workbench. It is used to
|
||||
take a pseudo-gcode fragment outputted by a Path object, and output
|
||||
real GCode suitable for a linuxcnc 3 axis mill. This postprocessor, once placed
|
||||
take a pseudo-G-code fragment outputted by a Path object, and output
|
||||
real G-code suitable for a linuxcnc 3 axis mill. This postprocessor, once placed
|
||||
in the appropriate PathScripts folder, can be used directly from inside
|
||||
FreeCAD, via the GUI importer or via python scripts with:
|
||||
|
||||
|
||||
@@ -32,8 +32,8 @@ import PathScripts.PathUtils as PathUtils
|
||||
|
||||
TOOLTIP = """
|
||||
This is a postprocessor file for the Path workbench. It is used to
|
||||
take a pseudo-gcode fragment outputted by a Path object, and output
|
||||
real GCode suitable for a mach3_4 3 axis mill. This postprocessor, once placed
|
||||
take a pseudo-G-code fragment outputted by a Path object, and output
|
||||
real G-code suitable for a mach3_4 3 axis mill. This postprocessor, once placed
|
||||
in the appropriate PathScripts folder, can be used directly from inside
|
||||
FreeCAD, via the GUI importer or via python scripts with:
|
||||
|
||||
|
||||
@@ -29,7 +29,7 @@ import datetime
|
||||
|
||||
TOOLTIP = """
|
||||
This is a postprocessor file for the Path workbench. It is used to take
|
||||
a pseudo-gcode fragment output by a Path object and output real GCode
|
||||
a pseudo-G-code fragment output by a Path object and output real G-code
|
||||
suitable for the Max Computer GmbH nccad9 Computer Numeric Control.
|
||||
|
||||
Supported features:
|
||||
|
||||
@@ -44,8 +44,8 @@ import Path.Post.UtilsExport as PostUtilsExport
|
||||
#
|
||||
TOOLTIP = """
|
||||
This is a postprocessor file for the Path workbench. It is used to
|
||||
take a pseudo-gcode fragment outputted by a Path object, and output
|
||||
real GCode suitable for a centroid 3 axis mill. This postprocessor, once placed
|
||||
take a pseudo-G-code fragment outputted by a Path object, and output
|
||||
real G-code suitable for a centroid 3 axis mill. This postprocessor, once placed
|
||||
in the appropriate PathScripts folder, can be used directly from inside
|
||||
FreeCAD, via the GUI importer or via python scripts with:
|
||||
|
||||
|
||||
@@ -39,8 +39,8 @@ import Path.Post.UtilsExport as PostUtilsExport
|
||||
# called to create TOOLTIP_ARGS, so they also end up having to be globals.
|
||||
#
|
||||
TOOLTIP = """This is a postprocessor file for the Path workbench. It is used to
|
||||
take a pseudo-gcode fragment outputted by a Path object, and output
|
||||
real GCode suitable for a linuxcnc 3 axis mill. This postprocessor, once placed
|
||||
take a pseudo-G-code fragment outputted by a Path object, and output
|
||||
real G-code suitable for a linuxcnc 3 axis mill. This postprocessor, once placed
|
||||
in the appropriate PathScripts folder, can be used directly from inside
|
||||
FreeCAD, via the GUI importer or via python scripts with:
|
||||
|
||||
|
||||
@@ -40,8 +40,8 @@ import Path.Post.UtilsExport as PostUtilsExport
|
||||
#
|
||||
TOOLTIP = """
|
||||
This is a postprocessor file for the Path workbench. It is used to
|
||||
take a pseudo-gcode fragment outputted by a Path object, and output
|
||||
real GCode suitable for a mach3_4 3 axis mill. This postprocessor, once placed
|
||||
take a pseudo-G-code fragment outputted by a Path object, and output
|
||||
real G-code suitable for a mach3_4 3 axis mill. This postprocessor, once placed
|
||||
in the appropriate PathScripts folder, can be used directly from inside
|
||||
FreeCAD, via the GUI importer or via python scripts with:
|
||||
|
||||
|
||||
@@ -39,7 +39,7 @@ import Path.Post.UtilsExport as PostUtilsExport
|
||||
# called to create TOOLTIP_ARGS, so they also end up having to be globals.
|
||||
#
|
||||
TOOLTIP = """This is a postprocessor file for the Path workbench. It is used to
|
||||
test the postprocessor code. It probably isn't useful for "real" gcode.
|
||||
test the postprocessor code. It probably isn't useful for "real" G-code.
|
||||
|
||||
import refactored_test_post
|
||||
refactored_test_post.export(object,"/path/to/file.ncc","")
|
||||
|
||||
@@ -32,8 +32,8 @@ import shlex
|
||||
|
||||
TOOLTIP = """
|
||||
This is a postprocessor file for the Path workbench. It is used to
|
||||
take a pseudo-gcode fragment outputted by a Path object, and output
|
||||
real GCode suitable for a smoothieboard. This postprocessor, once placed
|
||||
take a pseudo-G-code fragment outputted by a Path object, and output
|
||||
real G-code suitable for a smoothieboard. This postprocessor, once placed
|
||||
in the appropriate PathScripts folder, can be used directly from inside
|
||||
FreeCAD, via the GUI importer or via python scripts with:
|
||||
|
||||
|
||||
@@ -45,8 +45,8 @@ VERSION = "0.0.4"
|
||||
TOOLTIP = """ Post processor for UC-CNC.
|
||||
|
||||
This is a postprocessor file for the Path workbench. It is used to
|
||||
take a pseudo-gcode fragment outputted by a Path object, and output
|
||||
real GCode. This postprocessor, once placed in the appropriate
|
||||
take a pseudo-G-code fragment outputted by a Path object, and output
|
||||
real G-code. This postprocessor, once placed in the appropriate
|
||||
Path/Tool folder, can be used directly from inside FreeCAD,
|
||||
via the GUI importer or via python scripts with:
|
||||
|
||||
|
||||
Reference in New Issue
Block a user