TechDraw: Update UI strings for consistency

Closes: #22143
This commit is contained in:
Ryan Kembrey
2025-06-23 18:43:09 +10:00
committed by Kacper Donat
parent bee89d0447
commit 75b2ef67fc
93 changed files with 1112 additions and 1294 deletions

View File

@@ -111,18 +111,18 @@ PROPERTY_SOURCE(TechDraw::DrawBrokenView, TechDraw::DrawViewPart)
DrawBrokenView::DrawBrokenView()
{
static const char* sgroup = "Broken View";
static const char* sgroup = "Broken view";
constexpr double DefaultGapSizeMm{10.0};
ADD_PROPERTY_TYPE(Breaks, (nullptr), sgroup, App::Prop_None,
"Objects in the 3d view that define the start/end points and direction of breaks in this view.");
"Objects in the 3D view that define the start/end points and direction of breaks in this view.");
Breaks.setScope(App::LinkScope::Global);
Breaks.setAllowExternal(true);
ADD_PROPERTY_TYPE(Gap,
(DefaultGapSizeMm),
sgroup,
App::Prop_None,
"The separation distance for breaks in this view (unscaled 3d length).");
"The separation distance for breaks in this view (unscaled 3D length).");
}
@@ -557,7 +557,7 @@ std::pair<Base::Vector3d, Base::Vector3d> DrawBrokenView::breakBoundsFromEdge(co
}
if (!DU::fpCompare(fabs(direction.Dot(stdY)), 1.0, EWTOLERANCE) ) {
Base::Console().message("DBV::breakBoundsFromEdge - direction is not X or Y\n");
Base::Console().message("DBV::breakBoundsFromEdge - direction is neither X nor Y\n");
// TODO: throw? return nonsense?
}