Fix typos [skip ci]

Typos ffound via `codespell v2.1.dev0`  
Also includes fixes in deprecated code of `src/Mod/Assembly`
This commit is contained in:
luz paz
2020-12-28 07:50:51 -05:00
committed by abdullahtahiriyo
parent b7128a8f52
commit f497f09238
11 changed files with 15 additions and 15 deletions

View File

@@ -44,7 +44,7 @@ public:
App::PropertyLinkList Items;
/** @name base properties of all Assembly Items
* This properties corospond mostly to the meta information
* This properties correspond mostly to the meta information
* in the App::Document class
*/
//@{

View File

@@ -130,7 +130,7 @@ void ViewProviderProduct::setupContextMenu(QMenu* menu, QObject* receiver, const
//QAction* toggle = menu->addAction(QObject::tr("Rigid subassembly"), receiver, member);
//toggle->setData(QVariant(1000)); // identifier
//toggle->setCheckable(true);
//toggle->setToolTip(QObject::tr("Set if the subassembly shall be solved as on part (rigid) or if all parts of this assembly are solved for themselfe."));
//toggle->setToolTip(QObject::tr("Set if the subassembly shall be solved as on part (rigid) or if all parts of this assembly are solved for themself."));
//toggle->setStatusTip(QObject::tr("Set if the subassembly shall be solved as on part (rigid) or if all parts of this assembly are solved for themself."));
//bool prop = static_cast<Assembly::Product*>(getObject())->Rigid.getValue();
//toggle->setChecked(prop);

View File

@@ -119,7 +119,7 @@ void ViewProviderProductRef::setupContextMenu(QMenu* menu, QObject* receiver, co
//QAction* toggle = menu->addAction(QObject::tr("Rigid subassembly"), receiver, member);
//toggle->setData(QVariant(1000)); // identifier
//toggle->setCheckable(true);
//toggle->setToolTip(QObject::tr("Set if the subassembly shall be solved as on part (rigid) or if all parts of this assembly are solved for themselfe."));
//toggle->setToolTip(QObject::tr("Set if the subassembly shall be solved as on part (rigid) or if all parts of this assembly are solved for themself."));
//toggle->setStatusTip(QObject::tr("Set if the subassembly shall be solved as on part (rigid) or if all parts of this assembly are solved for themself."));
//bool prop = static_cast<Assembly::Product*>(getObject())->Rigid.getValue();
//toggle->setChecked(prop);

View File

@@ -230,7 +230,7 @@ void ReadDyna::ReadConstraints(std::ifstream &inputfile)
for (i = 0; i < 10; i++,j++)
Info[j] = str[i];
First = atoi(Info); //Constainted Point
First = atoi(Info); //Constrained Point
j = 0;
@@ -267,10 +267,10 @@ void ReadDyna::ReadConstraints(std::ifstream &inputfile)
/*! \brief Triangulator
This will triuangulate the squares, taking note of the constraining point that might come into play.
This will triangulate the squares, taking note of the constraining point that might come into play.
To date, only three things are considered now:- No constrains in the edges, One Constrain in the edges, and Two
Constrains next to each other (not opposite each other!) in the edges
To date, only three things are considered now: No constraints in the edges, One Constraint in the edges, and Two
Constraints next to each other (not opposite each other!) in the edges
Sparing some commenting... I got lost inside of it too...
*/

View File

@@ -85,7 +85,7 @@ curveonSurface(Edge) -> None or tuple
Returns the curve associated to the edge in the
parametric space of the face. Returns None if this
curve does not exist. If this curve exists then a tuple
of curve and and parameter range is returned.
of curve and parameter range is returned.
</UserDocu>
</Documentation>
</Methode>

View File

@@ -19870,7 +19870,7 @@ class basic_json
@throw type_error.304 if the JSON value is not an object; in this case,
calling `at` with a key makes no sense. See example below.
@throw out_of_range.403 if the key @a key is is not stored in the object;
@throw out_of_range.403 if the key @a key is not stored in the object;
that is, `find(key) == end()`. See example below.
@exceptionsafety Strong guarantee: if an exception is thrown, there are no
@@ -19921,7 +19921,7 @@ class basic_json
@throw type_error.304 if the JSON value is not an object; in this case,
calling `at` with a key makes no sense. See example below.
@throw out_of_range.403 if the key @a key is is not stored in the object;
@throw out_of_range.403 if the key @a key is not stored in the object;
that is, `find(key) == end()`. See example below.
@exceptionsafety Strong guarantee: if an exception is thrown, there are no

View File

@@ -3412,7 +3412,7 @@ int SketchObject::addSymmetric(const std::vector<int> &geoIdList, int refGeoId,
std::map<int, bool> isStartEndInverted;
// Find out if reference is aligned with V or H axis,
// if so we can keep Vertical and Horizontal constrants in the mirrored geometry.
// if so we can keep Vertical and Horizontal constraints in the mirrored geometry.
bool refIsAxisAligned = false;
if (refGeoId == Sketcher::GeoEnum::VAxis || refGeoId == Sketcher::GeoEnum::HAxis) {
refIsAxisAligned = true;