Update UI strings from Crowdin reports for consistency
This commit is contained in:
committed by
Chris Hennes
parent
6ab8589a03
commit
9cae60a70f
@@ -45,7 +45,7 @@ void CoordinateSystem::setAxes(const Axis& vec, const Vector3d& xd)
|
||||
}
|
||||
Vector3d yd = vec.getDirection() % xd;
|
||||
if (yd.Sqr() < Base::Vector3d::epsilon()) {
|
||||
throw Base::ValueError("Direction is parallel to Z direction");
|
||||
throw Base::ValueError("Direction is parallel to Z-direction");
|
||||
}
|
||||
ydir = yd;
|
||||
ydir.Normalize();
|
||||
@@ -64,7 +64,7 @@ void CoordinateSystem::setAxes(const Vector3d& n, const Vector3d& xd)
|
||||
}
|
||||
Vector3d yd = n % xd;
|
||||
if (yd.Sqr() < Base::Vector3d::epsilon()) {
|
||||
throw Base::ValueError("Direction is parallel to Z direction");
|
||||
throw Base::ValueError("Direction is parallel to Z-direction");
|
||||
}
|
||||
ydir = yd;
|
||||
ydir.Normalize();
|
||||
@@ -84,7 +84,7 @@ void CoordinateSystem::setXDirection(const Vector3d& dir)
|
||||
{
|
||||
Vector3d yd = axis.getDirection() % dir;
|
||||
if (yd.Sqr() < Base::Vector3d::epsilon()) {
|
||||
throw Base::ValueError("Direction is parallel to Z direction");
|
||||
throw Base::ValueError("Direction is parallel to Z-direction");
|
||||
}
|
||||
ydir = yd;
|
||||
ydir.Normalize();
|
||||
@@ -96,7 +96,7 @@ void CoordinateSystem::setYDirection(const Vector3d& dir)
|
||||
{
|
||||
Vector3d xd = dir % axis.getDirection();
|
||||
if (xd.Sqr() < Base::Vector3d::epsilon()) {
|
||||
throw Base::ValueError("Direction is parallel to Z direction");
|
||||
throw Base::ValueError("Direction is parallel to Z-direction");
|
||||
}
|
||||
xdir = xd;
|
||||
xdir.Normalize();
|
||||
|
||||
Reference in New Issue
Block a user