Skip to content

Commit b2f4e80

Browse files
committed
Fix various typos
Found via codespell.
1 parent 9806a46 commit b2f4e80

File tree

17 files changed

+23
-23
lines changed

17 files changed

+23
-23
lines changed

src/Gui/Icons/Std_DemoMode.svg

Lines changed: 1 addition & 1 deletion
Loading

src/Gui/PreferencePages/DlgSettingsUI.ui

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -432,7 +432,7 @@
432432
<item row="3" column="0">
433433
<widget class="Gui::PrefCheckBox" name="overlayAutoHideCheckBox">
434434
<property name="toolTip">
435-
<string>Automatically hide overlayed dock panels when in non 3D view (like TechDraw or Spreadsheet).</string>
435+
<string>Automatically hide overlaid dock panels when in non 3D view (like TechDraw or Spreadsheet).</string>
436436
</property>
437437
<property name="text">
438438
<string>Auto hide in non 3D view</string>

src/Gui/Stylesheets/images_classic/icons classic.svg

Lines changed: 1 addition & 1 deletion
Loading

src/Mod/AddonManager/package_list.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -306,7 +306,7 @@ def update_content(self, index):
306306
self.widget = self.compact
307307
self._setup_compact_view(repo)
308308
elif self.displayStyle == AddonManagerDisplayStyle.COMPOSITE:
309-
self.widget = self.compact # For now re-use the compact list
309+
self.widget = self.compact # For now reuse the compact list
310310
self._setup_composite_view(repo)
311311
self.widget.adjustSize()
312312

src/Mod/CAM/Path/Op/Drilling.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -253,7 +253,7 @@ def circularHoleExecute(self, obj, holes):
253253
holes = PathUtils.sort_locations(holes, ["x", "y"])
254254

255255
# This section is technical debt. The computation of the
256-
# target shapes should be factored out for re-use.
256+
# target shapes should be factored out for reuse.
257257
# This will likely mean refactoring upstream CircularHoleBase to pass
258258
# spotshapes instead of holes.
259259

src/Mod/CAM/Path/Tool/Gui/BitEdit.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -119,7 +119,7 @@ def labelText(name):
119119
usedRows = 0
120120
for nr, name in enumerate(tool.Proxy.toolShapeProperties(tool)):
121121
if nr < len(self.widgets):
122-
Path.Log.debug("re-use row: {} [{}]".format(nr, name))
122+
Path.Log.debug("reuse row: {} [{}]".format(nr, name))
123123
label, qsb, editor = self.widgets[nr]
124124
label.setText(labelText(name))
125125
editor.attachTo(tool, name)

src/Mod/CAM/Tests/TestPathPost.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -475,7 +475,7 @@ def test030(self):
475475
# #
476476
# PATHTESTS_LOCATION = "Mod/CAM/Tests"
477477
# #
478-
# # The following code tries to re-use an open FreeCAD document
478+
# # The following code tries to reuse an open FreeCAD document
479479
# # as much as possible. It compares the current document with
480480
# # the document for the next test. If the names are different
481481
# # then the current document is closed and the new document is

src/Mod/Measure/Gui/ViewProviderMeasureDistance.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -254,7 +254,7 @@ SbMatrix ViewProviderMeasureDistance::getMatrix()
254254
Base::Vector3d localXAxis = (vec2 - vec1).Normalize();
255255
Base::Vector3d localYAxis = getTextDirection(localXAxis, tolerance).Normalize();
256256

257-
// X and Y axis have to be 90° to eachother
257+
// X and Y axis have to be 90° to each other
258258
assert(fabs(localYAxis.Dot(localXAxis)) < tolerance);
259259
Base::Vector3d localZAxis = localYAxis.Cross(localXAxis).Normalize();
260260

src/Mod/MeshPart/App/MeshFlatteningLscmRelax.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -511,7 +511,7 @@ void LscmRelax::set_q_l_g()
511511
Vector3 r31 = r3 - r1;
512512
double r21_norm = r21.norm();
513513
r21.normalize();
514-
// if triangle is fliped this gives wrong results?
514+
// if triangle is flipped this gives wrong results?
515515
this->q_l_g.row(i) << r21_norm, r31.dot(r21), r31.cross(r21).norm();
516516
}
517517
}
@@ -531,7 +531,7 @@ void LscmRelax::set_q_l_m()
531531
Vector2 r31 = r3 - r1;
532532
double r21_norm = r21.norm();
533533
r21.normalize();
534-
// if triangle is fliped this gives wrong results!
534+
// if triangle is flipped this gives wrong results!
535535
this->q_l_m.row(i) << r21_norm, r31.dot(r21), -(r31.x() * r21.y() - r31.y() * r21.x());
536536
}
537537
}

src/Mod/Part/App/Attacher.cpp

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1980,7 +1980,7 @@ TYPESYSTEM_SOURCE(Attacher::AttachEnginePlane, Attacher::AttachEngine)
19801980

19811981
AttachEnginePlane::AttachEnginePlane()
19821982
{
1983-
//re-used 3d modes: all of Attacher3d
1983+
//reused 3d modes: all of Attacher3d
19841984
AttachEngine3D attacher3D;
19851985
this->modeRefTypes = attacher3D.modeRefTypes;
19861986
this->EnableAllSupportedModes();
@@ -2016,7 +2016,7 @@ AttachEngineLine::AttachEngineLine()
20162016
modeRefTypes.resize(mmDummy_NumberOfModes);
20172017
refTypeString s;
20182018

2019-
//re-used 3d modes
2019+
//reused 3d modes
20202020
AttachEngine3D attacher3D;
20212021
modeRefTypes[mm1AxisX] = attacher3D.modeRefTypes[mmObjectYZ];
20222022
modeRefTypes[mm1AxisY] = attacher3D.modeRefTypes[mmObjectXZ];
@@ -2413,7 +2413,7 @@ AttachEnginePoint::AttachEnginePoint()
24132413
modeRefTypes.resize(mmDummy_NumberOfModes);
24142414
refTypeString s;
24152415

2416-
//re-used 3d modes
2416+
//reused 3d modes
24172417
AttachEngine3D attacher3D;
24182418
modeRefTypes[mm0Origin] = attacher3D.modeRefTypes[mmObjectXY];
24192419
modeRefTypes[mm0CenterOfCurvature] = attacher3D.modeRefTypes[mmRevolutionSection];

0 commit comments

Comments
 (0)