Fix various typos [skip-ci]

This commit is contained in:
luz paz
2020-10-23 12:04:07 -04:00
committed by wwmayer
parent 73ba306169
commit 9f74b422a9
6 changed files with 8 additions and 8 deletions

View File

@@ -178,7 +178,7 @@ MouseP::mouseWheelEvent(QWheelEvent * event)
#if QT_VERSION >= 0x050000
pos *= publ->quarter->devicePixelRatio();
#endif
this->location2->setPosition(pos); //I don't know why location2 is assigned here, I assumend it important --DeepSOIC
this->location2->setPosition(pos); //I don't know why location2 is assigned here, I assumed it important --DeepSOIC
this->wheel->setPosition(pos);
// QWheelEvent::delta() returns the distance that the wheel is

View File

@@ -344,7 +344,7 @@ class Snapper:
def cycleSnapObject(self):
"""Increse the index of the snap object by one."""
"""Increase the index of the snap object by one."""
self.snapObjectIndex = self.snapObjectIndex + 1

View File

@@ -68,7 +68,7 @@ def make_sketch(objects_list, autoconstraints=False, addTo=None,
radius within precision.
tol(1e-3): Tolerance used to check if the shapes are planar and coplanar.
Consider change to tol=-1 for a more accurate analisis.
Consider change to tol=-1 for a more accurate analysis.
"""
if not App.ActiveDocument:

View File

@@ -56,7 +56,7 @@ class VPBaseFemObject(object):
return ""
if not hasattr(self.Object.Proxy, "Type"):
FreeCAD.Console.PrintMessage(
"{}: Proxy does has not have attribte Type.\n"
"{}: Proxy does has not have attribute Type.\n"
.format(self.Object.Name)
)
return ""

View File

@@ -214,7 +214,7 @@ class ToolEditor:
self.tool = self.Tool
def getType(self, tooltype):
"gets a combobox index number for a given type or viceversa"
"gets a combobox index number for a given type or vice versa"
toolslist = Path.Tool.getToolTypes(Path.Tool())
if isinstance(tooltype, str):
if tooltype in toolslist:
@@ -224,7 +224,7 @@ class ToolEditor:
return toolslist[tooltype]
def getMaterial(self, material):
"gets a combobox index number for a given material or viceversa"
"gets a combobox index number for a given material or vice versa"
matslist = Path.Tool.getToolMaterials(Path.Tool())
if isinstance(material, str):
if material in matslist:

View File

@@ -79,7 +79,7 @@ class EditorPanel():
pass
def getType(self, tooltype):
"gets a combobox index number for a given type or viceversa"
"gets a combobox index number for a given type or vice versa"
toolslist = Path.Tool.getToolTypes(Path.Tool())
if isinstance(tooltype, str):
if tooltype in toolslist:
@@ -90,7 +90,7 @@ class EditorPanel():
return toolslist[tooltype]
def getMaterial(self, material):
'''gets a combobox index number for a given material or viceversa'''
'''gets a combobox index number for a given material or vice versa'''
matslist = Path.Tool.getToolMaterials(Path.Tool())
if isinstance(material, str):
if material in matslist: