From edfc993b7f914562cc82f0fe5075f3d1913de3ab Mon Sep 17 00:00:00 2001 From: luzpaz Date: Fri, 20 Jan 2023 03:02:30 +0000 Subject: [PATCH] Fix various typos --- src/Mod/Arch/ArchStructure.py | 2 +- src/Mod/Fem/App/FemVTKTools.cpp | 4 ++-- src/Mod/Mesh/App/MeshProperties.cpp | 2 +- src/Mod/Path/Gui/Resources/panels/PageOpSlotEdit.ui | 2 +- src/Mod/Path/Gui/Resources/panels/PageOpSurfaceEdit.ui | 2 +- src/Mod/Path/Gui/Resources/panels/PageOpWaterlineEdit.ui | 2 +- src/Mod/Path/Path/Op/Gui/Base.py | 2 +- src/Mod/Path/Path/Op/Gui/Engrave.py | 2 +- src/Mod/Path/Path/Op/Gui/Helix.py | 2 +- src/Mod/Path/Path/Op/Gui/PocketBase.py | 2 +- src/Mod/Path/Path/Op/Gui/Probe.py | 2 +- src/Mod/Path/Path/Op/Gui/Profile.py | 2 +- src/Mod/Path/Path/Op/Gui/Slot.py | 2 +- src/Mod/Path/Path/Op/Gui/Surface.py | 2 +- src/Mod/Path/Path/Op/Gui/Vcarve.py | 2 +- src/Mod/Path/Path/Op/Gui/Waterline.py | 2 +- src/Mod/Path/Path/Op/Slot.py | 2 +- src/Mod/Path/Path/Op/Surface.py | 2 +- src/Mod/Path/Path/Op/Waterline.py | 2 +- src/Mod/Sketcher/App/SketchAnalysis.h | 2 +- src/Mod/TechDraw/Gui/PreferencesGui.cpp | 2 +- 21 files changed, 22 insertions(+), 22 deletions(-) diff --git a/src/Mod/Arch/ArchStructure.py b/src/Mod/Arch/ArchStructure.py index ad98574099..60519c5ce3 100644 --- a/src/Mod/Arch/ArchStructure.py +++ b/src/Mod/Arch/ArchStructure.py @@ -850,7 +850,7 @@ class _Structure(ArchComponent.Component): # provide selected edges, or groups, in obj.ArchSketchEdges for processing in getStructureBaseShapeWires() (getSortedClusters) as override # returned a {dict} ( or a [list] ) # get slab wires; use original wires if structureBaseShapeWires() provided none - if structureBaseShapeWires: # would be false (none) if both base ArchSketch and obj do not have the edges stored / inputed by user + if structureBaseShapeWires: # would be false (none) if both base ArchSketch and obj do not have the edges stored / inputted by user # if structureBaseShapeWires is {dict} baseShapeWires = structureBaseShapeWires.get('slabWires') faceMaker = structureBaseShapeWires.get('faceMaker') diff --git a/src/Mod/Fem/App/FemVTKTools.cpp b/src/Mod/Fem/App/FemVTKTools.cpp index ac430884c9..b76646390c 100644 --- a/src/Mod/Fem/App/FemVTKTools.cpp +++ b/src/Mod/Fem/App/FemVTKTools.cpp @@ -678,7 +678,7 @@ std::map _getFreeCADMechResultVectorProperties() { // see https://forum.freecadweb.org/viewtopic.php?f=18&t=33106&start=30#p277434 for further information regarding names etc... // some scalar list are not needed on VTK file export but they are needed for internal VTK pipeline -// TODO some filter to only export the needed values to VTK file but have all in FreeCAD VTK pipline +// TODO some filter to only export the needed values to VTK file but have all in FreeCAD VTK pipeline std::map _getFreeCADMechResultScalarProperties() { // see src/Mod/Fem/femobjects/result_mechanical.py // App::PropertyFloatList will be a list of scalars in vtk @@ -706,7 +706,7 @@ std::map _getFreeCADMechResultScalarProperties() { // THE MAJOR PRINCIPAL STRESS MAGNITUDE, THE INTERMEDIATE PRINCIPAL STRESS MAGNITUDE, THE MINOR PRINCIPAL STRESS MAGNITUDE // but I do not know how (Bernd), for some help see paraview tutorial on FreeCAD wiki // thus TODO they might not be exported to external file format (first I need to know how to generate them in paraview) - // but there are needed anyway because the pipline in FreeCAD needs the principal stress values + // but there are needed anyway because the pipeline in FreeCAD needs the principal stress values // https://forum.freecadweb.org/viewtopic.php?f=18&t=33106&p=416006#p412800 resFCScalProp["PrincipalMax"] = "Major Principal Stress"; // can be plotted in Paraview as THE MAJOR PRINCIPAL STRESS MAGNITUDE resFCScalProp["PrincipalMed"] = "Intermediate Principal Stress";// can be plotted in Paraview as THE INTERMEDIATE PRINCIPAL STRESS MAGNITUDE diff --git a/src/Mod/Mesh/App/MeshProperties.cpp b/src/Mod/Mesh/App/MeshProperties.cpp index a74cf0fc01..2348f397bb 100644 --- a/src/Mod/Mesh/App/MeshProperties.cpp +++ b/src/Mod/Mesh/App/MeshProperties.cpp @@ -744,7 +744,7 @@ PropertyMeshKernel::PropertyMeshKernel() : _meshObject(new MeshObject()), meshPyObject(nullptr) { // Note: Normally this property is a member of a document object, i.e. the setValue() - // method gets called in the constructor of a sublcass of DocumentObject, e.g. Mesh::Feature. + // method gets called in the constructor of a subclass of DocumentObject, e.g. Mesh::Feature. // This means that the created MeshObject here will be replaced and deleted immediately. // However, we anyway create this object in case we use this class in another context. } diff --git a/src/Mod/Path/Gui/Resources/panels/PageOpSlotEdit.ui b/src/Mod/Path/Gui/Resources/panels/PageOpSlotEdit.ui index a540a65d0b..a4d13b4dca 100644 --- a/src/Mod/Path/Gui/Resources/panels/PageOpSlotEdit.ui +++ b/src/Mod/Path/Gui/Resources/panels/PageOpSlotEdit.ui @@ -354,7 +354,7 @@ - <html><head/><body><p>Complete the operation in a single pass at depth, or mulitiple passes to final depth.</p></body></html> + <html><head/><body><p>Complete the operation in a single pass at depth, or multiple passes to final depth.</p></body></html> diff --git a/src/Mod/Path/Gui/Resources/panels/PageOpSurfaceEdit.ui b/src/Mod/Path/Gui/Resources/panels/PageOpSurfaceEdit.ui index dee0969a0e..217e2127a3 100644 --- a/src/Mod/Path/Gui/Resources/panels/PageOpSurfaceEdit.ui +++ b/src/Mod/Path/Gui/Resources/panels/PageOpSurfaceEdit.ui @@ -95,7 +95,7 @@ - <html><head/><body><p>Complete the operation in a single pass at depth, or mulitiple passes to final depth.</p></body></html> + <html><head/><body><p>Complete the operation in a single pass at depth, or multiple passes to final depth.</p></body></html> diff --git a/src/Mod/Path/Gui/Resources/panels/PageOpWaterlineEdit.ui b/src/Mod/Path/Gui/Resources/panels/PageOpWaterlineEdit.ui index 37f6d4b1b3..5561defa8a 100644 --- a/src/Mod/Path/Gui/Resources/panels/PageOpWaterlineEdit.ui +++ b/src/Mod/Path/Gui/Resources/panels/PageOpWaterlineEdit.ui @@ -107,7 +107,7 @@ - <html><head/><body><p>Complete the operation in a single pass at depth, or mulitiple passes to final depth.</p></body></html> + <html><head/><body><p>Complete the operation in a single pass at depth, or multiple passes to final depth.</p></body></html> diff --git a/src/Mod/Path/Path/Op/Gui/Base.py b/src/Mod/Path/Path/Op/Gui/Base.py index bb956edeba..dfe1330015 100644 --- a/src/Mod/Path/Path/Op/Gui/Base.py +++ b/src/Mod/Path/Path/Op/Gui/Base.py @@ -635,7 +635,7 @@ class TaskPanelBaseGeometryPage(TaskPanelPage): opLabel = str(self.form.geometryImportList.currentText()) ops = FreeCAD.ActiveDocument.getObjectsByLabel(opLabel) if len(ops) > 1: - msg = translate("PathOp", "Mulitiple operations are labeled as") + msg = translate("PathOp", "Multiple operations are labeled as") msg += " {}\n".format(opLabel) FreeCAD.Console.PrintWarning(msg) (base, subList) = ops[0].Base[0] diff --git a/src/Mod/Path/Path/Op/Gui/Engrave.py b/src/Mod/Path/Path/Op/Gui/Engrave.py index 3ea572574e..b5b38b4f3c 100644 --- a/src/Mod/Path/Path/Op/Gui/Engrave.py +++ b/src/Mod/Path/Path/Op/Gui/Engrave.py @@ -139,7 +139,7 @@ class TaskPanelOpPage(PathOpGui.TaskPanelPage): return FreeCADGui.PySideUic.loadUi(":/panels/PageOpEngraveEdit.ui") def getFields(self, obj): - """getFields(obj) ... transfers values from UI to obj's proprties""" + """getFields(obj) ... transfers values from UI to obj's properties""" if obj.StartVertex != self.form.startVertex.value(): obj.StartVertex = self.form.startVertex.value() self.updateToolController(obj, self.form.toolController) diff --git a/src/Mod/Path/Path/Op/Gui/Helix.py b/src/Mod/Path/Path/Op/Gui/Helix.py index 2a86d1ae23..5ab0caa42d 100644 --- a/src/Mod/Path/Path/Op/Gui/Helix.py +++ b/src/Mod/Path/Path/Op/Gui/Helix.py @@ -60,7 +60,7 @@ class TaskPanelOpPage(PathCircularHoleBaseGui.TaskPanelOpPage): return form def getFields(self, obj): - """getFields(obj) ... transfers values from UI to obj's proprties""" + """getFields(obj) ... transfers values from UI to obj's properties""" Path.Log.track() if obj.Direction != str(self.form.direction.currentData()): obj.Direction = str(self.form.direction.currentData()) diff --git a/src/Mod/Path/Path/Op/Gui/PocketBase.py b/src/Mod/Path/Path/Op/Gui/PocketBase.py index f0552f0e1a..9a865e4839 100644 --- a/src/Mod/Path/Path/Op/Gui/PocketBase.py +++ b/src/Mod/Path/Path/Op/Gui/PocketBase.py @@ -115,7 +115,7 @@ class TaskPanelOpPage(PathOpGui.TaskPanelPage): PathGuiUtil.updateInputField(obj, "ZigZagAngle", self.form.zigZagAngle) def getFields(self, obj): - """getFields(obj) ... transfers values from UI to obj's proprties""" + """getFields(obj) ... transfers values from UI to obj's properties""" if obj.CutMode != str(self.form.cutMode.currentData()): obj.CutMode = str(self.form.cutMode.currentData()) if obj.StepOver != self.form.stepOverPercent.value(): diff --git a/src/Mod/Path/Path/Op/Gui/Probe.py b/src/Mod/Path/Path/Op/Gui/Probe.py index fc9fc0076f..cc938191e0 100644 --- a/src/Mod/Path/Path/Op/Gui/Probe.py +++ b/src/Mod/Path/Path/Op/Gui/Probe.py @@ -54,7 +54,7 @@ class TaskPanelOpPage(PathOpGui.TaskPanelPage): return FreeCADGui.PySideUic.loadUi(":/panels/PageOpProbeEdit.ui") def getFields(self, obj): - """getFields(obj) ... transfers values from UI to obj's proprties""" + """getFields(obj) ... transfers values from UI to obj's properties""" self.updateToolController(obj, self.form.toolController) PathGuiUtil.updateInputField(obj, "Xoffset", self.form.Xoffset) PathGuiUtil.updateInputField(obj, "Yoffset", self.form.Yoffset) diff --git a/src/Mod/Path/Path/Op/Gui/Profile.py b/src/Mod/Path/Path/Op/Gui/Profile.py index 0ffede83d8..a55d0cc13d 100644 --- a/src/Mod/Path/Path/Op/Gui/Profile.py +++ b/src/Mod/Path/Path/Op/Gui/Profile.py @@ -68,7 +68,7 @@ class TaskPanelOpPage(PathOpGui.TaskPanelPage): return form def getFields(self, obj): - """getFields(obj) ... transfers values from UI to obj's proprties""" + """getFields(obj) ... transfers values from UI to obj's properties""" self.updateToolController(obj, self.form.toolController) self.updateCoolant(obj, self.form.coolantController) diff --git a/src/Mod/Path/Path/Op/Gui/Slot.py b/src/Mod/Path/Path/Op/Gui/Slot.py index c644628c11..af3110397c 100644 --- a/src/Mod/Path/Path/Op/Gui/Slot.py +++ b/src/Mod/Path/Path/Op/Gui/Slot.py @@ -111,7 +111,7 @@ class TaskPanelOpPage(PathOpGui.TaskPanelPage): self.geo2Extension.updateSpinBox() def getFields(self, obj): - """getFields(obj) ... transfers values from UI to obj's proprties""" + """getFields(obj) ... transfers values from UI to obj's properties""" debugMsg("getFields()") self.updateToolController(obj, self.form.toolController) self.updateCoolant(obj, self.form.coolantController) diff --git a/src/Mod/Path/Path/Op/Gui/Surface.py b/src/Mod/Path/Path/Op/Gui/Surface.py index fd927a1204..f8c61f3d52 100644 --- a/src/Mod/Path/Path/Op/Gui/Surface.py +++ b/src/Mod/Path/Path/Op/Gui/Surface.py @@ -71,7 +71,7 @@ class TaskPanelOpPage(PathOpGui.TaskPanelPage): return form def getFields(self, obj): - """getFields(obj) ... transfers values from UI to obj's proprties""" + """getFields(obj) ... transfers values from UI to obj's properties""" self.updateToolController(obj, self.form.toolController) self.updateCoolant(obj, self.form.coolantController) diff --git a/src/Mod/Path/Path/Op/Gui/Vcarve.py b/src/Mod/Path/Path/Op/Gui/Vcarve.py index d29194d9c4..481058737a 100644 --- a/src/Mod/Path/Path/Op/Gui/Vcarve.py +++ b/src/Mod/Path/Path/Op/Gui/Vcarve.py @@ -129,7 +129,7 @@ class TaskPanelOpPage(PathOpGui.TaskPanelPage): return FreeCADGui.PySideUic.loadUi(":/panels/PageOpVcarveEdit.ui") def getFields(self, obj): - """getFields(obj) ... transfers values from UI to obj's proprties""" + """getFields(obj) ... transfers values from UI to obj's properties""" if obj.Discretize != self.form.discretize.value(): obj.Discretize = self.form.discretize.value() if obj.Colinear != self.form.colinearFilter.value(): diff --git a/src/Mod/Path/Path/Op/Gui/Waterline.py b/src/Mod/Path/Path/Op/Gui/Waterline.py index 41253d4d44..1e7b47db21 100644 --- a/src/Mod/Path/Path/Op/Gui/Waterline.py +++ b/src/Mod/Path/Path/Op/Gui/Waterline.py @@ -65,7 +65,7 @@ class TaskPanelOpPage(PathOpGui.TaskPanelPage): return form def getFields(self, obj): - """getFields(obj) ... transfers values from UI to obj's proprties""" + """getFields(obj) ... transfers values from UI to obj's properties""" self.updateToolController(obj, self.form.toolController) self.updateCoolant(obj, self.form.coolantController) diff --git a/src/Mod/Path/Path/Op/Slot.py b/src/Mod/Path/Path/Op/Slot.py index 0c726bdf02..124844d610 100644 --- a/src/Mod/Path/Path/Op/Slot.py +++ b/src/Mod/Path/Path/Op/Slot.py @@ -172,7 +172,7 @@ class ObjectSlot(PathOp.ObjectOp): "Slot", QtCore.QT_TRANSLATE_NOOP( "App::Property", - "Complete the operation in a single pass at depth, or mulitiple passes to final depth.", + "Complete the operation in a single pass at depth, or multiple passes to final depth.", ), ), ( diff --git a/src/Mod/Path/Path/Op/Surface.py b/src/Mod/Path/Path/Op/Surface.py index aae438d9d9..5b179a7064 100644 --- a/src/Mod/Path/Path/Op/Surface.py +++ b/src/Mod/Path/Path/Op/Surface.py @@ -324,7 +324,7 @@ class ObjectSurface(PathOp.ObjectOp): "Clearing Options", QT_TRANSLATE_NOOP( "App::Property", - "Complete the operation in a single pass at depth, or mulitiple passes to final depth.", + "Complete the operation in a single pass at depth, or multiple passes to final depth.", ), ), ( diff --git a/src/Mod/Path/Path/Op/Waterline.py b/src/Mod/Path/Path/Op/Waterline.py index e84ce1fedb..73450bc77a 100644 --- a/src/Mod/Path/Path/Op/Waterline.py +++ b/src/Mod/Path/Path/Op/Waterline.py @@ -369,7 +369,7 @@ class ObjectWaterline(PathOp.ObjectOp): "Clearing Options", QT_TRANSLATE_NOOP( "App::Property", - "Complete the operation in a single pass at depth, or mulitiple passes to final depth.", + "Complete the operation in a single pass at depth, or multiple passes to final depth.", ), ), ( diff --git a/src/Mod/Sketcher/App/SketchAnalysis.h b/src/Mod/Sketcher/App/SketchAnalysis.h index b22acc5a33..8ceafe19bf 100644 --- a/src/Mod/Sketcher/App/SketchAnalysis.h +++ b/src/Mod/Sketcher/App/SketchAnalysis.h @@ -62,7 +62,7 @@ public: /// Make applies the constraints stored internally in the SketchAnalysis object. /// /// A second type of routines, complex routines, are thought for running fully automatic and they Detect, Analyse and Make. - /// They may also apply a variaty of types of Constraints. + /// They may also apply a variety of constraint types. /// /// A third type of routines do not relate to autoconstraining at all, and include validation methods for sketches. explicit SketchAnalysis(Sketcher::SketchObject * Obj); diff --git a/src/Mod/TechDraw/Gui/PreferencesGui.cpp b/src/Mod/TechDraw/Gui/PreferencesGui.cpp index 5a2461efbd..84022fa836 100644 --- a/src/Mod/TechDraw/Gui/PreferencesGui.cpp +++ b/src/Mod/TechDraw/Gui/PreferencesGui.cpp @@ -91,7 +91,7 @@ App::Color PreferencesGui::sectionLineColor() QColor PreferencesGui::sectionLineQColor() { -//if the App::Color version has already lightened the color, we don't want to do it agin +//if the App::Color version has already lightened the color, we don't want to do it again Base::Reference hGrp = App::GetApplication().GetUserParameter() .GetGroup("BaseApp")->GetGroup("Preferences")->GetGroup("Mod/TechDraw/Decorations"); App::Color fcColor;