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:
@@ -372,7 +372,7 @@ private:
|
||||
// GeometryTypedFacade
|
||||
|
||||
/** @brief It provides all the functionality of GeometryFacade (derives from it), but in addition
|
||||
* allows to indicate the type of a Part::Geometry derived class.
|
||||
* allows one to indicate the type of a Part::Geometry derived class.
|
||||
*
|
||||
* @details
|
||||
*
|
||||
|
||||
@@ -798,7 +798,7 @@ private:
|
||||
* The implementation is on the order of the groups provided by the QR decomposition used to
|
||||
* reveal the parameters (see System::identifyDependentParameters in GCS). Zeros are made over
|
||||
* the pilot of the full R matrix of the QR decomposition, which is a top triangular
|
||||
* matrix.This, together with the permutation matrix, allow to know groups of dependent
|
||||
* matrix.This, together with the permutation matrix, allow one to know groups of dependent
|
||||
* parameters (cols between rank and full size). Each group refers to a new parameter not
|
||||
* affected by the rank in combination with other free parameters intervening in the rank
|
||||
* (because of the triangular shape of the R matrix). This results in that each the first column
|
||||
|
||||
@@ -155,7 +155,7 @@ public:
|
||||
int delGeometry(int GeoId, bool deleteinternalgeo = true);
|
||||
/// Deletes just the GeoIds indicated, it does not look for internal geometry
|
||||
int delGeometriesExclusiveList(const std::vector<int>& GeoIds);
|
||||
/// Does the same as \a delGeometry but allows to delete several geometries in one step
|
||||
/// Does the same as \a delGeometry but allows one to delete several geometries in one step
|
||||
int delGeometries(const std::vector<int>& GeoIds);
|
||||
/// deletes all the elements/constraints of the sketch except for external geometry
|
||||
int deleteAllGeometry();
|
||||
@@ -175,8 +175,8 @@ public:
|
||||
* that it will solve the sketch.
|
||||
*
|
||||
* If updating the Geometry property as a consequence of a (successful) solve() is not wanted,
|
||||
* updategeometry=false, prevents the update. This allows to update the solve status (e.g. dof),
|
||||
* without updating the geometry (i.e. make it move to fulfil the constraints).
|
||||
* updategeometry=false, prevents the update. This allows one to update the solve status (e.g.
|
||||
* dof), without updating the geometry (i.e. make it move to fulfil the constraints).
|
||||
*/
|
||||
int delConstraints(std::vector<int> ConstrIds, bool updategeometry = true);
|
||||
int delConstraintOnPoint(int GeoId, PointPos PosId, bool onlyCoincident = true);
|
||||
|
||||
@@ -5405,7 +5405,7 @@ void System::identifyDependentParametersSparseQR(const Eigen::MatrixXd& J,
|
||||
nontransprank,
|
||||
Rparams,
|
||||
false,
|
||||
true); // do not transpose allow to diagnose parameters
|
||||
true); // do not transpose allow one to diagnose parameters
|
||||
|
||||
identifyDependentParameters(SqrJ, Rparams, nontransprank, pdiagnoselist, silent);
|
||||
}
|
||||
|
||||
@@ -39,7 +39,7 @@ namespace SketcherGui
|
||||
the possible construction modes supported by the tool.
|
||||
|
||||
@details Different construction modes of a DSH may use different types of controls. This class
|
||||
allows to instantiate a handler template class to provide such construction mode specific
|
||||
allows one to instantiate a handler template class to provide such construction mode specific
|
||||
controls.
|
||||
|
||||
Each different type of control is a template class deriving from this.
|
||||
|
||||
@@ -152,7 +152,7 @@ protected:
|
||||
/** Ensure the state machine is the provided mode
|
||||
* but only if the mode is an earlier state.
|
||||
*
|
||||
* This allows to return to previous states (e.g.
|
||||
* This allows one to return to previous states (e.g.
|
||||
* for modification), only if that state has previously
|
||||
* been completed.
|
||||
*/
|
||||
@@ -337,7 +337,7 @@ private:
|
||||
* - handling of continuous creation mode
|
||||
*
|
||||
* This class is intended to be used by instantiating the template with a new DSH type, and
|
||||
* then derive the new type from the instantiated template. This allows to inherit all
|
||||
* then derive the new type from the instantiated template. This allows one to inherit all
|
||||
* the functionality, have direct access to all handler members, while allowing the DSH creator to
|
||||
* add additional data members and functions (and avoiding extensive usage of macros).
|
||||
*
|
||||
@@ -1001,8 +1001,8 @@ protected:
|
||||
/** @brief Function that performs a sketcher solver diagnose (determination of DoF and dependent
|
||||
* parameters), taking into account the suggested AutoConstraints.
|
||||
*
|
||||
* @details This function allows to refresh solver information by taking into account any added
|
||||
* constraint, such as the ones introduced by a widget or on-screen parameters during the
|
||||
* @details This function allows one to refresh solver information by taking into account any
|
||||
* added constraint, such as the ones introduced by a widget or on-screen parameters during the
|
||||
* execution of the DSH.
|
||||
*
|
||||
* Ultimately, it is intended to operate in combination with functions obtaining point/element
|
||||
|
||||
@@ -206,7 +206,7 @@ public:
|
||||
std::unique_ptr<QWidget> createToolWidget() const;
|
||||
|
||||
/** @brief Returns whether this tool expects/supports a visible tool widget. Emphasis is in
|
||||
* visibility, so to allow to adapt the interface accordingly.
|
||||
* visibility, so to allow one to adapt the interface accordingly.
|
||||
* This is an NVI interface and specific handlers must overload the corresponding virtual
|
||||
* function.
|
||||
*/
|
||||
|
||||
@@ -124,7 +124,7 @@ Requires to re-enter edit mode to take effect.</string>
|
||||
<item>
|
||||
<widget class="Gui::PrefCheckBox" name="checkBoxEnableEscape">
|
||||
<property name="toolTip">
|
||||
<string>Allow to leave sketch edit mode when pressing Esc button</string>
|
||||
<string>Allow leaving sketch edit mode when pressing Esc button</string>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string>Esc can leave sketch edit mode</string>
|
||||
|
||||
@@ -2645,7 +2645,7 @@ float ViewProviderSketch::getScaleFactor() const
|
||||
void ViewProviderSketch::scaleBSplinePoleCirclesAndUpdateSolverAndSketchObjectGeometry(
|
||||
GeoListFacade& geolistfacade, bool geometrywithmemoryallocation)
|
||||
{
|
||||
// In order to allow to tweak geometry and insert scaling factors, this function needs to
|
||||
// In order to allow one to tweak geometry and insert scaling factors, this function needs to
|
||||
// change the geometry vector. This is highly exceptional for a drawing function and special
|
||||
// care needs to be taken. This is valid because:
|
||||
// 1. The treatment is exceptional and no other appropriate place is available to perform this
|
||||
|
||||
Reference in New Issue
Block a user