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

@@ -161,9 +161,9 @@ class Nester:
return
# TODO
# allow to use a non-rectangular container
# allow one to use a non-rectangular container
# manage margins/paddings
# allow to prevent or force specific rotations for a piece
# allow one to prevent or force specific rotations for a piece
# LONG-TERM TODO
# add genetic algo to swap pieces, and check if the result is better

View File

@@ -1272,7 +1272,7 @@ class _Stairs(ArchComponent.Component):
if obj.LastSegment.Proxy.OutlineRailArcLeftAll: # need if?
outlineRailArcLeftAll.extend(obj.LastSegment.Proxy.OutlineRailArcLeftAll)
if (outlineLeftAll[-1] - obj.OutlineLeft[0]).Length < 0.01: # To avoid 2 points overlapping fail creating LineSegment # TODO to allow tolerance Part.LineSegment / edge.toShape() allow?
if (outlineLeftAll[-1] - obj.OutlineLeft[0]).Length < 0.01: # To avoid 2 points overlapping fail creating LineSegment # TODO to allow one tolerance Part.LineSegment / edge.toShape() allow?
# no need abs() after .Length right?
del outlineLeftAll[-1]
del outlineRailArcLeftAll[-1]

View File

@@ -34,7 +34,7 @@ from draftutils import params
# \ingroup ARCH
# \brief The Arch Vector Rendering Module
#
# This module provides the Renderer Class, that allows to
# This module provides the Renderer Class, that allows one to
# produce SVG renderings of projected shapes, with filled faces.
# It is used by the "Solid" mode of Arch views in TechDraw and Drawing,
# and is called from ArchSectionPlane code.

View File

@@ -171,8 +171,8 @@ is exported. This leads to smaller differences between file versions.</string>
<item>
<widget class="Gui::PrefCheckBox" name="checkBox_10">
<property name="toolTip">
<string>IFCOpenShell is a library that allows to import IFC files.
Its serializer functionality allows to give it an OCC shape and it will
<string>IFCOpenShell is a library that enables importing IFC files.
Its serializer functionality allows giving it an OCC shape and it will
produce adequate IFC geometry: NURBS, faceted, or anything else.
Note: The serializer is still an experimental feature!</string>
</property>

View File

@@ -124,7 +124,7 @@ class BIM_Layers:
self.dialog.tree.setRootIsDecorated(False) # removes spacing in first column
self.dialog.tree.setSelectionMode(
QtGui.QTreeView.ExtendedSelection
) # allow to select many
) # allow one to select many
# fill the tree view
self.update()

View File

@@ -174,7 +174,7 @@ def getPreferences():
if hasattr(ifcopenshell, "schema_identifier"):
schema = ifcopenshell.schema_identifier
else:
# v0.6 onwards allows to set our own schema
# v0.6 onwards allows one to set our own schema
schema = PARAMS.GetString("DefaultIfcExportVersion", "IFC4")
preferences["SCHEMA"] = schema
@@ -266,7 +266,7 @@ def export(exportList, filename, colors=None, preferences=None):
if history:
history = history[0]
else:
# IFC4 allows to not write any history
# IFC4 allows one to not write any history
history = None
objectslist = Draft.get_group_contents(exportList, walls=True,
addgroups=True)

View File

@@ -229,7 +229,7 @@ def insert(srcfile, docname, skip=[], only=[], root=None, preferences=None):
global parametrics
# allow to override the root element
# allow one to override the root element
if root:
preferences['ROOT_ELEMENT'] = root

View File

@@ -35,7 +35,7 @@ class ifc_object:
def __init__(self, otype=None):
self.cached = True # this marks that the object is freshly created and its shape should be taken from cache
self.virgin_placement = True # this allows to set the initial placement without triggering any placement change
self.virgin_placement = True # this allows one to set the initial placement without triggering any placement change
if otype:
self.Type = (
otype[0].upper() + otype[1:]

View File

@@ -44,7 +44,7 @@ import difflib
IFC_FILE_PATH = None # downloaded IFC file path
FCSTD_FILE_PATH = None # saved FreeCAD file
PARAMS = FreeCAD.ParamGet("User parameter:BaseApp/Preferences/Mod/NativeIFC")
SINGLEDOC = False # This allows to force singledoc mode for all tests
SINGLEDOC = False # This allows one to force singledoc mode for all tests
SDU = int(SINGLEDOC) # number of objects is different in singledoc
# See also IFCFILECONTENT at the end of this file, retrieved from
# https://github.com/aothms/IfcOpenHouse/IfcOpenHouse_IFC4.ifc