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

@@ -487,7 +487,7 @@ bool TaskComplexSection::apply(bool forceUpdate)
if (!DrawComplexSection::canBuild(m_baseView->localVectorToCS(localUnit),
m_profileObject)) {
Base::Console().error(
"Can not build Complex Section with this profile and direction (1)\n");
"Cannot build complex section with this profile and direction (1)\n");
return false;
}
}
@@ -497,7 +497,7 @@ bool TaskComplexSection::apply(bool forceUpdate)
Base::convertTo<gp_Dir>(m_saveXDir));
if (!DrawComplexSection::canBuild(sectionCS, m_profileObject)) {
Base::Console().error(
"Can not build Complex Section with this profile and direction (2)\n");
"Cannot build complex section with this profile and direction (2)\n");
return false;
}
}
@@ -524,7 +524,7 @@ bool TaskComplexSection::apply(bool forceUpdate)
m_baseView->requestPaint();
}
if (!m_section->checkSectionCS()) {
QMessageBox::warning(Gui::getMainWindow(), QObject::tr("Possible Coordinate System Error"),
QMessageBox::warning(Gui::getMainWindow(), QObject::tr("Possible coordinate system error"),
QObject::tr("Check SectionNormal, Direction and/or XDirection."));
}
@@ -553,7 +553,7 @@ void TaskComplexSection::applyAligned()
//pointer to created view is not returned, but stored in m_section
void TaskComplexSection::createComplexSection()
{
Gui::Command::openCommand(QT_TRANSLATE_NOOP("Command", "Create ComplexSection"));
Gui::Command::openCommand(QT_TRANSLATE_NOOP("Command", "Create Complex Section"));
if (!m_section) {
const std::string objectName{QT_TR_NOOP("ComplexSection")};
m_sectionName = m_page->getDocument()->getUniqueObjectName(objectName.c_str());