From d877ee4d47d6a30585e7153a38eae4f8bfe0bb8f Mon Sep 17 00:00:00 2001 From: luz paz Date: Thu, 2 Dec 2021 16:18:04 -0500 Subject: [PATCH] Make source code comments use gender neutral pronouns The changes also include some grammatical fixes as well. --- src/App/Application.h | 12 ++++++------ src/App/Document.h | 2 +- src/Base/PyExport.h | 2 +- src/Gui/CornerCrossLetters.h | 2 +- src/Gui/DlgMacroExecuteImp.cpp | 4 ++-- src/Gui/TextEdit.h | 2 +- src/Gui/ViewProviderGroupExtension.cpp | 2 +- src/Gui/ViewProviderLink.cpp | 2 +- src/Gui/Workbench.cpp | 6 +++--- src/Mod/Assembly/App/opendcm/core/property.hpp | 4 ++-- src/Mod/Fem/Gui/TaskPostBoxes.cpp | 2 +- src/Mod/Fem/femmesh/gmshtools.py | 2 +- src/Mod/Fem/femmesh/meshtools.py | 2 +- src/Mod/Fem/femsolver/calculix/writer.py | 2 +- src/Mod/Fem/femtest/data/calculix/box_frequency.inp | 2 +- src/Mod/Fem/femtest/data/calculix/box_static.inp | 2 +- .../data/calculix/ccx_buckling_flexuralbuckling.inp | 2 +- .../data/calculix/ccx_cantilever_beam_circle.inp | 2 +- .../data/calculix/ccx_cantilever_beam_pipe.inp | 2 +- .../data/calculix/ccx_cantilever_beam_rect.inp | 2 +- .../data/calculix/ccx_cantilever_ele_hexa20.inp | 2 +- .../data/calculix/ccx_cantilever_ele_quad4.inp | 2 +- .../data/calculix/ccx_cantilever_ele_quad8.inp | 2 +- .../data/calculix/ccx_cantilever_ele_seg2.inp | 2 +- .../data/calculix/ccx_cantilever_ele_seg3.inp | 2 +- .../data/calculix/ccx_cantilever_ele_tria3.inp | 2 +- .../data/calculix/ccx_cantilever_ele_tria6.inp | 2 +- .../data/calculix/ccx_cantilever_faceload.inp | 2 +- .../data/calculix/ccx_cantilever_nodeload.inp | 2 +- .../ccx_cantilever_prescribeddisplacement.inp | 2 +- .../Fem/femtest/data/calculix/constraint_centrif.inp | 2 +- .../data/calculix/constraint_contact_shell_shell.inp | 2 +- .../data/calculix/constraint_contact_solid_solid.inp | 2 +- .../data/calculix/constraint_sectionprint.inp | 2 +- .../calculix/constraint_selfweight_cantilever.inp | 2 +- src/Mod/Fem/femtest/data/calculix/constraint_tie.inp | 2 +- .../calculix/constraint_transform_beam_hinged.inp | 2 +- .../data/calculix/constraint_transform_torque.inp | 2 +- .../femtest/data/calculix/frequency_beamsimple.inp | 2 +- .../material_multiple_bendingbeam_fiveboxes.inp | 2 +- .../material_multiple_bendingbeam_fivefaces.inp | 2 +- .../material_multiple_tensionrod_twoboxes.inp | 2 +- .../Fem/femtest/data/calculix/material_nonlinear.inp | 2 +- .../calculix/square_pipe_end_twisted_edgeforces.inp | 2 +- .../calculix/square_pipe_end_twisted_nodeforces.inp | 2 +- .../femtest/data/calculix/thermomech_bimetall.inp | 2 +- .../Fem/femtest/data/calculix/thermomech_flow1D.inp | 2 +- .../Fem/femtest/data/calculix/thermomech_spine.inp | 2 +- src/Mod/Fem/femtools/checksanalysis.py | 2 +- src/Mod/Mesh/App/Core/SetOperations.h | 2 +- src/Mod/PartDesign/Gui/Command.cpp | 4 ++-- src/Mod/PartDesign/Gui/CommandBody.cpp | 2 +- src/Mod/PartDesign/Gui/TaskHelixParameters.cpp | 2 +- src/Mod/PartDesign/Gui/TaskPrimitiveParameters.cpp | 8 ++++---- src/Mod/PartDesign/Gui/TaskShapeBinder.cpp | 8 ++++---- src/Mod/Sketcher/App/Sketch.cpp | 2 +- src/Mod/Sketcher/Gui/CommandSketcherTools.cpp | 2 +- src/Mod/Sketcher/Gui/ViewProviderSketch.cpp | 2 +- src/WindowsInstaller/include/init.nsh | 6 +++--- 59 files changed, 77 insertions(+), 77 deletions(-) diff --git a/src/App/Application.h b/src/App/Application.h index e11b3b1d6f..84ddbb64ec 100644 --- a/src/App/Application.h +++ b/src/App/Application.h @@ -330,13 +330,13 @@ public: //@} /** @name methods for the open handler - * With this facility a Application module can register - * a ending (filetype) which he can handle to open. + * With this facility an Application module can register + * an ending (filetype) which it can handle to open. * The ending and the module name are stored and if the file - * type is opened the module get loaded and need to register a + * type is opened the module gets loaded and needs to register an * OpenHandler class in the OpenHandlerFactorySingleton. - * After the module is loaded a OpenHandler of this type is created - * and the file get loaded. + * After the module is loaded, an OpenHandler of this type is created + * and the file gets loaded. * @see OpenHandler * @see OpenHandlerFactorySingleton */ @@ -446,7 +446,7 @@ protected: void renameDocument(const char *OldName, const char *NewName); /** @name I/O of the document - * This slot get connected to all App::Documents created + * This slot gets connected to all App::Documents created */ //@{ void slotBeforeChangeDocument(const App::Document&, const App::Property&); diff --git a/src/App/Document.h b/src/App/Document.h index 6d0e7c5ec2..9ca8bc97e8 100644 --- a/src/App/Document.h +++ b/src/App/Document.h @@ -367,7 +367,7 @@ public: * When undo, Gui component can query getAvailableUndo(id) to see if it is * possible to undo with a given ID. If there more than one undo * transactions, meaning that there are other transactions before the given - * ID. The Gui component shall ask user if he wants to undo multiple steps. + * ID. The Gui component shall ask user if they want to undo multiple steps. * And if the user agrees, call undo(id) to unroll all transaction before * and including the the one with the give ID. Same applies for redo. * diff --git a/src/Base/PyExport.h b/src/Base/PyExport.h index 530250c0f9..e6bd78e800 100644 --- a/src/Base/PyExport.h +++ b/src/Base/PyExport.h @@ -79,7 +79,7 @@ class PyObjectBase; * @remark One big consequence of this specification is that the programmer must know whether the Python interpreter * gets the Python object or not. If the interpreter gets the object then it decrements the counter later on when * the internal variable is freed. In case the interpreter doesn't get this object then the programmer must do the - * decrement on his own. + * decrement on their own. * * @note To not to undermine this specification the programmer must make sure to get the Python object always via * GetPyObject(). diff --git a/src/Gui/CornerCrossLetters.h b/src/Gui/CornerCrossLetters.h index aec6e95048..16b251e3d7 100644 --- a/src/Gui/CornerCrossLetters.h +++ b/src/Gui/CornerCrossLetters.h @@ -10,7 +10,7 @@ namespace Gui { // 21x27 is 3x a standard 5x7 representation with 1px margin // This allows good anti-aliasing aspect at any usable size // It is generated with Gimp using Bitstream Charter Bold font, 28 px, on transparent background -// It is then directy exported as C source type after image is vertically flipped for direct GL usage +// It is then directly exported as C source type after image is vertically flipped for direct GL usage // With enabled options "Use macros instead of struct" and "Save alpha channel" #define XPM_WIDTH (21) diff --git a/src/Gui/DlgMacroExecuteImp.cpp b/src/Gui/DlgMacroExecuteImp.cpp index 952d56f902..9233326010 100644 --- a/src/Gui/DlgMacroExecuteImp.cpp +++ b/src/Gui/DlgMacroExecuteImp.cpp @@ -536,7 +536,7 @@ Note: your changes will be applied when you next switch workbenches\n")); Base::Console().Warning("Toolbar walkthrough: Unable to find actionMacros combo box\n"); } else { int macroIndex = macroListBox->findText(fn); //fn is the macro filename - macroListBox->setCurrentIndex(macroIndex); //select it for the user so he doesn't have to + macroListBox->setCurrentIndex(macroIndex); //select it for the user so they don't have to } QLineEdit* menuText = setupCustomMacrosPage->findChild(QString::fromLatin1("actionMenu")); @@ -580,7 +580,7 @@ Note: your changes will be applied when you next switch workbenches\n")); moveActionRightButton->setStyleSheet(QString::fromLatin1("background-color: red")); } /** tailor instructions depending on whether user already has custom toolbar created - * if not he needs to click New button to create one first + * if not, they need to click New button to create one first **/ QString instructions2 = tr("Walkthrough instructions: Click right arrow button (->), then Close."); diff --git a/src/Gui/TextEdit.h b/src/Gui/TextEdit.h index ad7bded512..4a20c450c0 100644 --- a/src/Gui/TextEdit.h +++ b/src/Gui/TextEdit.h @@ -137,7 +137,7 @@ private: /** * The CompletionList class provides a list box that pops up in a text edit if the user has pressed - * an accelerator to complete the current word he is typing in. + * an accelerator to complete the current word they are typing in. * @author Werner Mayer */ class CompletionList : public QListWidget diff --git a/src/Gui/ViewProviderGroupExtension.cpp b/src/Gui/ViewProviderGroupExtension.cpp index fd251d108f..5d2ff145a5 100644 --- a/src/Gui/ViewProviderGroupExtension.cpp +++ b/src/Gui/ViewProviderGroupExtension.cpp @@ -163,7 +163,7 @@ void ViewProviderGroupExtension::extensionHide(void) { bool ViewProviderGroupExtension::extensionOnDelete(const std::vector< std::string >& ) { auto* group = getExtendedViewProvider()->getObject()->getExtensionByType(); - // If the group is nonempty ask the user if he wants to delete its content + // If the group is nonempty ask the user if they want to delete its content if (group->Group.getSize() > 0) { QMessageBox::StandardButton choice = QMessageBox::question(getMainWindow(), QObject::tr ( "Delete group content?" ), diff --git a/src/Gui/ViewProviderLink.cpp b/src/Gui/ViewProviderLink.cpp index 2ebc20ec6d..4a2701c538 100644 --- a/src/Gui/ViewProviderLink.cpp +++ b/src/Gui/ViewProviderLink.cpp @@ -2506,7 +2506,7 @@ ViewProvider *ViewProviderLink::startEditing(int mode) { } // TODO: the 0x8000 mask here is for caller to disambiguate the intention - // here, whether he wants to, say transform the link itself or the linked + // here, whether they want to, say transform the link itself or the linked // object. Use of a mask here will allow forwarding those editing modes that // are supported by both the link and the linked object, such as transform // and set color. We need to find a better place to declare this constant. diff --git a/src/Gui/Workbench.cpp b/src/Gui/Workbench.cpp index 58c68ed01d..4abc96ada3 100644 --- a/src/Gui/Workbench.cpp +++ b/src/Gui/Workbench.cpp @@ -56,7 +56,7 @@ using namespace Gui; FreeCAD provides the possibility to have one or more workbenches for a module. A workbench changes the appearance of the main window in that way that it defines toolbars, items in the toolbox, menus or the context menu and dockable windows that are shown to the user. - The idea behind this concept is that the user should see only the functions that are required for the task that he is doing at this moment and not to show dozens of unneeded functions which the user never uses. + The idea behind this concept is that the user should see only the functions that are required for the task that they are doing at this moment and not to show dozens of unneeded functions which the user never uses. \section stepbystep Step by step Here follows a short description of how your own workbench can be added to a module. @@ -181,8 +181,8 @@ using namespace Gui; * At startup FreeCAD scans all module directories and invokes InitGui.py. So an item for a workbench gets created. If the user * clicks on such an item the matching module gets loaded, the C++ workbench gets registered and activated. * - * The user is able to modify a workbench (Edit|Customize). E.g. he can add new toolbars or items for the toolbox and add his preferred - * functions to them. But he has only full control over "his" toolbars, the default workbench items cannot be modified or even removed. + * The user is able to modify a workbench (Edit|Customize). E.g. they can add new toolbars or items for the toolbox and add their preferred + * functions to them. But the user only has full control over "their" own toolbars, the default workbench items cannot be modified or even removed. * * FreeCAD provides also the possibility to define pure Python workbenches. Such workbenches are temporarily only and are lost after exiting * the FreeCAD session. But if you want to keep your Python workbench you can write a macro and attach it with a user defined button or just diff --git a/src/Mod/Assembly/App/opendcm/core/property.hpp b/src/Mod/Assembly/App/opendcm/core/property.hpp index 62dafc99a1..6b67eb04f2 100644 --- a/src/Mod/Assembly/App/opendcm/core/property.hpp +++ b/src/Mod/Assembly/App/opendcm/core/property.hpp @@ -302,7 +302,7 @@ struct pts { //property type sequence /** * @brief Type traits to detect if the property has a default value * - * If the user want to provide a default value for a property than he adds a default_value static function. + * If the user wants to provide a default value for a property than they add a default_value static function. * To check if the this function is available we add a type traits which searches for this special function. */ BOOST_MPL_HAS_XXX_TRAIT_DEF(default_value) @@ -312,7 +312,7 @@ BOOST_MPL_HAS_XXX_TRAIT_DEF(default_value) /** * @brief Functor to assign default values to property * - * This functor holds a pointer to the PropertyOwner in question. The operator() get the properties which + * This functor holds a pointer to the PropertyOwner in question. The operator() gets the properties which * hold a default value and assigns this value to the property the owner holds. */ template diff --git a/src/Mod/Fem/Gui/TaskPostBoxes.cpp b/src/Mod/Fem/Gui/TaskPostBoxes.cpp index 641ea09da7..f8c173ae5f 100644 --- a/src/Mod/Fem/Gui/TaskPostBoxes.cpp +++ b/src/Mod/Fem/Gui/TaskPostBoxes.cpp @@ -1138,7 +1138,7 @@ void TaskPostWarpVector::on_Max_valueChanged(double) { /* * problem, if warp_factor is 2000 one would like to input 4000 as max, one starts to input 4 - * immediately the warp_factor is changed to 4 because 4 < 2000, but one has just input one character of his 4000 + * immediately the warp_factor is changed to 4 because 4 < 2000, but one has just input one character of their 4000 * I do not know how to solve this, but the code to set slider and spinbox is fine thus I leave it ... * * mhh it works if "apply changes to pipeline directly" button is deactivated, still it really confuses if diff --git a/src/Mod/Fem/femmesh/gmshtools.py b/src/Mod/Fem/femmesh/gmshtools.py index f51b3092f8..fad41d007a 100644 --- a/src/Mod/Fem/femmesh/gmshtools.py +++ b/src/Mod/Fem/femmesh/gmshtools.py @@ -1011,7 +1011,7 @@ for len in max_mesh_sizes: """ TODO class GmshTools should be splittet in two classes -one class should only collect the mesh parameter from mesh object and his childs +one class should only collect the mesh parameter from mesh object and its childs a second class only uses the collected parameter, writes the input file runs gmsh reads back the unv and returns a FemMesh gmsh binary will be collected in the second class diff --git a/src/Mod/Fem/femmesh/meshtools.py b/src/Mod/Fem/femmesh/meshtools.py index 3f04ec7c0c..3cf89b77c0 100644 --- a/src/Mod/Fem/femmesh/meshtools.py +++ b/src/Mod/Fem/femmesh/meshtools.py @@ -1015,7 +1015,7 @@ def get_ref_edgenodes_table( nodecount += 1 if nodecount > 1: refedge_fem_faceelements.append(elem) - # for every refedge_fem_faceelement look which of his nodes is in + # for every refedge_fem_faceelement look which of its nodes is in # refedge_nodes --> add all these nodes to edge_table for elem in refedge_fem_faceelements: fe_refedge_nodes = [] diff --git a/src/Mod/Fem/femsolver/calculix/writer.py b/src/Mod/Fem/femsolver/calculix/writer.py index 89d560306a..08d37d4cf8 100644 --- a/src/Mod/Fem/femsolver/calculix/writer.py +++ b/src/Mod/Fem/femsolver/calculix/writer.py @@ -70,7 +70,7 @@ from femtools import constants units_information = """*********************************************************** ** About units: ** See ccx manual, ccx does not know about any unit. -** Golden rule: The user must make sure that the numbers he provides have consistent units. +** Golden rule: The user must make sure that the numbers they provide have consistent units. ** The user is the FreeCAD calculix writer module ;-) ** ** The unit system which is used at Guido Dhondt's company: mm, N, s, K diff --git a/src/Mod/Fem/femtest/data/calculix/box_frequency.inp b/src/Mod/Fem/femtest/data/calculix/box_frequency.inp index 00c7073376..c6f624721c 100644 --- a/src/Mod/Fem/femtest/data/calculix/box_frequency.inp +++ b/src/Mod/Fem/femtest/data/calculix/box_frequency.inp @@ -471,7 +471,7 @@ S, E *********************************************************** ** About units: ** See ccx manual, ccx does not know about any unit. -** Golden rule: The user must make sure that the numbers he provides have consistent units. +** Golden rule: The user must make sure that the numbers they provide have consistent units. ** The user is the FreeCAD calculix writer module ;-) ** ** The unit system which is used at Guido Dhondt's company: mm, N, s, K diff --git a/src/Mod/Fem/femtest/data/calculix/box_static.inp b/src/Mod/Fem/femtest/data/calculix/box_static.inp index 195a5630cd..f5ad252b4c 100644 --- a/src/Mod/Fem/femtest/data/calculix/box_static.inp +++ b/src/Mod/Fem/femtest/data/calculix/box_static.inp @@ -599,7 +599,7 @@ RF *********************************************************** ** About units: ** See ccx manual, ccx does not know about any unit. -** Golden rule: The user must make sure that the numbers he provides have consistent units. +** Golden rule: The user must make sure that the numbers they provide have consistent units. ** The user is the FreeCAD calculix writer module ;-) ** ** The unit system which is used at Guido Dhondt's company: mm, N, s, K diff --git a/src/Mod/Fem/femtest/data/calculix/ccx_buckling_flexuralbuckling.inp b/src/Mod/Fem/femtest/data/calculix/ccx_buckling_flexuralbuckling.inp index 22f722e722..10c99f02ab 100644 --- a/src/Mod/Fem/femtest/data/calculix/ccx_buckling_flexuralbuckling.inp +++ b/src/Mod/Fem/femtest/data/calculix/ccx_buckling_flexuralbuckling.inp @@ -818,7 +818,7 @@ RF *********************************************************** ** About units: ** See ccx manual, ccx does not know about any unit. -** Golden rule: The user must make sure that the numbers he provides have consistent units. +** Golden rule: The user must make sure that the numbers they provide have consistent units. ** The user is the FreeCAD calculix writer module ;-) ** ** The unit system which is used at Guido Dhondt's company: mm, N, s, K diff --git a/src/Mod/Fem/femtest/data/calculix/ccx_cantilever_beam_circle.inp b/src/Mod/Fem/femtest/data/calculix/ccx_cantilever_beam_circle.inp index 9c70c8229e..683406edf8 100644 --- a/src/Mod/Fem/femtest/data/calculix/ccx_cantilever_beam_circle.inp +++ b/src/Mod/Fem/femtest/data/calculix/ccx_cantilever_beam_circle.inp @@ -113,7 +113,7 @@ RF *********************************************************** ** About units: ** See ccx manual, ccx does not know about any unit. -** Golden rule: The user must make sure that the numbers he provides have consistent units. +** Golden rule: The user must make sure that the numbers they provide have consistent units. ** The user is the FreeCAD calculix writer module ;-) ** ** The unit system which is used at Guido Dhondt's company: mm, N, s, K diff --git a/src/Mod/Fem/femtest/data/calculix/ccx_cantilever_beam_pipe.inp b/src/Mod/Fem/femtest/data/calculix/ccx_cantilever_beam_pipe.inp index 4f9f744756..7b88d0cd62 100644 --- a/src/Mod/Fem/femtest/data/calculix/ccx_cantilever_beam_pipe.inp +++ b/src/Mod/Fem/femtest/data/calculix/ccx_cantilever_beam_pipe.inp @@ -113,7 +113,7 @@ RF *********************************************************** ** About units: ** See ccx manual, ccx does not know about any unit. -** Golden rule: The user must make sure that the numbers he provides have consistent units. +** Golden rule: The user must make sure that the numbers they provide have consistent units. ** The user is the FreeCAD calculix writer module ;-) ** ** The unit system which is used at Guido Dhondt's company: mm, N, s, K diff --git a/src/Mod/Fem/femtest/data/calculix/ccx_cantilever_beam_rect.inp b/src/Mod/Fem/femtest/data/calculix/ccx_cantilever_beam_rect.inp index 65338dbab6..edb546f88c 100644 --- a/src/Mod/Fem/femtest/data/calculix/ccx_cantilever_beam_rect.inp +++ b/src/Mod/Fem/femtest/data/calculix/ccx_cantilever_beam_rect.inp @@ -113,7 +113,7 @@ RF *********************************************************** ** About units: ** See ccx manual, ccx does not know about any unit. -** Golden rule: The user must make sure that the numbers he provides have consistent units. +** Golden rule: The user must make sure that the numbers they provide have consistent units. ** The user is the FreeCAD calculix writer module ;-) ** ** The unit system which is used at Guido Dhondt's company: mm, N, s, K diff --git a/src/Mod/Fem/femtest/data/calculix/ccx_cantilever_ele_hexa20.inp b/src/Mod/Fem/femtest/data/calculix/ccx_cantilever_ele_hexa20.inp index e7d58efd79..8196de6c7e 100644 --- a/src/Mod/Fem/femtest/data/calculix/ccx_cantilever_ele_hexa20.inp +++ b/src/Mod/Fem/femtest/data/calculix/ccx_cantilever_ele_hexa20.inp @@ -453,7 +453,7 @@ RF *********************************************************** ** About units: ** See ccx manual, ccx does not know about any unit. -** Golden rule: The user must make sure that the numbers he provides have consistent units. +** Golden rule: The user must make sure that the numbers they provide have consistent units. ** The user is the FreeCAD calculix writer module ;-) ** ** The unit system which is used at Guido Dhondt's company: mm, N, s, K diff --git a/src/Mod/Fem/femtest/data/calculix/ccx_cantilever_ele_quad4.inp b/src/Mod/Fem/femtest/data/calculix/ccx_cantilever_ele_quad4.inp index 3105e03a28..aa88c6e3a1 100644 --- a/src/Mod/Fem/femtest/data/calculix/ccx_cantilever_ele_quad4.inp +++ b/src/Mod/Fem/femtest/data/calculix/ccx_cantilever_ele_quad4.inp @@ -139,7 +139,7 @@ RF *********************************************************** ** About units: ** See ccx manual, ccx does not know about any unit. -** Golden rule: The user must make sure that the numbers he provides have consistent units. +** Golden rule: The user must make sure that the numbers they provide have consistent units. ** The user is the FreeCAD calculix writer module ;-) ** ** The unit system which is used at Guido Dhondt's company: mm, N, s, K diff --git a/src/Mod/Fem/femtest/data/calculix/ccx_cantilever_ele_quad8.inp b/src/Mod/Fem/femtest/data/calculix/ccx_cantilever_ele_quad8.inp index 6e27d94ff0..01817ff723 100644 --- a/src/Mod/Fem/femtest/data/calculix/ccx_cantilever_ele_quad8.inp +++ b/src/Mod/Fem/femtest/data/calculix/ccx_cantilever_ele_quad8.inp @@ -129,7 +129,7 @@ RF *********************************************************** ** About units: ** See ccx manual, ccx does not know about any unit. -** Golden rule: The user must make sure that the numbers he provides have consistent units. +** Golden rule: The user must make sure that the numbers they provide have consistent units. ** The user is the FreeCAD calculix writer module ;-) ** ** The unit system which is used at Guido Dhondt's company: mm, N, s, K diff --git a/src/Mod/Fem/femtest/data/calculix/ccx_cantilever_ele_seg2.inp b/src/Mod/Fem/femtest/data/calculix/ccx_cantilever_ele_seg2.inp index 2d5115f6f4..08e6809a2a 100644 --- a/src/Mod/Fem/femtest/data/calculix/ccx_cantilever_ele_seg2.inp +++ b/src/Mod/Fem/femtest/data/calculix/ccx_cantilever_ele_seg2.inp @@ -255,7 +255,7 @@ RF *********************************************************** ** About units: ** See ccx manual, ccx does not know about any unit. -** Golden rule: The user must make sure that the numbers he provides have consistent units. +** Golden rule: The user must make sure that the numbers they provide have consistent units. ** The user is the FreeCAD calculix writer module ;-) ** ** The unit system which is used at Guido Dhondt's company: mm, N, s, K diff --git a/src/Mod/Fem/femtest/data/calculix/ccx_cantilever_ele_seg3.inp b/src/Mod/Fem/femtest/data/calculix/ccx_cantilever_ele_seg3.inp index 8884cec1f4..c9d196b933 100644 --- a/src/Mod/Fem/femtest/data/calculix/ccx_cantilever_ele_seg3.inp +++ b/src/Mod/Fem/femtest/data/calculix/ccx_cantilever_ele_seg3.inp @@ -113,7 +113,7 @@ RF *********************************************************** ** About units: ** See ccx manual, ccx does not know about any unit. -** Golden rule: The user must make sure that the numbers he provides have consistent units. +** Golden rule: The user must make sure that the numbers they provide have consistent units. ** The user is the FreeCAD calculix writer module ;-) ** ** The unit system which is used at Guido Dhondt's company: mm, N, s, K diff --git a/src/Mod/Fem/femtest/data/calculix/ccx_cantilever_ele_tria3.inp b/src/Mod/Fem/femtest/data/calculix/ccx_cantilever_ele_tria3.inp index 7a99b20451..22b20b22a7 100644 --- a/src/Mod/Fem/femtest/data/calculix/ccx_cantilever_ele_tria3.inp +++ b/src/Mod/Fem/femtest/data/calculix/ccx_cantilever_ele_tria3.inp @@ -1620,7 +1620,7 @@ RF *********************************************************** ** About units: ** See ccx manual, ccx does not know about any unit. -** Golden rule: The user must make sure that the numbers he provides have consistent units. +** Golden rule: The user must make sure that the numbers they provide have consistent units. ** The user is the FreeCAD calculix writer module ;-) ** ** The unit system which is used at Guido Dhondt's company: mm, N, s, K diff --git a/src/Mod/Fem/femtest/data/calculix/ccx_cantilever_ele_tria6.inp b/src/Mod/Fem/femtest/data/calculix/ccx_cantilever_ele_tria6.inp index 31a6b19e5c..1cac5e0ac2 100644 --- a/src/Mod/Fem/femtest/data/calculix/ccx_cantilever_ele_tria6.inp +++ b/src/Mod/Fem/femtest/data/calculix/ccx_cantilever_ele_tria6.inp @@ -347,7 +347,7 @@ RF *********************************************************** ** About units: ** See ccx manual, ccx does not know about any unit. -** Golden rule: The user must make sure that the numbers he provides have consistent units. +** Golden rule: The user must make sure that the numbers they provide have consistent units. ** The user is the FreeCAD calculix writer module ;-) ** ** The unit system which is used at Guido Dhondt's company: mm, N, s, K diff --git a/src/Mod/Fem/femtest/data/calculix/ccx_cantilever_faceload.inp b/src/Mod/Fem/femtest/data/calculix/ccx_cantilever_faceload.inp index 815e66a119..8f13ca6fac 100644 --- a/src/Mod/Fem/femtest/data/calculix/ccx_cantilever_faceload.inp +++ b/src/Mod/Fem/femtest/data/calculix/ccx_cantilever_faceload.inp @@ -419,7 +419,7 @@ RF *********************************************************** ** About units: ** See ccx manual, ccx does not know about any unit. -** Golden rule: The user must make sure that the numbers he provides have consistent units. +** Golden rule: The user must make sure that the numbers they provide have consistent units. ** The user is the FreeCAD calculix writer module ;-) ** ** The unit system which is used at Guido Dhondt's company: mm, N, s, K diff --git a/src/Mod/Fem/femtest/data/calculix/ccx_cantilever_nodeload.inp b/src/Mod/Fem/femtest/data/calculix/ccx_cantilever_nodeload.inp index 964b40f707..bd7dbec4cd 100644 --- a/src/Mod/Fem/femtest/data/calculix/ccx_cantilever_nodeload.inp +++ b/src/Mod/Fem/femtest/data/calculix/ccx_cantilever_nodeload.inp @@ -416,7 +416,7 @@ RF *********************************************************** ** About units: ** See ccx manual, ccx does not know about any unit. -** Golden rule: The user must make sure that the numbers he provides have consistent units. +** Golden rule: The user must make sure that the numbers they provide have consistent units. ** The user is the FreeCAD calculix writer module ;-) ** ** The unit system which is used at Guido Dhondt's company: mm, N, s, K diff --git a/src/Mod/Fem/femtest/data/calculix/ccx_cantilever_prescribeddisplacement.inp b/src/Mod/Fem/femtest/data/calculix/ccx_cantilever_prescribeddisplacement.inp index c3d571db8c..9d9d464b72 100644 --- a/src/Mod/Fem/femtest/data/calculix/ccx_cantilever_prescribeddisplacement.inp +++ b/src/Mod/Fem/femtest/data/calculix/ccx_cantilever_prescribeddisplacement.inp @@ -426,7 +426,7 @@ RF *********************************************************** ** About units: ** See ccx manual, ccx does not know about any unit. -** Golden rule: The user must make sure that the numbers he provides have consistent units. +** Golden rule: The user must make sure that the numbers they provide have consistent units. ** The user is the FreeCAD calculix writer module ;-) ** ** The unit system which is used at Guido Dhondt's company: mm, N, s, K diff --git a/src/Mod/Fem/femtest/data/calculix/constraint_centrif.inp b/src/Mod/Fem/femtest/data/calculix/constraint_centrif.inp index 47a3e0b109..a2faa25ee5 100644 --- a/src/Mod/Fem/femtest/data/calculix/constraint_centrif.inp +++ b/src/Mod/Fem/femtest/data/calculix/constraint_centrif.inp @@ -18792,7 +18792,7 @@ RF *********************************************************** ** About units: ** See ccx manual, ccx does not know about any unit. -** Golden rule: The user must make sure that the numbers he provides have consistent units. +** Golden rule: The user must make sure that the numbers they provide have consistent units. ** The user is the FreeCAD calculix writer module ;-) ** ** The unit system which is used at Guido Dhondt's company: mm, N, s, K diff --git a/src/Mod/Fem/femtest/data/calculix/constraint_contact_shell_shell.inp b/src/Mod/Fem/femtest/data/calculix/constraint_contact_shell_shell.inp index 963dec0633..9e75a79e40 100644 --- a/src/Mod/Fem/femtest/data/calculix/constraint_contact_shell_shell.inp +++ b/src/Mod/Fem/femtest/data/calculix/constraint_contact_shell_shell.inp @@ -38424,7 +38424,7 @@ RF *********************************************************** ** About units: ** See ccx manual, ccx does not know about any unit. -** Golden rule: The user must make sure that the numbers he provides have consistent units. +** Golden rule: The user must make sure that the numbers they provide have consistent units. ** The user is the FreeCAD calculix writer module ;-) ** ** The unit system which is used at Guido Dhondt's company: mm, N, s, K diff --git a/src/Mod/Fem/femtest/data/calculix/constraint_contact_solid_solid.inp b/src/Mod/Fem/femtest/data/calculix/constraint_contact_solid_solid.inp index 71d055cc73..61e7a9a212 100644 --- a/src/Mod/Fem/femtest/data/calculix/constraint_contact_solid_solid.inp +++ b/src/Mod/Fem/femtest/data/calculix/constraint_contact_solid_solid.inp @@ -5356,7 +5356,7 @@ RF *********************************************************** ** About units: ** See ccx manual, ccx does not know about any unit. -** Golden rule: The user must make sure that the numbers he provides have consistent units. +** Golden rule: The user must make sure that the numbers they provide have consistent units. ** The user is the FreeCAD calculix writer module ;-) ** ** The unit system which is used at Guido Dhondt's company: mm, N, s, K diff --git a/src/Mod/Fem/femtest/data/calculix/constraint_sectionprint.inp b/src/Mod/Fem/femtest/data/calculix/constraint_sectionprint.inp index 2eea3f4a01..253c38210c 100644 --- a/src/Mod/Fem/femtest/data/calculix/constraint_sectionprint.inp +++ b/src/Mod/Fem/femtest/data/calculix/constraint_sectionprint.inp @@ -3470,7 +3470,7 @@ RF *********************************************************** ** About units: ** See ccx manual, ccx does not know about any unit. -** Golden rule: The user must make sure that the numbers he provides have consistent units. +** Golden rule: The user must make sure that the numbers they provide have consistent units. ** The user is the FreeCAD calculix writer module ;-) ** ** The unit system which is used at Guido Dhondt's company: mm, N, s, K diff --git a/src/Mod/Fem/femtest/data/calculix/constraint_selfweight_cantilever.inp b/src/Mod/Fem/femtest/data/calculix/constraint_selfweight_cantilever.inp index 613c03c7fc..4fda9cf903 100644 --- a/src/Mod/Fem/femtest/data/calculix/constraint_selfweight_cantilever.inp +++ b/src/Mod/Fem/femtest/data/calculix/constraint_selfweight_cantilever.inp @@ -2199,7 +2199,7 @@ RF *********************************************************** ** About units: ** See ccx manual, ccx does not know about any unit. -** Golden rule: The user must make sure that the numbers he provides have consistent units. +** Golden rule: The user must make sure that the numbers they provide have consistent units. ** The user is the FreeCAD calculix writer module ;-) ** ** The unit system which is used at Guido Dhondt's company: mm, N, s, K diff --git a/src/Mod/Fem/femtest/data/calculix/constraint_tie.inp b/src/Mod/Fem/femtest/data/calculix/constraint_tie.inp index ac07fd6743..ea73b8caa3 100644 --- a/src/Mod/Fem/femtest/data/calculix/constraint_tie.inp +++ b/src/Mod/Fem/femtest/data/calculix/constraint_tie.inp @@ -18662,7 +18662,7 @@ RF *********************************************************** ** About units: ** See ccx manual, ccx does not know about any unit. -** Golden rule: The user must make sure that the numbers he provides have consistent units. +** Golden rule: The user must make sure that the numbers they provide have consistent units. ** The user is the FreeCAD calculix writer module ;-) ** ** The unit system which is used at Guido Dhondt's company: mm, N, s, K diff --git a/src/Mod/Fem/femtest/data/calculix/constraint_transform_beam_hinged.inp b/src/Mod/Fem/femtest/data/calculix/constraint_transform_beam_hinged.inp index 433461358a..92bd75d962 100644 --- a/src/Mod/Fem/femtest/data/calculix/constraint_transform_beam_hinged.inp +++ b/src/Mod/Fem/femtest/data/calculix/constraint_transform_beam_hinged.inp @@ -3800,7 +3800,7 @@ RF *********************************************************** ** About units: ** See ccx manual, ccx does not know about any unit. -** Golden rule: The user must make sure that the numbers he provides have consistent units. +** Golden rule: The user must make sure that the numbers they provide have consistent units. ** The user is the FreeCAD calculix writer module ;-) ** ** The unit system which is used at Guido Dhondt's company: mm, N, s, K diff --git a/src/Mod/Fem/femtest/data/calculix/constraint_transform_torque.inp b/src/Mod/Fem/femtest/data/calculix/constraint_transform_torque.inp index 4e0ba5f9b6..8f95976602 100644 --- a/src/Mod/Fem/femtest/data/calculix/constraint_transform_torque.inp +++ b/src/Mod/Fem/femtest/data/calculix/constraint_transform_torque.inp @@ -13173,7 +13173,7 @@ RF *********************************************************** ** About units: ** See ccx manual, ccx does not know about any unit. -** Golden rule: The user must make sure that the numbers he provides have consistent units. +** Golden rule: The user must make sure that the numbers they provide have consistent units. ** The user is the FreeCAD calculix writer module ;-) ** ** The unit system which is used at Guido Dhondt's company: mm, N, s, K diff --git a/src/Mod/Fem/femtest/data/calculix/frequency_beamsimple.inp b/src/Mod/Fem/femtest/data/calculix/frequency_beamsimple.inp index 3203aa1474..b0a20a53a7 100644 --- a/src/Mod/Fem/femtest/data/calculix/frequency_beamsimple.inp +++ b/src/Mod/Fem/femtest/data/calculix/frequency_beamsimple.inp @@ -17084,7 +17084,7 @@ RF *********************************************************** ** About units: ** See ccx manual, ccx does not know about any unit. -** Golden rule: The user must make sure that the numbers he provides have consistent units. +** Golden rule: The user must make sure that the numbers they provide have consistent units. ** The user is the FreeCAD calculix writer module ;-) ** ** The unit system which is used at Guido Dhondt's company: mm, N, s, K diff --git a/src/Mod/Fem/femtest/data/calculix/material_multiple_bendingbeam_fiveboxes.inp b/src/Mod/Fem/femtest/data/calculix/material_multiple_bendingbeam_fiveboxes.inp index 53ba2564cb..c324cb241d 100644 --- a/src/Mod/Fem/femtest/data/calculix/material_multiple_bendingbeam_fiveboxes.inp +++ b/src/Mod/Fem/femtest/data/calculix/material_multiple_bendingbeam_fiveboxes.inp @@ -29200,7 +29200,7 @@ RF *********************************************************** ** About units: ** See ccx manual, ccx does not know about any unit. -** Golden rule: The user must make sure that the numbers he provides have consistent units. +** Golden rule: The user must make sure that the numbers they provide have consistent units. ** The user is the FreeCAD calculix writer module ;-) ** ** The unit system which is used at Guido Dhondt's company: mm, N, s, K diff --git a/src/Mod/Fem/femtest/data/calculix/material_multiple_bendingbeam_fivefaces.inp b/src/Mod/Fem/femtest/data/calculix/material_multiple_bendingbeam_fivefaces.inp index 4976a607f9..2f4da096c8 100644 --- a/src/Mod/Fem/femtest/data/calculix/material_multiple_bendingbeam_fivefaces.inp +++ b/src/Mod/Fem/femtest/data/calculix/material_multiple_bendingbeam_fivefaces.inp @@ -2711,7 +2711,7 @@ RF *********************************************************** ** About units: ** See ccx manual, ccx does not know about any unit. -** Golden rule: The user must make sure that the numbers he provides have consistent units. +** Golden rule: The user must make sure that the numbers they provide have consistent units. ** The user is the FreeCAD calculix writer module ;-) ** ** The unit system which is used at Guido Dhondt's company: mm, N, s, K diff --git a/src/Mod/Fem/femtest/data/calculix/material_multiple_tensionrod_twoboxes.inp b/src/Mod/Fem/femtest/data/calculix/material_multiple_tensionrod_twoboxes.inp index 6ba8538f1c..ab2d0d6c2a 100644 --- a/src/Mod/Fem/femtest/data/calculix/material_multiple_tensionrod_twoboxes.inp +++ b/src/Mod/Fem/femtest/data/calculix/material_multiple_tensionrod_twoboxes.inp @@ -1292,7 +1292,7 @@ RF *********************************************************** ** About units: ** See ccx manual, ccx does not know about any unit. -** Golden rule: The user must make sure that the numbers he provides have consistent units. +** Golden rule: The user must make sure that the numbers they provide have consistent units. ** The user is the FreeCAD calculix writer module ;-) ** ** The unit system which is used at Guido Dhondt's company: mm, N, s, K diff --git a/src/Mod/Fem/femtest/data/calculix/material_nonlinear.inp b/src/Mod/Fem/femtest/data/calculix/material_nonlinear.inp index a2d2f5190d..4e1e0c5b30 100644 --- a/src/Mod/Fem/femtest/data/calculix/material_nonlinear.inp +++ b/src/Mod/Fem/femtest/data/calculix/material_nonlinear.inp @@ -20129,7 +20129,7 @@ RF *********************************************************** ** About units: ** See ccx manual, ccx does not know about any unit. -** Golden rule: The user must make sure that the numbers he provides have consistent units. +** Golden rule: The user must make sure that the numbers they provide have consistent units. ** The user is the FreeCAD calculix writer module ;-) ** ** The unit system which is used at Guido Dhondt's company: mm, N, s, K diff --git a/src/Mod/Fem/femtest/data/calculix/square_pipe_end_twisted_edgeforces.inp b/src/Mod/Fem/femtest/data/calculix/square_pipe_end_twisted_edgeforces.inp index 22fef3842b..c16882fd25 100644 --- a/src/Mod/Fem/femtest/data/calculix/square_pipe_end_twisted_edgeforces.inp +++ b/src/Mod/Fem/femtest/data/calculix/square_pipe_end_twisted_edgeforces.inp @@ -2674,7 +2674,7 @@ RF *********************************************************** ** About units: ** See ccx manual, ccx does not know about any unit. -** Golden rule: The user must make sure that the numbers he provides have consistent units. +** Golden rule: The user must make sure that the numbers they provide have consistent units. ** The user is the FreeCAD calculix writer module ;-) ** ** The unit system which is used at Guido Dhondt's company: mm, N, s, K diff --git a/src/Mod/Fem/femtest/data/calculix/square_pipe_end_twisted_nodeforces.inp b/src/Mod/Fem/femtest/data/calculix/square_pipe_end_twisted_nodeforces.inp index 099ef3bea0..e439f04309 100644 --- a/src/Mod/Fem/femtest/data/calculix/square_pipe_end_twisted_nodeforces.inp +++ b/src/Mod/Fem/femtest/data/calculix/square_pipe_end_twisted_nodeforces.inp @@ -2786,7 +2786,7 @@ RF *********************************************************** ** About units: ** See ccx manual, ccx does not know about any unit. -** Golden rule: The user must make sure that the numbers he provides have consistent units. +** Golden rule: The user must make sure that the numbers they provide have consistent units. ** The user is the FreeCAD calculix writer module ;-) ** ** The unit system which is used at Guido Dhondt's company: mm, N, s, K diff --git a/src/Mod/Fem/femtest/data/calculix/thermomech_bimetall.inp b/src/Mod/Fem/femtest/data/calculix/thermomech_bimetall.inp index 5d20a88b1d..dd1f031e31 100644 --- a/src/Mod/Fem/femtest/data/calculix/thermomech_bimetall.inp +++ b/src/Mod/Fem/femtest/data/calculix/thermomech_bimetall.inp @@ -8258,7 +8258,7 @@ RF *********************************************************** ** About units: ** See ccx manual, ccx does not know about any unit. -** Golden rule: The user must make sure that the numbers he provides have consistent units. +** Golden rule: The user must make sure that the numbers they provide have consistent units. ** The user is the FreeCAD calculix writer module ;-) ** ** The unit system which is used at Guido Dhondt's company: mm, N, s, K diff --git a/src/Mod/Fem/femtest/data/calculix/thermomech_flow1D.inp b/src/Mod/Fem/femtest/data/calculix/thermomech_flow1D.inp index 22a885456a..d8b7b7b0e2 100644 --- a/src/Mod/Fem/femtest/data/calculix/thermomech_flow1D.inp +++ b/src/Mod/Fem/femtest/data/calculix/thermomech_flow1D.inp @@ -168,7 +168,7 @@ MF, PS *********************************************************** ** About units: ** See ccx manual, ccx does not know about any unit. -** Golden rule: The user must make sure that the numbers he provides have consistent units. +** Golden rule: The user must make sure that the numbers they provide have consistent units. ** The user is the FreeCAD calculix writer module ;-) ** ** The unit system which is used at Guido Dhondt's company: mm, N, s, K diff --git a/src/Mod/Fem/femtest/data/calculix/thermomech_spine.inp b/src/Mod/Fem/femtest/data/calculix/thermomech_spine.inp index 290687e1c6..7cc0b503a3 100644 --- a/src/Mod/Fem/femtest/data/calculix/thermomech_spine.inp +++ b/src/Mod/Fem/femtest/data/calculix/thermomech_spine.inp @@ -205,7 +205,7 @@ RF *********************************************************** ** About units: ** See ccx manual, ccx does not know about any unit. -** Golden rule: The user must make sure that the numbers he provides have consistent units. +** Golden rule: The user must make sure that the numbers they provide have consistent units. ** The user is the FreeCAD calculix writer module ;-) ** ** The unit system which is used at Guido Dhondt's company: mm, N, s, K diff --git a/src/Mod/Fem/femtools/checksanalysis.py b/src/Mod/Fem/femtools/checksanalysis.py index b16412e450..50624ed13b 100644 --- a/src/Mod/Fem/femtools/checksanalysis.py +++ b/src/Mod/Fem/femtools/checksanalysis.py @@ -344,7 +344,7 @@ def check_member_for_solver_calculix(analysis, solver, mesh, member): ): message += ( "Mesh without geometry link. " - "The mesh needs to know his geometry for the beam rotations.\n" + "The mesh needs to know its geometry for the beam rotations.\n" ) if len(member.geos_beamrotation) > 1: message += ( diff --git a/src/Mod/Mesh/App/Core/SetOperations.h b/src/Mod/Mesh/App/Core/SetOperations.h index d83cc4f362..d2943bf994 100644 --- a/src/Mod/Mesh/App/Core/SetOperations.h +++ b/src/Mod/Mesh/App/Core/SetOperations.h @@ -76,7 +76,7 @@ protected: float _minDistanceToPoint; /** Minimal distance to facet corner points */ private: - // Helper class cutting edge to his two attached facets + // Helper class cutting edge to its two attached facets class Edge { public: diff --git a/src/Mod/PartDesign/Gui/Command.cpp b/src/Mod/PartDesign/Gui/Command.cpp index cfc3a655dc..1e0271e234 100644 --- a/src/Mod/PartDesign/Gui/Command.cpp +++ b/src/Mod/PartDesign/Gui/Command.cpp @@ -1183,8 +1183,8 @@ void prepareProfileBased(PartDesign::Body *pcActiveBody, Gui::Command* cmd, cons // a Part container and if not an error was raised and the function aborted. // First of all, for the user this wasn't obvious because the error message // was quite confusing (and thus the user may have done the wrong thing since - // he may have assumed the that the sketch was meant) and second there is no need - // that the body must be inside a Part container. + // they may have assumed the that the sketch was meant) and + // Second, there is no need that the body must be inside a Part container. // For more details see: https://forum.freecadweb.org/viewtopic.php?f=19&t=32164 // The function has been modified not to expect the body to be in the Part // and it now directly invokes the 'makeCopy' dialog. diff --git a/src/Mod/PartDesign/Gui/CommandBody.cpp b/src/Mod/PartDesign/Gui/CommandBody.cpp index a73bd62630..d3c9f45c26 100644 --- a/src/Mod/PartDesign/Gui/CommandBody.cpp +++ b/src/Mod/PartDesign/Gui/CommandBody.cpp @@ -941,7 +941,7 @@ void CmdPartDesignMoveFeatureInTree::activated(int iMsg) } // If the selected objects have been moved after the current tip then ask the - // user if he wants the last object to be the new tip. + // user if they want the last object to be the new tip. // Only do this for features that can hold a tip (not for e.g. datums) if ( lastObject && body->Tip.getValue() == target && lastObject->isDerivedFrom(PartDesign::Feature::getClassTypeId()) ) { diff --git a/src/Mod/PartDesign/Gui/TaskHelixParameters.cpp b/src/Mod/PartDesign/Gui/TaskHelixParameters.cpp index 9452720094..8ede0b0d9e 100644 --- a/src/Mod/PartDesign/Gui/TaskHelixParameters.cpp +++ b/src/Mod/PartDesign/Gui/TaskHelixParameters.cpp @@ -436,7 +436,7 @@ void TaskHelixParameters::onAxisChanged(int num) } propReferenceAxis->Paste(lnk); - // in case user is in selection mode, but changed his mind before selecting anything. + // in case user is in selection mode, but changed their mind before selecting anything. exitSelectionMode(); } diff --git a/src/Mod/PartDesign/Gui/TaskPrimitiveParameters.cpp b/src/Mod/PartDesign/Gui/TaskPrimitiveParameters.cpp index 64f0ac1b58..9a31600a18 100644 --- a/src/Mod/PartDesign/Gui/TaskPrimitiveParameters.cpp +++ b/src/Mod/PartDesign/Gui/TaskPrimitiveParameters.cpp @@ -398,7 +398,7 @@ void TaskBoxPrimitives::onCylinderRadiusChanged(double v) { void TaskBoxPrimitives::onCylinderXSkewChanged(double v) { PartDesign::Cylinder* cyl = static_cast(vp->getObject()); // we must assure that if the user incremented from e.g. 85 degree with the - // spin buttons he does not end at 90.0 but 89.9999 which is shown rounded to 90 degree + // spin buttons, they do not end at 90.0 but at 89.9999 which is shown rounded to 90 degree if ((v < 90.0) && (v > -90.0)) { cyl->FirstAngle.setValue(v); } @@ -415,7 +415,7 @@ void TaskBoxPrimitives::onCylinderXSkewChanged(double v) { void TaskBoxPrimitives::onCylinderYSkewChanged(double v) { PartDesign::Cylinder* cyl = static_cast(vp->getObject()); // we must assure that if the user incremented from e.g. 85 degree with the - // spin buttons he does not end at 90.0 but 89.9999 which is shown rounded to 90 degree + // spin buttons, they do not end at 90.0 but at 89.9999 which is shown rounded to 90 degree if ((v < 90.0) && (v > -90.0)) { cyl->SecondAngle.setValue(v); } @@ -572,7 +572,7 @@ void TaskBoxPrimitives::onPrismHeightChanged(double v) { void TaskBoxPrimitives::onPrismXSkewChanged(double v) { PartDesign::Prism* sph = static_cast(vp->getObject()); // we must assure that if the user incremented from e.g. 85 degree with the - // spin buttons he does not end at 90.0 but 89.9999 which is shown rounded to 90 degree + // spin buttons, they do not end at 90.0 but at 89.9999 which is shown rounded to 90 degree if ((v < 90.0) && (v > -90.0)) { sph->FirstAngle.setValue(v); } @@ -589,7 +589,7 @@ void TaskBoxPrimitives::onPrismXSkewChanged(double v) { void TaskBoxPrimitives::onPrismYSkewChanged(double v) { PartDesign::Prism* sph = static_cast(vp->getObject()); // we must assure that if the user incremented from e.g. 85 degree with the - // spin buttons he does not end at 90.0 but 89.9999 which is shown rounded to 90 degree + // spin buttons, they do not end at 90.0 but at 89.9999 which is shown rounded to 90 degree if ((v < 90.0) && (v > -90.0)) { sph->SecondAngle.setValue(v); } diff --git a/src/Mod/PartDesign/Gui/TaskShapeBinder.cpp b/src/Mod/PartDesign/Gui/TaskShapeBinder.cpp index ff869fdba5..bd6bf4cba0 100644 --- a/src/Mod/PartDesign/Gui/TaskShapeBinder.cpp +++ b/src/Mod/PartDesign/Gui/TaskShapeBinder.cpp @@ -91,8 +91,8 @@ TaskShapeBinder::TaskShapeBinder(ViewProviderShapeBinder *view, bool /*newObj*/, for (auto sub : subs) ui->listWidgetReferences->addItem(QString::fromStdString(sub)); - //make sure th euser sees al important things: the base feature to select edges and the - //spine/auxiliary spine he already selected + //make sure the user sees all important things: the base feature to select edges and the + //spine/auxiliary spine they already selected if(obj) { auto* svp = doc->getViewProvider(obj); if(svp) { @@ -148,8 +148,8 @@ TaskShapeBinder::~TaskShapeBinder() PartDesign::Pipe* pipe = static_cast(vp->getObject()); Gui::Document* doc = Gui::Application::Instance->activeDocument(); - //make sure th euser sees al important things: the base feature to select edges and the - //spine/auxiliary spine he already selected + //make sure the user sees all important things: the base feature to select edges and the + //spine/auxiliary spine they already selected if(pipe->BaseFeature.getValue()) doc->getViewProvider(pipe->BaseFeature.getValue())->hide(); if(pipe->Spine.getValue()) { diff --git a/src/Mod/Sketcher/App/Sketch.cpp b/src/Mod/Sketcher/App/Sketch.cpp index e1880af526..22f3858ba8 100644 --- a/src/Mod/Sketcher/App/Sketch.cpp +++ b/src/Mod/Sketcher/App/Sketch.cpp @@ -265,7 +265,7 @@ int Sketch::setUpSketch(const std::vector &GeoList, while(unsatisfied_groups) { // We tried hard not to arrive to an unsatisfied group, so we try harder // This loop has the advantage that the user will notice increased effort to solve, - // so may understand he is abusing the block constraint, while guaranteing that wrong + // so they may understand that they are abusing the block constraint, while guaranteeing that wrong // behaviour of the block constraint is not undetected. // Another QR iteration diff --git a/src/Mod/Sketcher/Gui/CommandSketcherTools.cpp b/src/Mod/Sketcher/Gui/CommandSketcherTools.cpp index f9e6aadfa1..939dcb2b04 100644 --- a/src/Mod/Sketcher/Gui/CommandSketcherTools.cpp +++ b/src/Mod/Sketcher/Gui/CommandSketcherTools.cpp @@ -1538,7 +1538,7 @@ void SketcherCopy::activate(SketcherCopy::Op op) } } - // Ask the user if he wants to clone or to simple copy + // Ask the user if they want to clone or to simple copy /* int ret = QMessageBox::question(Gui::getMainWindow(), QObject::tr("Dimensional/Geometric constraints"), QObject::tr("Do you want to clone the object, i.e. substitute dimensional constraints by geometric constraints?"), diff --git a/src/Mod/Sketcher/Gui/ViewProviderSketch.cpp b/src/Mod/Sketcher/Gui/ViewProviderSketch.cpp index 1ec7513d1e..0dfef57c23 100644 --- a/src/Mod/Sketcher/Gui/ViewProviderSketch.cpp +++ b/src/Mod/Sketcher/Gui/ViewProviderSketch.cpp @@ -3931,7 +3931,7 @@ void ViewProviderSketch::initItemsSizes() // // Rationale: // -> Other WBs use the default value as is - // -> If a user has a HDPI, he will eventually change the value for the other WBs + // -> If a user has a HDPI, they will eventually change the value for the other WBs // -> If we correct the value here in addition, we would get two times a resize edit->MarkerSize = markersize; } diff --git a/src/WindowsInstaller/include/init.nsh b/src/WindowsInstaller/include/init.nsh index af385577cd..f11153ef46 100644 --- a/src/WindowsInstaller/include/init.nsh +++ b/src/WindowsInstaller/include/init.nsh @@ -89,8 +89,8 @@ Function .onInit ${endif} ${if} $0 != "" # check if the uninstaller was acidentally deleted - # if so don't bother the user if he really wants to install a new FreeCAD over an existing one - # because he won't have a chance to deny this + # if so, don't bother the user if they really want to install a new FreeCAD over an existing one + # because they won't have a chance to deny this StrCpy $4 $0 -16 # remove '\bin\FreeCAD.exe' # (for FileCheck the variables $0 and $1 cannot be used) !insertmacro FileCheck $5 "Uninstall-${APP_NAME}.exe" "$4" # macro from Utils.nsh @@ -98,7 +98,7 @@ Function .onInit Goto ForceInstallation ${endif} # installing over an existing installation of the same FreeCAD release is not necessary - # if the users does this he most probably has a problem with FreeCAD that can better be solved + # if the users does this, they most probably have a problem with FreeCAD that can better be solved # by reinstalling FreeCAD # for beta and other test releases over-installing can even cause errors MessageBox MB_YESNO|MB_DEFBUTTON2|MB_ICONEXCLAMATION "$(AlreadyInstalled)" /SD IDNO IDYES ForceInstallation