Skip to content

Commit

Permalink
Fix various typos
Browse files Browse the repository at this point in the history
  • Loading branch information
luzpaz authored and 0penBrain committed Aug 4, 2023
1 parent da1480d commit 16e083c
Show file tree
Hide file tree
Showing 9 changed files with 9 additions and 9 deletions.
2 changes: 1 addition & 1 deletion src/App/DocumentObject.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1130,7 +1130,7 @@ DocumentObject *DocumentObject::resolve(const char *subname,
auto sobj = getSubObject(std::string(subname,dot-subname+1).c_str());
if(sobj!=obj) {
if(parent) {
// Link/LinkGroup has special visiblility handling of plain
// Link/LinkGroup has special visibility handling of plain
// group, so keep ascending
if(!sobj->hasExtension(GroupExtension::getExtensionClassTypeId(),false)) {
*parent = sobj;
Expand Down
2 changes: 1 addition & 1 deletion src/Gui/PythonEditor.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ PythonEditor::PythonEditor(QWidget* parent)
d = new PythonEditorP();
this->setSyntaxHighlighter(new PythonSyntaxHighlighter(this));

// set acelerators
// set accelerators
auto comment = new QShortcut(this);
comment->setKey(QKeySequence(QString::fromLatin1("ALT+C")));

Expand Down
2 changes: 1 addition & 1 deletion src/Gui/View3DViewerPy.h
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ class View3DInventorViewer;
*
* The interface does not offer all methods the c++ View3DInventorViewer counterpart has, respectively
* also not everything the QuarterWidget and the SoQtQuarterAdaptor offers. It only exposes
* methods with additioanl functionality in comparison to the View3DInventorPy class. Everything that
* methods with additional functionality in comparison to the View3DInventorPy class. Everything that
* can be done from there has no interface here.
*/
class View3DInventorViewerPy : public Py::PythonExtension<View3DInventorViewerPy>
Expand Down
2 changes: 1 addition & 1 deletion src/Mod/Arch/OfflineRenderingUtils.py
Original file line number Diff line number Diff line change
Expand Up @@ -456,7 +456,7 @@ def getCoinCamera(camerastring):
for child in node.getChildren():
if ("SoOrthographicCamera" in str(child)) or ("SoPerspectiveCamera" in str(child)):
return child
print("unnable to build a camera node from string:",camerastring)
print("unable to build a camera node from string:",camerastring)
return None


Expand Down
2 changes: 1 addition & 1 deletion src/Mod/Fem/Gui/Command.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1699,7 +1699,7 @@ CmdFemPostClipFilter::CmdFemPostClipFilter()
sGroup = QT_TR_NOOP("Fem");
sMenuText = QT_TR_NOOP("Region clip filter");
sToolTipText =
QT_TR_NOOP("Define/create a clip filter which uses functions to define the cliped region");
QT_TR_NOOP("Define/create a clip filter which uses functions to define the clipped region");
sWhatsThis = "FEM_PostFilterClipRegion";
sStatusTip = sToolTipText;
sPixmap = "FEM_PostFilterClipRegion";
Expand Down
2 changes: 1 addition & 1 deletion src/Mod/Fem/Gui/TaskPostBoxes.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -413,7 +413,7 @@ TaskPostDisplay::TaskPostDisplay(Gui::ViewProviderDocumentObject* view, QWidget*
updateEnumerationList(getTypedView<ViewProviderFemPostObject>()->Field, ui->Field);
updateEnumerationList(getTypedView<ViewProviderFemPostObject>()->VectorMode, ui->VectorMode);

// get Tranparency from ViewProvider
// get Transparency from ViewProvider
int trans = getTypedView<ViewProviderFemPostObject>()->Transparency.getValue();
Base::Console().Log("Transparency %i: \n", trans);
// sync the trancparency slider
Expand Down
2 changes: 1 addition & 1 deletion src/Mod/PartDesign/App/Body.h
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ class PartDesignExport Body : public Part::BodyBase

/**
* Add the feature into the body at the current insert point.
* The insertion poin is the before next solid after the Tip feature
* The insertion point is the before next solid after the Tip feature
*/
std::vector<App::DocumentObject*> addObject(App::DocumentObject*) override;
std::vector< DocumentObject* > addObjects(std::vector< DocumentObject* > obj) override;
Expand Down
2 changes: 1 addition & 1 deletion src/Mod/PartDesign/App/json.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -6367,7 +6367,7 @@ struct wide_string_input_helper<BaseInputAdapter, 2>
}
};

// Wraps another input apdater to convert wide character types into individual bytes.
// Wraps another input adapter to convert wide character types into individual bytes.
template<typename BaseInputAdapter, typename WideCharType>
class wide_string_input_adapter
{
Expand Down
2 changes: 1 addition & 1 deletion src/Mod/Sketcher/Gui/TaskSketcherElements.h
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ protected Q_SLOTS:
// Other Commands
void doToggleConstruction();

// Acelerators
// Accelerators
void doSelectConstraints();
void doSelectOrigin();
void doSelectHAxis();
Expand Down

0 comments on commit 16e083c

Please sign in to comment.