Skip to content

Commit ed5e072

Browse files
committed
Fix various typos throughout the codebase
1 parent b4e11db commit ed5e072

File tree

17 files changed

+21
-20
lines changed

17 files changed

+21
-20
lines changed

src/Doc/BuildDocDoxyFull.cfg

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -593,7 +593,7 @@ REFERENCES_RELATION = YES
593593
# If the REFERENCES_LINK_SOURCE tag is set to YES (the default)
594594
# and SOURCE_BROWSER tag is set to YES, then the hyperlinks from
595595
# functions in REFERENCES_RELATION and REFERENCED_BY_RELATION lists will
596-
# link to the source code. Otherwise they will link to the documentstion.
596+
# link to the source code. Otherwise they will link to the documentation.
597597

598598
REFERENCES_LINK_SOURCE = YES
599599

src/Gui/Action.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -325,7 +325,7 @@ QString Action::createToolTip(QString helpText,
325325
//
326326
// The long winding code is to deal with the fact that Qt will auto wrap
327327
// a rich text tooltip but the width is too short. We can escape the auto
328-
// wrappin using <p style='white-space:pre'>.
328+
// wrapping using <p style='white-space:pre'>.
329329

330330
QString shortcut = shortCut;
331331
if (!shortcut.isEmpty() && helpText.endsWith(shortcut)) {

src/Gui/CommandFeat.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -147,7 +147,7 @@ StdCmdToggleFreeze::StdCmdToggleFreeze()
147147
sGroup = "File";
148148
sMenuText = QT_TR_NOOP("Toggle freeze");
149149
static std::string toolTip = std::string("<p>")
150-
+ QT_TR_NOOP("Toggles freeze sate of the selected objects. A freezed object is not recomputed when its parents change.")
150+
+ QT_TR_NOOP("Toggles freeze state of the selected objects. A freezed object is not recomputed when its parents change.")
151151
+ "</p>";
152152
sToolTipText = toolTip.c_str();
153153
sStatusTip = sToolTipText;

src/Gui/DlgPreferencesImp.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -927,7 +927,7 @@ void DlgPreferencesImp::restorePageDefaults(PreferencesPageItem* item)
927927
page->resetSettingsToDefaults();
928928
/**
929929
* Let's save the restart request before the page object is deleted and replaced with
930-
* the newPage object (wich has restartRequired initialized to false)
930+
* the newPage object (which has restartRequired initialized to false)
931931
*/
932932
restartRequired = restartRequired || page->isRestartRequired();
933933

src/Gui/SoFCUnifiedSelection.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1712,7 +1712,7 @@ void SoFCPathAnnotation::GLRenderBelowPath(SoGLRenderAction * action)
17121712

17131713
if(path->getLength() != tmpPath->getLength()) {
17141714
// The auditing SoPath may be truncated due to harmless things such as
1715-
// fliping a SoSwitch sibling node. So we keep an unauditing SoTempPath
1715+
// flipping a SoSwitch sibling node. So we keep an unauditing SoTempPath
17161716
// around to try to restore the path.
17171717
for(int i=path->getLength()-1;i<tmpPath->getLength()-1;++i) {
17181718
auto children = path->getNode(i)->getChildren();

src/Gui/Tree.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1564,7 +1564,7 @@ void TreeWidget::mousePressEvent(QMouseEvent* event)
15641564
{
15651565
QTreeWidget::mousePressEvent(event);
15661566

1567-
// Handle the visibility icon after the normal event processing to not interfer with
1567+
// Handle the visibility icon after the normal event processing to not interfere with
15681568
// the selection logic.
15691569
if (isVisibilityIconEnabled()) {
15701570
QTreeWidgetItem* item = itemAt(event->pos());

src/Mod/Arch/ArchBuildingPart.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -883,7 +883,7 @@ def onDelete(self,vobj,subelements):
883883
return True
884884

885885
def setEdit(self, vobj, mode):
886-
# mode == 1 if Transform is selected in the Tree view contex menu.
886+
# mode == 1 if Transform is selected in the Tree view context menu.
887887
# mode == 2 has been added for consistency.
888888
if mode == 1 or mode == 2:
889889
return None

src/Mod/Arch/ArchWall.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1270,7 +1270,8 @@ def getExtrusionData(self,obj):
12701270

12711271
# If the object is a single edge, use that as the
12721272
# basewires.
1273-
# TODO 2023.11.26: Need to check if it is not Sketch afterall first or use algoritm for Sketch altogher?
1273+
# TODO 2023.11.26: Need to check if it isn't Sketch after all first
1274+
# or use algorithm for Sketch altogether?
12741275
elif len(obj.Base.Shape.Edges) == 1:
12751276
self.basewires = [Part.Wire(obj.Base.Shape.Edges)]
12761277

src/Mod/Assembly/App/AssemblyObject.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1190,7 +1190,7 @@ std::vector<App::DocumentObject*> AssemblyObject::getDownstreamParts(App::Docume
11901190
}
11911191

11921192
AssemblyObject::setJointActivated(joint, state);
1193-
/*if (limit > 1000) { // Inifinite loop protection
1193+
/*if (limit > 1000) { // Infinite loop protection
11941194
return {};
11951195
}
11961196
limit++;
@@ -1243,7 +1243,7 @@ std::vector<App::DocumentObject*> AssemblyObject::getDownstreamParts(App::Docume
12431243
std::vector<App::DocumentObject*> AssemblyObject::getUpstreamParts(App::DocumentObject* part,
12441244
int limit)
12451245
{
1246-
if (limit > 1000) { // Inifinite loop protection
1246+
if (limit > 1000) { // Infinite loop protection
12471247
return {};
12481248
}
12491249
limit++;

src/Mod/CAM/App/AreaParams.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@
6868
"behave like wire cutting. Without exploding, 'Difference' in ClipperLib\n"\
6969
"behave like face cutting."))\
7070
((enum,open_mode,OpenMode,0,\
71-
"Specify how to handle open wires. 'None' means combin without openeration.\n"\
71+
"Specify how to handle open wires. 'None' means combine without openeration.\n"\
7272
"'Edges' means separate to edges before Union. ClipperLib seems to have an.\n"\
7373
"urge to close open wires.",(None)(Union)(Edges)))\
7474
AREA_PARAMS_DEFLECTION \

0 commit comments

Comments
 (0)