spelling fixes (#18688)

* Fixes spelling of "Allow to" to "Allow one to"

and those variants:
Allows to -> Allows one to
allow to -> allow one to
allows to -> allows one to

* Fix "Let's -> Lets"

(and lower case variant.)

* [pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci

* Update src/3rdParty/salomesmesh/inc/MED_Wrapper.hxx

Co-authored-by: Chris Hennes <chennes@pioneerlibrarysystem.org>

* Update src/Base/PyObjectBase.cpp
Update src/App/ExtensionContainer.h
Update src/App/PropertyContainer.h

Co-authored-by: Chris Hennes <chennes@pioneerlibrarysystem.org>

* Use gerund in user-facing texts.

* Use gerund for two more user-facing strings.

Co-authored-by: Chris Hennes <chennes@pioneerlibrarysystem.org>

* Update src/Mod/Fem/App/FemMeshShapeNetgenObject.cpp

Co-authored-by: Chris Hennes <chennes@pioneerlibrarysystem.org>

* Update src/Mod/Fem/App/FemMeshShapeNetgenObject.cpp

Co-authored-by: Chris Hennes <chennes@pioneerlibrarysystem.org>

* Update src/Mod/Fem/App/FemMeshShapeNetgenObject.cpp

Co-authored-by: Chris Hennes <chennes@pioneerlibrarysystem.org>

---------

Co-authored-by: Tobias Frost <tobi@debian.org>
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Co-authored-by: Chris Hennes <chennes@pioneerlibrarysystem.org>
This commit is contained in:
Tobias Frost
2025-01-13 18:22:20 +01:00
committed by GitHub
parent f30139367a
commit 7a5a3d1ffc
104 changed files with 149 additions and 148 deletions

View File

@@ -63,7 +63,7 @@ Pad::Pad()
ADD_PROPERTY_TYPE(TaperAngle2, (0.0), "Pad", App::Prop_None, "Taper angle for 2nd direction");
TaperAngle2.setConstraints(&floatAngle);
// Remove the constraints and keep the type to allow to accept negative values
// Remove the constraints and keep the type to allow one to accept negative values
// https://forum.freecad.org/viewtopic.php?f=3&t=52075&p=448410#p447636
Length2.setConstraints(nullptr);
}

View File

@@ -64,7 +64,7 @@ Pocket::Pocket()
ADD_PROPERTY_TYPE(TaperAngle2, (0.0), "Pocket", App::Prop_None, "Taper angle for 2nd direction");
TaperAngle2.setConstraints(&floatAngle);
// Remove the constraints and keep the type to allow to accept negative values
// Remove the constraints and keep the type to allow one to accept negative values
// https://forum.freecad.org/viewtopic.php?f=3&t=52075&p=448410#p447636
Length2.setConstraints(nullptr);
}

View File

@@ -925,7 +925,7 @@ void TaskExtrudeParameters::setDirectionMode(int index)
extrude->UseCustomVector.setValue(false);
}
// if we don't use custom direction, only allow to show its direction
// if we don't use custom direction, only allow one to show its direction
if (index != DirectionModes::Custom) {
ui->XDirectionEdit->setEnabled(false);
ui->YDirectionEdit->setEnabled(false);

View File

@@ -92,7 +92,7 @@ void TaskShapeBinder::updateUI()
ui->baseEdit->setText(QString::fromStdString(obj->Label.getStrValue()));
}
// Allow to clear the Support
// Allow one to clear the Support
ui->baseEdit->setClearButtonEnabled(true);
connect(ui->baseEdit, &QLineEdit::textChanged,
this, &TaskShapeBinder::supportChanged);

View File

@@ -56,7 +56,7 @@ protected:
virtual void finishReferenceSelection(App::DocumentObject* profile, App::DocumentObject* base);
/*!
* \brief onSelectReference
* Start reference selection mode to allow to select objects of the type defined
* Start reference selection mode to allow one to select objects of the type defined
* with \a AllowSelectionFlags.
* If AllowSelection::NONE is passed the selection mode is finished.
*/