Misc. typo fixes

Found via `codespell -q 3 -I ../fc-word-whitelist.txt -S ./.git,*.po,*.ts,./ChangeLog.txt,./src/3rdParty,./src/Mod/Assembly/App/opendcm,./src/CXX,./src/zipios++,./src/Base/swig*,./src/Mod/Robot/App/kdl_cp,./src/Mod/Import/App/SCL,./src/WindowsInstaller -L pard,wallthickness,commen,byteorder,alocation`
This commit is contained in:
luz.paz
2019-05-16 23:02:24 -04:00
committed by abdullahtahiriyo
parent af2d85d914
commit 11f4f30a37
5 changed files with 7 additions and 7 deletions

View File

@@ -33,7 +33,7 @@ namespace Base {
/* Metric units schema intended for design of small parts and for CNC
* Lengths are alwais in mm.
* Lengths are always in mm.
* Angles in degrees (use degree symbol)
* Velocities in mm/min (as used in g-code).
*/

View File

@@ -375,14 +375,14 @@ public:
}
virtual ~AwaitingMoveState(){
//always clear posponed events when leaving this state.
//always clear postponed events when leaving this state.
this->outermost_context().ns.postponedEvents.discardAll();
}
sc::result react(const NS::Event& ev){
auto &ns = this->outermost_context().ns;
///refire(): forwards all posponed events + this event
///refire(): forwards all postponed events + this event
auto refire = [&]{
ns.postponedEvents.forwardAll();
ev.flags->processed = ns.processSoEvent_bypass(ev.inventor_event);

View File

@@ -858,7 +858,7 @@ class DraftToolBar:
self.xzButton.setText(translate("draft", "XZ (front)"))
self.xzButton.setToolTip(translate("draft", "Sets the working plane on the front XZ plane"))
self.yzButton.setText(translate("draft", "YZ (side)"))
self.yzButton.setToolTip(translate("draft", "Setsthe working plane on the side YZ plane"))
self.yzButton.setToolTip(translate("draft", "Sets the working plane on the side YZ plane"))
self.currentViewButton.setText(translate("draft", "View"))
self.currentViewButton.setToolTip(translate("draft", "Sets the working plane perpendicular to the current view"))
self.resetPlaneButton.setText(translate("draft", "Automatic"))

View File

@@ -327,7 +327,7 @@ class SelectPlane(DraftTool):
self.finish()
if arg["Type"] == "SoMouseButtonEvent":
if (arg["State"] == "DOWN") and (arg["Button"] == "BUTTON1"):
# coin detection happens before the selection got a chance of being updated, sowe must delay
# coin detection happens before the selection got a chance of being updated, so we must delay
DraftGui.todo.delay(self.checkSelection,None)
def checkSelection(self):
@@ -1030,7 +1030,7 @@ class CubicBezCurve(Line):
if ((self.point-self.node[0]).Length < Draft.tolerance()) and len(self.node) >= 4:
#self.undolast()
self.node=self.node[0:-2]
self.node.append(2 * self.node[0] - self.node[1]) #close the curve with a smooth simmetric knot
self.node.append(2 * self.node[0] - self.node[1]) #close the curve with a smooth symmetric knot
self.finish(True,cont=True)
FreeCAD.Console.PrintMessage(translate("draft", "Bezier curve has been closed")+"\n")
if (arg["State"] == "UP") and (arg["Button"] == "BUTTON1"): #left click

View File

@@ -499,7 +499,7 @@
<rdf:li>square</rdf:li>
</rdf:Bag>
</dc:subject>
<dc:description>A curved line in the shape of an upside down U with a poitn at each end that has a square shaped control point</dc:description>
<dc:description>A curved line in the shape of an upside down U with a point at each end that has a square shaped control point</dc:description>
</cc:Work>
</rdf:RDF>
</metadata>

Before

Width:  |  Height:  |  Size: 21 KiB

After

Width:  |  Height:  |  Size: 21 KiB