From e2c17cc616ecb97d330089cb51245da6c01dbdcc Mon Sep 17 00:00:00 2001 From: luzpaz Date: Tue, 25 Jul 2023 07:31:31 -0400 Subject: [PATCH] Fix typos --- src/App/DocumentObserver.h | 2 +- src/App/Metadata.h | 4 ++-- src/Gui/ViewProviderPy.xml | 2 +- src/Mod/Arch/ArchStructure.py | 2 +- src/Mod/OpenSCAD/InitGui.py | 2 +- 5 files changed, 6 insertions(+), 6 deletions(-) diff --git a/src/App/DocumentObserver.h b/src/App/DocumentObserver.h index e929257e58..84e7dbecdf 100644 --- a/src/App/DocumentObserver.h +++ b/src/App/DocumentObserver.h @@ -454,7 +454,7 @@ private: }; /** - * The DocumentObserver class simplfies the step to write classes that listen + * The DocumentObserver class simplifies the step to write classes that listen * to what happens inside a document. * This is very useful for classes that needs to be notified when an observed * object has changed. diff --git a/src/App/Metadata.h b/src/App/Metadata.h index 1273de8a0b..a3a7ad0910 100644 --- a/src/App/Metadata.h +++ b/src/App/Metadata.h @@ -219,7 +219,7 @@ public: ////////////////////////////////////////////////////////////// std::string name() const; //< A short name for this package, often used as a menu entry. - Meta::Version version() const;//< Version string in symantic triplet format, e.g. "1.2.3". + Meta::Version version() const;//< Version string in semantic triplet format, e.g. "1.2.3". std::string date() const;//< Date string -- currently arbitrary (when C++20 is well-supported we can revisit) std::string description() const;//< Text-only description of the package. No markup. @@ -342,7 +342,7 @@ public: /** * Determine whether the current metadata specifies support for the currently-running version of FreeCAD. - * Does not interrogate content items, which must be querried individually. + * Does not interrogate content items, which must be queried individually. */ bool supportsCurrentFreeCAD() const; diff --git a/src/Gui/ViewProviderPy.xml b/src/Gui/ViewProviderPy.xml index a3adfd3e2f..5d4046d368 100644 --- a/src/Gui/ViewProviderPy.xml +++ b/src/Gui/ViewProviderPy.xml @@ -256,7 +256,7 @@ view: View3DInventorPy\n Default to active view. Optional. - Subname referecing the sub-object for holding dropped object. + Subname referencing the sub-object for holding dropped object. diff --git a/src/Mod/Arch/ArchStructure.py b/src/Mod/Arch/ArchStructure.py index a7168b745f..b575889aa4 100644 --- a/src/Mod/Arch/ArchStructure.py +++ b/src/Mod/Arch/ArchStructure.py @@ -1009,7 +1009,7 @@ class _Structure(ArchComponent.Component): def getNodeEdges(self,obj): - "returns a list of edges from stuctural nodes" + "returns a list of edges from structural nodes" edges = [] if obj.Nodes: diff --git a/src/Mod/OpenSCAD/InitGui.py b/src/Mod/OpenSCAD/InitGui.py index 0be1364ea9..8f15392f4d 100644 --- a/src/Mod/OpenSCAD/InitGui.py +++ b/src/Mod/OpenSCAD/InitGui.py @@ -92,7 +92,7 @@ class OpenSCADWorkbench(Workbench): import OpenSCADUtils openscadfilename = OpenSCADUtils.searchforopenscadexe() - if openscadfilename: # automatic search was succsessful + if openscadfilename: # automatic search was successful FreeCAD.addImportType("OpenSCAD Format (*.scad)", "importCSG") param.SetString( "openscadexecutable", openscadfilename