Fix misc. grammar and whitespace

This commit is contained in:
luzpaz
2023-03-13 12:22:49 +00:00
committed by Uwe
parent 54009f14ee
commit ff470469f5
4 changed files with 5 additions and 5 deletions

View File

@@ -49,8 +49,8 @@ public:
/** Base class of all factories
* This class has the purpose to produce at runtime instances
* of classes not known at compile time. It holds a map of so called
* This class has the purpose to produce a runtime instance
* of classes unknown at compile time. It holds a map of so called
* producers which are able to produce an instance of a special class.
* Producer can be registered at runtime through e.g. application modules
*/

View File

@@ -143,7 +143,7 @@ def remove_directory_if_empty(dir_to_remove):
def restart_freecad():
"""Shuts down and restarts FreeCAD"""
if not QtCore or not QtWidgets:
return

View File

@@ -184,7 +184,7 @@ def setup(doc=None, solvertype="elmer"):
equation_magnetodynamic2D.IsHarmonic = True
else:
FreeCAD.Console.PrintWarning(
"Not known or not supported solver type: {}. "
"Unknown or unsupported solver type: {}. "
"No solver object was created.\n".format(solvertype)
)
return doc

View File

@@ -180,7 +180,7 @@ def setup(doc=None, solvertype="elmer"):
equation_magnetodynamic2D.CalculateMagneticFieldStrength = True
else:
FreeCAD.Console.PrintWarning(
"Not known or not supported solver type: {}. "
"Unknown or unsupported solver type: {}. "
"No solver object was created.\n".format(solvertype)
)
return doc