diff --git a/src/Mod/Measure/App/AppMeasure.cpp b/src/Mod/Measure/App/AppMeasure.cpp index 881922f6c0..3e71e5c6f6 100644 --- a/src/Mod/Measure/App/AppMeasure.cpp +++ b/src/Mod/Measure/App/AppMeasure.cpp @@ -183,7 +183,7 @@ PyMOD_INIT_FUNC(Measure) } - Base::Console().log("Loading Measure module... done\n"); + Base::Console().log("Loading Measure module… done\n"); PyMOD_Return(mod); } diff --git a/src/Mod/Measure/Gui/AppMeasureGui.cpp b/src/Mod/Measure/Gui/AppMeasureGui.cpp index 4da57110ef..7283fc9bcb 100644 --- a/src/Mod/Measure/Gui/AppMeasureGui.cpp +++ b/src/Mod/Measure/Gui/AppMeasureGui.cpp @@ -84,7 +84,7 @@ PyMOD_INIT_FUNC(MeasureGui) } PyObject* mod = MeasureGui::initModule(); - Base::Console().log("Loading GUI of Measure module... done\n"); + Base::Console().log("Loading GUI of Measure module… done\n"); // instantiating the commands CreateMeasureCommands(); diff --git a/src/Mod/Measure/Gui/DlgPrefsMeasureAppearanceImp.ui b/src/Mod/Measure/Gui/DlgPrefsMeasureAppearanceImp.ui index 545c0cf8d5..497c87db8d 100644 --- a/src/Mod/Measure/Gui/DlgPrefsMeasureAppearanceImp.ui +++ b/src/Mod/Measure/Gui/DlgPrefsMeasureAppearanceImp.ui @@ -48,7 +48,7 @@ - Default property values + Default Property Values diff --git a/src/Mod/Measure/Gui/TaskMeasure.cpp b/src/Mod/Measure/Gui/TaskMeasure.cpp index f57914caa5..d36454690f 100644 --- a/src/Mod/Measure/Gui/TaskMeasure.cpp +++ b/src/Mod/Measure/Gui/TaskMeasure.cpp @@ -93,8 +93,9 @@ TaskMeasure::TaskMeasure() autoSaveAction = new QAction(tr("Auto Save")); autoSaveAction->setCheckable(true); autoSaveAction->setChecked(mAutoSave); - autoSaveAction->setToolTip(tr("Auto saving of the last measurement when starting a new " - "measurement. Use SHIFT to temporarily invert the behaviour.")); + autoSaveAction->setToolTip( + tr("Auto saving of the last measurement when starting a new " + "measurement. Use the Shift key to temporarily invert the behaviour.")); connect(autoSaveAction, &QAction::triggered, this, &TaskMeasure::autoSaveChanged); newMeasurementBehaviourAction = new QAction(tr("Additive Selection")); @@ -102,7 +103,8 @@ TaskMeasure::TaskMeasure() newMeasurementBehaviourAction->setChecked(Gui::Selection().getSelectionStyle() == SelectionStyle::GreedySelection); newMeasurementBehaviourAction->setToolTip( - tr("If checked, new selection will be added to the measurement. If unchecked, CTRL must be " + tr("If checked, new selection will be added to the measurement. If unchecked, the Ctrl key " + "must be " "pressed to add a " "selection to the current measurement otherwise a new measurement will be started")); connect(newMeasurementBehaviourAction, @@ -184,14 +186,14 @@ void TaskMeasure::modifyStandardButtons(QDialogButtonBox* box) QPushButton* btn = box->button(QDialogButtonBox::Apply); btn->setText(tr("Save")); - btn->setToolTip(tr("Save the measurement in the active document.")); + btn->setToolTip(tr("Saves the measurement in the active document")); connect(btn, &QPushButton::released, this, qOverload<>(&TaskMeasure::apply)); // Disable button by default btn->setEnabled(false); btn = box->button(QDialogButtonBox::Abort); btn->setText(tr("Close")); - btn->setToolTip(tr("Close the measurement task.")); + btn->setToolTip(tr("Closes the measurement task")); // Connect reset button btn = box->button(QDialogButtonBox::Reset); diff --git a/src/Mod/Measure/Gui/ViewProviderMeasureAngle.cpp b/src/Mod/Measure/Gui/ViewProviderMeasureAngle.cpp index 29d0e66b84..aa2aeb01fb 100644 --- a/src/Mod/Measure/Gui/ViewProviderMeasureAngle.cpp +++ b/src/Mod/Measure/Gui/ViewProviderMeasureAngle.cpp @@ -129,7 +129,7 @@ SbMatrix ViewProviderMeasureAngle::getMatrix() GeomAPI_ProjectPointOnCurve projection(tempPoint, heapLine2); if (projection.NbPoints() < 1) { - throw Base::RuntimeError("parallel vectors: couldn't project onto line"); + throw Base::RuntimeError("parallel vectors: could not project onto line"); } gp_Vec newPoint2; newPoint2.SetXYZ(projection.Point(1).XYZ()); @@ -195,7 +195,7 @@ SbMatrix ViewProviderMeasureAngle::getMatrix() GeomAPI_ExtremaCurveCurve extrema(heapLine1, heapLine2); if (extrema.NbExtrema() < 1) { - throw Base::RuntimeError("couldn't get extrema"); + throw Base::RuntimeError("Could not get extrema"); } gp_Pnt extremaPoint1, extremaPoint2, dimensionOriginPoint; diff --git a/src/Mod/Measure/InitGui.py b/src/Mod/Measure/InitGui.py index 15c421a4b5..758aa0aaf2 100644 --- a/src/Mod/Measure/InitGui.py +++ b/src/Mod/Measure/InitGui.py @@ -39,6 +39,6 @@ import FreeCAD FreeCAD.MeasureManager.addMeasureType( "CENTEROFMASS", - "Center of Mass", + "Center of mass", MeasureCOM, )