From 525eacca39ef7d0dbcd809e86fc134d187a5f3e3 Mon Sep 17 00:00:00 2001 From: luzpaz Date: Sat, 15 Jul 2023 04:19:06 +0000 Subject: [PATCH] Fix various typos --- src/App/PropertyStandard.h | 2 +- src/Gui/Command.h | 2 +- src/Gui/TreeParams.h | 2 +- src/Gui/TreeParams.py | 2 +- src/Gui/core-gui.dox | 2 +- src/Mod/Draft/draftguitools/gui_arcs.py | 2 +- src/Mod/Fem/App/FemConstraintFluidBoundary.cpp | 2 +- src/Mod/Mesh/Gui/Doxygen.cpp | 2 +- src/Mod/Robot/Gui/CommandInsertRobot.cpp | 2 +- 9 files changed, 9 insertions(+), 9 deletions(-) diff --git a/src/App/PropertyStandard.h b/src/App/PropertyStandard.h index cd5d8755f3..04206c3d74 100644 --- a/src/App/PropertyStandard.h +++ b/src/App/PropertyStandard.h @@ -725,7 +725,7 @@ protected: }; /** UUID properties - * This property handles unique identifieers + * This property handles unique identifiers */ class AppExport PropertyUUID: public Property { diff --git a/src/Gui/Command.h b/src/Gui/Command.h index 39be8aa89a..f2439d4b80 100644 --- a/src/Gui/Command.h +++ b/src/Gui/Command.h @@ -609,7 +609,7 @@ protected: /** @name Attributes * Set by the inherited constructor to set up the most important properties * of the command. In the Command constructor are set default values! - * The real values should be set in the constructor of the inhereting class. + * The real values should be set in the constructor of the inheriting class. */ //@{ const char* sAppModule; diff --git a/src/Gui/TreeParams.h b/src/Gui/TreeParams.h index e624cd7675..3ca2b1aec7 100644 --- a/src/Gui/TreeParams.h +++ b/src/Gui/TreeParams.h @@ -356,7 +356,7 @@ public: //@{ /// Accessor for parameter ItemBackground /// - /// Tree view item background. Only effecitve in overlay. + /// Tree view item background. Only effective in overlay. static const unsigned long & getItemBackground(); static const unsigned long & defaultItemBackground(); static void removeItemBackground(); diff --git a/src/Gui/TreeParams.py b/src/Gui/TreeParams.py index 64490d3ceb..8ff5b485e6 100644 --- a/src/Gui/TreeParams.py +++ b/src/Gui/TreeParams.py @@ -66,7 +66,7 @@ Params = [ ParamInt('FontSize', 0, on_change=True), ParamInt('ItemSpacing', 0, on_change=True), ParamHex('ItemBackground', 0, on_change=True, title='Item background color', proxy=ParamColor(), - doc = "Tree view item background. Only effecitve in overlay."), + doc = "Tree view item background. Only effective in overlay."), ParamInt('ItemBackgroundPadding', 10, on_change=True, title="Item background padding", proxy=ParamSpinBox(0, 100, 1), doc = "Tree view item background padding."), ParamBool('HideColumn', True, on_change=True, title="Hide extra column", diff --git a/src/Gui/core-gui.dox b/src/Gui/core-gui.dox index 35052d5a6c..74dd121abb 100644 --- a/src/Gui/core-gui.dox +++ b/src/Gui/core-gui.dox @@ -6,7 +6,7 @@ /** \namespace Gui \brief The FreeCAD Graphical interface layer - This namespace includes the grafical interface of FreeCAD like: + This namespace includes the graphical interface of FreeCAD such as: - The main window - 3D View - Tree diff --git a/src/Mod/Draft/draftguitools/gui_arcs.py b/src/Mod/Draft/draftguitools/gui_arcs.py index 1fe23452e1..eb3d5f4e6c 100644 --- a/src/Mod/Draft/draftguitools/gui_arcs.py +++ b/src/Mod/Draft/draftguitools/gui_arcs.py @@ -392,7 +392,7 @@ class Arc(gui_base_original.Creator): except Exception: _err("Draft: error delaying commit") - # Finalize full circle or cirular arc + # Finalize full circle or circular arc self.finish(cont=None) def numericInput(self, numx, numy, numz): diff --git a/src/Mod/Fem/App/FemConstraintFluidBoundary.cpp b/src/Mod/Fem/App/FemConstraintFluidBoundary.cpp index feadb44f90..20f6f57f76 100644 --- a/src/Mod/Fem/App/FemConstraintFluidBoundary.cpp +++ b/src/Mod/Fem/App/FemConstraintFluidBoundary.cpp @@ -61,7 +61,7 @@ static const char* ThermalBoundaryHelpTexts[] = {"fixed Temperature [K]", "no he ConstraintFluidBoundary::ConstraintFluidBoundary() { - /// momemtum boundary: pressure and velocity + /// momentum boundary: pressure and velocity ADD_PROPERTY_TYPE(BoundaryType,(1),"FluidBoundary",(App::PropertyType)(App::Prop_None), "Basic boundary type like inlet, wall, outlet,etc"); BoundaryType.setEnums(BoundaryTypes); diff --git a/src/Mod/Mesh/Gui/Doxygen.cpp b/src/Mod/Mesh/Gui/Doxygen.cpp index 8d9d4f7f0c..7b5bb388ef 100644 --- a/src/Mod/Mesh/Gui/Doxygen.cpp +++ b/src/Mod/Mesh/Gui/Doxygen.cpp @@ -25,7 +25,7 @@ /*! \namespace MeshGui \brief The namespace of the Mesh Graphical interface layer library - This namespace includes the grafical interface of FreeCAD like: + This namespace includes the graphical interface of FreeCAD such as: - The main window - 3D View - Tree diff --git a/src/Mod/Robot/Gui/CommandInsertRobot.cpp b/src/Mod/Robot/Gui/CommandInsertRobot.cpp index 48645128f8..2ce779bfe5 100644 --- a/src/Mod/Robot/Gui/CommandInsertRobot.cpp +++ b/src/Mod/Robot/Gui/CommandInsertRobot.cpp @@ -247,7 +247,7 @@ void CmdRobotAddToolShape::activated(int) bool CmdRobotAddToolShape::isActive() { - //return false; // not yet implemetned thus not active + //return false; // not yet implemented and thus not active return hasActiveDocument(); }