Fix misc. grammar and whitespace
This commit is contained in:
@@ -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
|
||||
*/
|
||||
|
||||
@@ -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
|
||||
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user