Crowdin: fix case for 'partdesign'

ref: https://crowdin.com/translate/freecad/564/en-fr#6500374
also through in a random typo fix
This commit is contained in:
luz.paz
2018-02-06 17:50:04 -05:00
committed by wmayer
parent 9f6f027686
commit 12c04d6c4e
2 changed files with 2 additions and 2 deletions

View File

@@ -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;
}

View File

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