From 12c04d6c4ee7fe9f4d3a88a6b0dfbc6530b69ed8 Mon Sep 17 00:00:00 2001 From: "luz.paz" Date: Tue, 6 Feb 2018 17:50:04 -0500 Subject: [PATCH] Crowdin: fix case for 'partdesign' ref: https://crowdin.com/translate/freecad/564/en-fr#6500374 also through in a random typo fix --- src/Mod/PartDesign/Gui/CommandBody.cpp | 2 +- src/Mod/PartDesign/Gui/ViewProviderDatumCS.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Mod/PartDesign/Gui/CommandBody.cpp b/src/Mod/PartDesign/Gui/CommandBody.cpp index 8ea795d54a..81c177d98a 100644 --- a/src/Mod/PartDesign/Gui/CommandBody.cpp +++ b/src/Mod/PartDesign/Gui/CommandBody.cpp @@ -337,7 +337,7 @@ CmdPartDesignMigrate::CmdPartDesignMigrate() sAppModule = "PartDesign"; sGroup = QT_TR_NOOP("PartDesign"); sMenuText = QT_TR_NOOP("Migrate"); - sToolTipText = QT_TR_NOOP("Migrate document to the modern partdesign workflow"); + sToolTipText = QT_TR_NOOP("Migrate document to the modern PartDesign workflow"); sWhatsThis = "PartDesign_Migrate"; sStatusTip = sToolTipText; } diff --git a/src/Mod/PartDesign/Gui/ViewProviderDatumCS.cpp b/src/Mod/PartDesign/Gui/ViewProviderDatumCS.cpp index 1636514c67..d7bbadfe16 100644 --- a/src/Mod/PartDesign/Gui/ViewProviderDatumCS.cpp +++ b/src/Mod/PartDesign/Gui/ViewProviderDatumCS.cpp @@ -146,7 +146,7 @@ void ViewProviderDatumCoordinateSystem::updateData(const App::Property* prop) } void ViewProviderDatumCoordinateSystem::setExtents (Base::BoundBox3d bbox) { - // Axis lingth of the CS is 1/3 of maximum bbox dimension, any smarter sizing will make it only worser + // Axis length of the CS is 1/3 of maximum bbox dimension, any smarter sizing will make it only worse double axisLength = std::max ( { bbox.LengthX (), bbox.LengthY(), bbox.LengthZ() } ); axisLength *= (1 + marginFactor ()) / 3;