diff --git a/src/Mod/Arch/importIFCHelper.py b/src/Mod/Arch/importIFCHelper.py index c705e83890..22e15360c5 100644 --- a/src/Mod/Arch/importIFCHelper.py +++ b/src/Mod/Arch/importIFCHelper.py @@ -608,7 +608,7 @@ def getIfcProperties(ifcfile, pid, psets, d): return d -def getIfcPsetPoperties(ifcfile, pid): +def getIfcPsetProperties(ifcfile, pid): """ directly build the property table from pid and ifcfile for FreeCAD""" return getIfcProperties(ifcfile, pid, getIfcPropertySets(ifcfile, pid), {}) diff --git a/src/Mod/Draft/draftguitools/gui_setstyle.py b/src/Mod/Draft/draftguitools/gui_setstyle.py index 4f0048fcee..188e7b33d7 100644 --- a/src/Mod/Draft/draftguitools/gui_setstyle.py +++ b/src/Mod/Draft/draftguitools/gui_setstyle.py @@ -264,7 +264,7 @@ class Draft_SetStyle_TaskPanel: if pdict: if name in pdict.keys(): reply = QtGui.QMessageBox.question(None, - tranlate("Draft","Warning"), + translate("Draft","Warning"), translate("Draft","Name exists. Overwrite?"), QtGui.QMessageBox.Yes | QtGui.QMessageBox.No, QtGui.QMessageBox.No) diff --git a/src/Mod/Fem/femguiutils/selection_widgets.py b/src/Mod/Fem/femguiutils/selection_widgets.py index b0d399cb0f..19fe48ba25 100644 --- a/src/Mod/Fem/femguiutils/selection_widgets.py +++ b/src/Mod/Fem/femguiutils/selection_widgets.py @@ -280,7 +280,7 @@ class GeometryElementsSelection(QtGui.QWidget): self._helpTextLbl = QtGui.QLabel() self._helpTextLbl.setWordWrap(True) helpTextPart1 = self.tr( - "Click on 'Add' and select geometric elements to add them to the list." + 'Click on "Add" and select geometric elements to add to the list.' ) helpTextPart2 = self.tr( "The following geometry elements are allowed to select: " diff --git a/src/Mod/Material/StandardMaterial/Graphite.FCMat b/src/Mod/Material/StandardMaterial/Graphite.FCMat index 7c2cd08756..d686617e49 100644 --- a/src/Mod/Material/StandardMaterial/Graphite.FCMat +++ b/src/Mod/Material/StandardMaterial/Graphite.FCMat @@ -9,7 +9,7 @@ Name = Graphite Description = Typical material properties for pure graphite Father = Carbon KindOfMaterial = Solid -ReferenceSource = Poperties and characteristics of graphite +ReferenceSource = Properties and characteristics of graphite SourceURL = https://www.entegris.com/content/dam/web/resources/manuals-and-guides/manual-properties-and-characteristics-of-graphite-109441.pdf [Mechanical] diff --git a/src/Mod/PartDesign/Gui/Command.cpp b/src/Mod/PartDesign/Gui/Command.cpp index e592a10e94..6b268304d9 100644 --- a/src/Mod/PartDesign/Gui/Command.cpp +++ b/src/Mod/PartDesign/Gui/Command.cpp @@ -1054,7 +1054,7 @@ void prepareProfileBased(PartDesign::Body *pcActiveBody, Gui::Command* cmd, cons if (!pcActiveBody->isSolid()) { QMessageBox msgBox; msgBox.setText(QObject::tr("Cannot use this command as there is no solid to subtract from.")); - msgBox.setInformativeText(QObject::tr("Ensure that the body contains a feature before attempting a subtractive command.")); + msgBox.setInformativeText(QObject::tr("Ensure that the body contains a feature before attempting a subtractive command.")); msgBox.setStandardButtons(QMessageBox::Ok); msgBox.setDefaultButton(QMessageBox::Ok); msgBox.exec(); diff --git a/src/Mod/Path/Gui/Resources/translations/Path.ts b/src/Mod/Path/Gui/Resources/translations/Path.ts index 2719a4bed2..87722a405d 100644 --- a/src/Mod/Path/Gui/Resources/translations/Path.ts +++ b/src/Mod/Path/Gui/Resources/translations/Path.ts @@ -2855,7 +2855,7 @@ If it is necessary to set the FinalDepth manually please select a different oper - Devfines which standard thread was chosen + Defines which standard thread was chosen diff --git a/src/Mod/Path/PathScripts/PathPocketShape.py b/src/Mod/Path/PathScripts/PathPocketShape.py index 4a90bf96be..ed59357020 100644 --- a/src/Mod/Path/PathScripts/PathPocketShape.py +++ b/src/Mod/Path/PathScripts/PathPocketShape.py @@ -192,7 +192,7 @@ class Extension(object): def getExtensionFaces(self, extensionWire): '''getExtensionFace(extensionWire)... A public helper method to retrieve the requested extension as a face, - rather than a wire becuase some extensions require a face shape + rather than a wire because some extensions require a face shape for definition that allows for two wires for boundary definition. ''' diff --git a/src/Mod/Path/PathScripts/PathPocketShapeGui.py b/src/Mod/Path/PathScripts/PathPocketShapeGui.py index 5f7050e634..c7e96cc796 100644 --- a/src/Mod/Path/PathScripts/PathPocketShapeGui.py +++ b/src/Mod/Path/PathScripts/PathPocketShapeGui.py @@ -75,7 +75,7 @@ class _Extension(object): hnt = coin.SoShapeHints() if not ext is None: - numVert = list() # track number of verticies in each polygon face + numVert = list() # track number of vertices in each polygon face try: wire = ext.getWire() except FreeCAD.Base.FreeCADError: diff --git a/src/Mod/Path/PathScripts/post/philips_post.py b/src/Mod/Path/PathScripts/post/philips_post.py index d48a5265c9..254c2dc4c5 100644 --- a/src/Mod/Path/PathScripts/post/philips_post.py +++ b/src/Mod/Path/PathScripts/post/philips_post.py @@ -20,7 +20,7 @@ #* * #*************************************************************************** -# 03-24-2021 Sliptonic: I've removed teh PathUtils import and job lookup +# 03-24-2021 Sliptonic: I've removed the PathUtils import and job lookup # post processors shouldn't be reaching back to the job. This can cause a # proxy error. diff --git a/src/Tools/updatecrowdin.py b/src/Tools/updatecrowdin.py index cb36e9ddab..58c8293314 100755 --- a/src/Tools/updatecrowdin.py +++ b/src/Tools/updatecrowdin.py @@ -253,7 +253,7 @@ if __name__ == "__main__": main_ts_files = list(filter(lambda f: not [a for a in ts_files_wo_ext if a in f and f != a], ts_files_wo_ext)) # Create tuples to map Crowdin name with local path name names_and_path = [(f'{basename(f)}.ts', f'{f}.ts') for f in main_ts_files] - # Accomodate for legacy naming + # Accommodate for legacy naming ts_files = [TsFile(LEGACY_NAMING_MAP[a] if a in LEGACY_NAMING_MAP else a, b) for (a, b) in names_and_path] updater.update(ts_files)