From 40d2a90e3ad70f9e903f9ec3e8b6ae4282e5533d Mon Sep 17 00:00:00 2001 From: luzpaz Date: Thu, 31 Aug 2023 21:18:35 -0400 Subject: [PATCH] Fix typos --- src/App/PropertyStandard.h | 4 ++-- src/Base/Persistence.cpp | 2 +- src/Mod/AddonManager/developer_mode_people_table.ui | 2 +- src/Mod/Mesh/App/Core/Degeneration.cpp | 2 +- src/Mod/Part/App/TopoShape.cpp | 2 +- src/Mod/Sketcher/Gui/CommandConstraints.cpp | 2 +- src/Mod/Start/StartPage/StartPage.py | 2 +- 7 files changed, 8 insertions(+), 8 deletions(-) diff --git a/src/App/PropertyStandard.h b/src/App/PropertyStandard.h index d94017e3eb..7fb7be85c5 100644 --- a/src/App/PropertyStandard.h +++ b/src/App/PropertyStandard.h @@ -158,7 +158,7 @@ public: * These all function as per documentation in Enumeration */ //@{ - /** setting the enumaration string list + /** setting the enumeration string list * The list is a NULL terminated array of pointers to a const char* string * \code * const char enums[] = {"Black","White","Other",NULL} @@ -166,7 +166,7 @@ public: */ void setEnums(const char** plEnums); - /** setting the enumaration string as vector of strings + /** setting the enumeration string as vector of strings * This makes the enumeration custom. */ void setEnums(const std::vector &Enums); diff --git a/src/Base/Persistence.cpp b/src/Base/Persistence.cpp index e8764eed0b..5a97ef649a 100644 --- a/src/Base/Persistence.cpp +++ b/src/Base/Persistence.cpp @@ -113,7 +113,7 @@ void Persistence::dumpToStream(std::ostream& stream, int compression) writer.putNextEntry("Persistence.xml"); writer.setMode("BinaryBrep"); - //save the content (we need to encapsulte it with xml tags to be able to read single element xmls like happen for properties) + //save the content (we need to encapsulate it with xml tags to be able to read single element xmls like happen for properties) writer.Stream() << "" << std::endl; Save(writer); writer.Stream() << ""; diff --git a/src/Mod/AddonManager/developer_mode_people_table.ui b/src/Mod/AddonManager/developer_mode_people_table.ui index 21202ad868..468ec99416 100644 --- a/src/Mod/AddonManager/developer_mode_people_table.ui +++ b/src/Mod/AddonManager/developer_mode_people_table.ui @@ -11,7 +11,7 @@ - Form + Form diff --git a/src/Mod/Mesh/App/Core/Degeneration.cpp b/src/Mod/Mesh/App/Core/Degeneration.cpp index fa285267ee..033ad2beef 100644 --- a/src/Mod/Mesh/App/Core/Degeneration.cpp +++ b/src/Mod/Mesh/App/Core/Degeneration.cpp @@ -1118,7 +1118,7 @@ bool MeshEvalCorruptedFacets::Evaluate() const MeshFacetArray& rFaces = _rclMesh.GetFacets(); for (const auto & it : rFaces) { - // dupicated point indices + // duplicated point indices if (it.IsDegenerated()) return false; } diff --git a/src/Mod/Part/App/TopoShape.cpp b/src/Mod/Part/App/TopoShape.cpp index 8705cc50d3..e6e63a0840 100644 --- a/src/Mod/Part/App/TopoShape.cpp +++ b/src/Mod/Part/App/TopoShape.cpp @@ -1325,7 +1325,7 @@ unsigned int TopoShape::getMemSize () const if (shape.IsNull()) continue; - // add the size of the underlying geomtric data + // add the size of the underlying geometric data Handle(TopoDS_TShape) tshape = shape.TShape(); memsize += tshape->DynamicType()->Size(); diff --git a/src/Mod/Sketcher/Gui/CommandConstraints.cpp b/src/Mod/Sketcher/Gui/CommandConstraints.cpp index bf4fd0fac4..6f7ac42f59 100644 --- a/src/Mod/Sketcher/Gui/CommandConstraints.cpp +++ b/src/Mod/Sketcher/Gui/CommandConstraints.cpp @@ -1540,7 +1540,7 @@ protected: } void makeCts_1MorePoint1Ellipse(bool& selAllowed) { - //distance between 1 point and elipse/arc of... not supported yet. + //distance between 1 point and ellipse/arc of... not supported yet. if (availableConstraint == AvailableConstraint::FIRST) { //nothing yet //availableConstraint = AvailableConstraint::RESET; diff --git a/src/Mod/Start/StartPage/StartPage.py b/src/Mod/Start/StartPage/StartPage.py index 803044d944..a3708c9d57 100644 --- a/src/Mod/Start/StartPage/StartPage.py +++ b/src/Mod/Start/StartPage/StartPage.py @@ -390,7 +390,7 @@ def handle(): ALTCSS = f.read() HTML = HTML.replace("","") - # handle file thumbnail icons visiblity and size + # handle file thumbnail icons visibility and size if not FreeCAD.ParamGet("User parameter:BaseApp/Preferences/Mod/Start").GetBool("ShowFileThumbnailIcons",True): HTML = HTML.replace("display: block; /* thumb icons display */","display: none; /* thumb icons display */")