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

@@ -60,7 +60,7 @@ int CurveConstraintPy::PyInit(PyObject* args, PyObject* kwds)
// GeomPlate_CurveConstraint has a default constructor but OCCT doesn't check
// if neither a 2d, 3d or curve on surface is set when accessing the functions
// Length(), FirstParameter(), LastParameter(), ...
// Thus, we don't allow to create an empty GeomPlate_CurveConstraint instance
// Thus, we don't allow one to create an empty GeomPlate_CurveConstraint instance
static const std::array<const char *, 7> keywords{"Boundary", "Order", "NbPts", "TolDist", "TolAng", "TolCurv",
nullptr};

View File

@@ -59,7 +59,7 @@ namespace Part {
// Description:
//
// This template allows to define a geometry extension for a given type (uniform interface for one value of type T).
// This template allows one to define a geometry extension for a given type (uniform interface for one value of type T).
//
// Warnings:
// - The default constructor relies on the default constructor of T for initialisation. Built-in types

View File

@@ -368,7 +368,7 @@ have the same values.</string>
</size>
</property>
<property name="toolTip">
<string>Allows to cut objects intersecting each other
<string>Allows cutting objects intersecting each other
for the price that all cut objects
will get the same color</string>
</property>

View File

@@ -426,7 +426,7 @@ int FaceAppearances::getFirstIndex() const
}
/**
* Opens a dialog that allows to modify the 'ShapeMaterial' property of all selected view providers.
* Opens a dialog that allows one to modify the 'ShapeMaterial' property of all selected view providers.
*/
void FaceAppearances::onButtonCustomAppearanceClicked()
{

View File

@@ -93,7 +93,7 @@ public:
std::vector<std::string> getDisplayModes() const override;
/// Update the view representation
void reload();
/// If no other task is pending it opens a dialog to allow to change face colors
/// If no other task is pending it opens a dialog to allow one to change face colors
bool changeFaceAppearances();
void updateData(const App::Property*) override;