From 83f34a1e5b11ee900ddaf92e0f0fd1afc1c7595c Mon Sep 17 00:00:00 2001 From: luz paz Date: Sat, 11 Jul 2020 13:45:13 -0400 Subject: [PATCH] Fix Crowdin typos and various other typos/grammar [skip ci] Found via codespell v2.0.dev0 ``` codespell -q 3 -L aci,ake,aline,alle,alledges,alocation,als,ang,anid,ba,beginn,behaviour,bloaded,byteorder,calculater,cancelled,cancelling,cas,cascade,centimetre,childs,colour,colours,commen,connexion,currenty,dof,doubleclick,dum,eiter,elemente,ende,feld,finde,findf,freez,hist,iff,indicies,initialisation,initialise,initialised,initialises,initialisiert,ist,kilometre,lod,mantatory,methode,metres,millimetre,modell,nd,noe,normale,normaly,nto,numer,oder,orgin,orginx,orginy,ot,pard,pres,programm,que,recurrance,rougly,seperator,serie,sinc,strack,substraction,te,thist,thru,tread,uint,unter,vertexes,wallthickness,whitespaces -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,./src/Doc/FreeCAD.uml ``` --- src/App/DocumentObjectPy.xml | 2 +- src/Mod/Arch/ArchBuildingPart.py | 2 +- src/Mod/Arch/Resources/ui/ArchSchedule.ui | 9 ++++++--- src/Mod/Arch/Resources/ui/preferences-ifc-export.ui | 2 +- src/Mod/Arch/Resources/ui/preferences-ifc.ui | 6 +++--- src/Mod/Draft/draftviewproviders/view_text.py | 2 +- src/Mod/Sketcher/App/SketchObject.cpp | 2 +- 7 files changed, 14 insertions(+), 11 deletions(-) diff --git a/src/App/DocumentObjectPy.xml b/src/App/DocumentObjectPy.xml index 288f351214e6..03e993d87417 100644 --- a/src/App/DocumentObjectPy.xml +++ b/src/App/DocumentObjectPy.xml @@ -86,7 +86,7 @@ referencing subobject. DocAndPyObject: return a tuple (object, matrix, pyobj) for each subname - Placement: return a trasformed placement of the sub-object + Placement: return a transformed placement of the sub-object * matrix: the initial transformation to be applied to the sub object. diff --git a/src/Mod/Arch/ArchBuildingPart.py b/src/Mod/Arch/ArchBuildingPart.py index ce7c7fd9cc44..c62cb98fdb26 100644 --- a/src/Mod/Arch/ArchBuildingPart.py +++ b/src/Mod/Arch/ArchBuildingPart.py @@ -537,7 +537,7 @@ def setProperties(self,vobj): if not "RestoreView" in pl: vobj.addProperty("App::PropertyBool","RestoreView","Interaction",QT_TRANSLATE_NOOP("App::Property","If set, the view stored in this object will be restored on double-click")) if not "DoubleClickActivates" in pl: - vobj.addProperty("App::PropertyBool","DoubleClickActivates","Interaction",QT_TRANSLATE_NOOP("App::Property","If True, double-clicking this object in the tree turns it active")) + vobj.addProperty("App::PropertyBool","DoubleClickActivates","Interaction",QT_TRANSLATE_NOOP("App::Property","If True, double-clicking this object in the tree activates it")) # inventor saving if not "SaveInventor" in pl: diff --git a/src/Mod/Arch/Resources/ui/ArchSchedule.ui b/src/Mod/Arch/Resources/ui/ArchSchedule.ui index a81d4ad7dd0c..901b85746bee 100644 --- a/src/Mod/Arch/Resources/ui/ArchSchedule.ui +++ b/src/Mod/Arch/Resources/ui/ArchSchedule.ui @@ -65,7 +65,7 @@ The property to retrieve from each object. -Can be "count" to count the objects, or property names +Can be "Count" to count the objects, or property names like "Length" or "Shape.Volume" to retrieve a certain property. @@ -83,7 +83,10 @@ a certain property. Objects - An optional semicolon (;) separated list of object names internal names, not labels) to be considered by this operation. If the list contains groups, children will be added. Leave blank to use all objects from the document + An optional semicolon (;) separated list of object names +(internal names, not labels), to be considered by this operation. +If the list contains groups, children will be added. +Leave blank to use all objects from the document @@ -91,7 +94,7 @@ a certain property. Filter - <html><head/><body><p>An optional semicolon (;) separated list of property:value filters. Prepend ! to a property name to invert the effect of the filer (exclude objects that match the filter. Objects whose property contains the value will be matched. Examples of valid filters (everything is case-insensitive):</p><p><span style=" font-weight:600;">Name:Wall</span> - Will only consider objects with &quot;wall&quot; in their name (internal name)</p><p><span style=" font-weight:600;">!Name:Wall</span> - Will only consider objects which DON'T have &quot;wall&quot; in their name (internal name)</p><p><span style=" font-weight:600;">Descriptionl:Win</span> - Will only consider objects with &quot;win&quot; in their description</p><p><span style=" font-weight:600;">!Label:Win</span> - Will only consider objects which DON't have &quot;win&quot; in their label</p><p><span style=" font-weight:600;">IfcType:Wall</span> - Will only consider objects which Ifc Type is &quot;Wall&quot;</p><p><span style=" font-weight:600;">!Tag:Wall</span> - Will only consider objects which tag is NOT &quot;Wall&quot;</p><p>If you leave this field empty, no filtering is applied</p></body></html> + <html><head/><body><p>An optional semicolon (;) separated list of property:value filters. Prepend ! to a property name to invert the effect of the filer (exclude objects that match the filter). Objects whose property contains the value will be matched. Examples of valid filters (everything is case-insensitive):</p><p><span style=" font-weight:600;">Name:Wall</span> - Will only consider objects with &quot;wall&quot; in their name (internal name)</p><p><span style=" font-weight:600;">!Name:Wall</span> - Will only consider objects which DON'T have &quot;wall&quot; in their name (internal name)</p><p><span style=" font-weight:600;">Descriptionl:Win</span> - Will only consider objects with &quot;win&quot; in their description</p><p><span style=" font-weight:600;">!Label:Win</span> - Will only consider objects which DON't have &quot;win&quot; in their label</p><p><span style=" font-weight:600;">IfcType:Wall</span> - Will only consider objects which Ifc Type is &quot;Wall&quot;</p><p><span style=" font-weight:600;">!Tag:Wall</span> - Will only consider objects which tag is NOT &quot;Wall&quot;</p><p>If you leave this field empty, no filtering is applied</p></body></html> diff --git a/src/Mod/Arch/Resources/ui/preferences-ifc-export.ui b/src/Mod/Arch/Resources/ui/preferences-ifc-export.ui index b7a136d9f540..673486eaa9ed 100644 --- a/src/Mod/Arch/Resources/ui/preferences-ifc-export.ui +++ b/src/Mod/Arch/Resources/ui/preferences-ifc-export.ui @@ -116,7 +116,7 @@ Use this to force all objects to be exported as BREP geometry. Curved shapes that cannot be represented as curves in IFC are decomposed into flat facets. -If this is checked, additional calculation is done to join coplanar facets. +If this is checked, an additional calculation is done to join coplanar facets. Join coplanar facets when triangulating diff --git a/src/Mod/Arch/Resources/ui/preferences-ifc.ui b/src/Mod/Arch/Resources/ui/preferences-ifc.ui index 9c0ccded1e4f..5915a6fe64c6 100644 --- a/src/Mod/Arch/Resources/ui/preferences-ifc.ui +++ b/src/Mod/Arch/Resources/ui/preferences-ifc.ui @@ -104,7 +104,7 @@ One object is the base object, the others are clones. - EXPERIMENTAL - The number of cores to use in multicore mode. Keep 0 to disable multicore mode, or 1 to use multicore mode in single-core mode (safer if you get crashes). Max value should be your number of cores - 1, ex: 3 of you have a quad-core CPU. + EXPERIMENTAL - The number of cores to use in multicore mode. Keep 0 to disable multicore mode, or 1 to use multicore mode in single-core mode (safer if you get crashes). Max value should be your number of cores - 1, ex: 3 if you have a quad-core CPU. ifcMulticore @@ -428,10 +428,10 @@ FreeCAD object properties - If this option is checked, the default Project, Site, Building and Storeys objects that are usually found in an IFC file are not imported, and all objects are placed in a Group. Buildings and Storeys are still imported if there is more than one. + If this option is checked, the default Project, Site, Building, and Storeys objects that are usually found in an IFC file are not imported, and all objects are placed in a Group. Buildings and Storeys are still imported if there is more than one. - Replace Project, Site, Building and Storey by Group + Replace Project, Site, Building, and Storey by Group ifcReplaceProject diff --git a/src/Mod/Draft/draftviewproviders/view_text.py b/src/Mod/Draft/draftviewproviders/view_text.py index f3af3653df12..8808fb9f0f9d 100644 --- a/src/Mod/Draft/draftviewproviders/view_text.py +++ b/src/Mod/Draft/draftviewproviders/view_text.py @@ -196,7 +196,7 @@ def onChanged(self, vobj, prop): # In v0.19 this code causes an `AttributeError` exception # during loading of the document as `ScaleMultiplier` # apparently isn't set immediately when the document loads. - # So the if condition tests for the existance + # So the if condition tests for the existence # of `ScaleMultiplier` before even changing the font size. # A try-except block may be used as well to catch and ignore # this error. diff --git a/src/Mod/Sketcher/App/SketchObject.cpp b/src/Mod/Sketcher/App/SketchObject.cpp index ea390ada3f39..97f53d4d4713 100644 --- a/src/Mod/Sketcher/App/SketchObject.cpp +++ b/src/Mod/Sketcher/App/SketchObject.cpp @@ -7046,7 +7046,7 @@ void SketchObject::onChanged(const App::Property* prop) setStatus(App::PendingTransactionUpdate, true); } else { - if(!internaltransaction) { // internal sketchobject operations changing both geometry and constraints will explicity perform an update + if(!internaltransaction) { // internal sketchobject operations changing both geometry and constraints will explicitly perform an update if(prop == &Geometry) { if(managedoperation || isRestoring()) { acceptGeometry(); // if geometry changed, the constraint geometry indices must be updated