From 143ce405e44bbf587ea048fa93e25101c21673b5 Mon Sep 17 00:00:00 2001 From: "luz.paz" Date: Mon, 26 Feb 2018 22:02:52 -0500 Subject: [PATCH] Misc. source and comment typos --- src/App/PropertyStandard.h | 2 +- src/Mod/Import/App/automotive_design.py | 2 +- src/Mod/JtReader/App/JrJt/Element_Header.h | 4 ++-- src/Tools/offlinedoc/update.py | 2 +- 4 files changed, 5 insertions(+), 5 deletions(-) diff --git a/src/App/PropertyStandard.h b/src/App/PropertyStandard.h index 6f2592163b..49b47cb89d 100644 --- a/src/App/PropertyStandard.h +++ b/src/App/PropertyStandard.h @@ -451,7 +451,7 @@ private: /** Float properties * This is the father of all properties handling floats. * Use this type only in rare cases. Mostly you want to - * use the more specialized types like e.g. PropertyLenth. + * use the more specialized types like e.g. PropertyLength. * These properties also fulfill the needs of the unit system. * See PropertyUnits.h for all properties with units. */ diff --git a/src/Mod/Import/App/automotive_design.py b/src/Mod/Import/App/automotive_design.py index 1881e4fe63..61c42495f9 100644 --- a/src/Mod/Import/App/automotive_design.py +++ b/src/Mod/Import/App/automotive_design.py @@ -39615,7 +39615,7 @@ class draughting_model_item_association(item_identified_representation_usage): return eval_wr5_wr def wr6(self): - eval_wr6_wr = (( not (('AUTOMOTIVE_DESIGN.' + 'LINEAR_DIMENSION') == TYPEOF(self.self.item_identified_representation_usage.self.identified_item))) or ((('AUTOMOTIVE_DESIGN.' + 'DIMENSIONAL_SIZE') == TYPEOF(self.self.item_identified_representation_usage.self.definition)) and (((self.self.item_identified_representation_usage.self.definition.self.name == 'heigth') or (self.self.item_identified_representation_usage.self.definition.self.name == 'length')) or (self.self.item_identified_representation_usage.self.definition.self.name == 'width')))) + eval_wr6_wr = (( not (('AUTOMOTIVE_DESIGN.' + 'LINEAR_DIMENSION') == TYPEOF(self.self.item_identified_representation_usage.self.identified_item))) or ((('AUTOMOTIVE_DESIGN.' + 'DIMENSIONAL_SIZE') == TYPEOF(self.self.item_identified_representation_usage.self.definition)) and (((self.self.item_identified_representation_usage.self.definition.self.name == 'height') or (self.self.item_identified_representation_usage.self.definition.self.name == 'length')) or (self.self.item_identified_representation_usage.self.definition.self.name == 'width')))) if not eval_wr6_wr: raise AssertionError('Rule wr6 violated') else: diff --git a/src/Mod/JtReader/App/JrJt/Element_Header.h b/src/Mod/JtReader/App/JrJt/Element_Header.h index 23c9e8a34e..65e5523be1 100644 --- a/src/Mod/JtReader/App/JrJt/Element_Header.h +++ b/src/Mod/JtReader/App/JrJt/Element_Header.h @@ -51,12 +51,12 @@ struct Element_Header // only zip less implemented so far... assert(zLib == false); - Element_Lenght.read(cont); + Element_Length.read(cont); Object_Type_ID.read(cont); Object_Base_Type.read(cont); }; - I32 Element_Lenght; + I32 Element_Length; GUID Object_Type_ID; UChar Object_Base_Type; diff --git a/src/Tools/offlinedoc/update.py b/src/Tools/offlinedoc/update.py index 22371bd53b..9f35ed52a3 100755 --- a/src/Tools/offlinedoc/update.py +++ b/src/Tools/offlinedoc/update.py @@ -27,7 +27,7 @@ __author__ = "Yorik van Havre " __url__ = "http://www.freecadweb.org" """ -This script needs to be ran after the wiki has been fully downloaded. It has three usages: +This script needs to be run after the wiki has been fully downloaded. It has three usages: 1) If no revisions.txt file is found, it parses the contents of the wikifiles.txt file and, for each entry, it retrieves a corresponding revision ID, and creates a revisions.txt file