Merge pull request #4816 from luzpaz/typos

Fix misc. typos
This commit is contained in:
Yorik van Havre
2021-06-04 13:16:21 +02:00
committed by GitHub
10 changed files with 10 additions and 10 deletions

View File

@@ -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), {})

View File

@@ -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)

View File

@@ -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: "

View File

@@ -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]

View File

@@ -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();

View File

@@ -2855,7 +2855,7 @@ If it is necessary to set the FinalDepth manually please select a different oper
</message>
<message>
<location filename="../../../PathScripts/PathThreadMilling.py" line="186"/>
<source>Devfines which standard thread was chosen</source>
<source>Defines which standard thread was chosen</source>
<translation type="unfinished"></translation>
</message>
<message>

View File

@@ -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.
'''

View File

@@ -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:

View File

@@ -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.

View File

@@ -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)