Part: Update UI strings for consistency

Closes: #22133
This commit is contained in:
Max Wilfinger
2025-06-22 18:36:18 +02:00
committed by Kacper Donat
parent ecf02b7878
commit 1f35b9d7fe
72 changed files with 574 additions and 591 deletions

View File

@@ -218,7 +218,7 @@ void DlgScale::apply()
if (Part::Feature::getTopoShape(sourceObj, Part::ShapeOption::ResolveLink | Part::ShapeOption::Transform).isNull()){
FC_ERR("Object " << sourceObj->getFullName()
<< " is not Part object (has no OCC shape). Can't scale it.");
<< " is not a shape object. Scaling is not possible.");
continue;
}
@@ -251,13 +251,13 @@ void DlgScale::apply()
catch (Base::Exception &err){
QMessageBox::critical(this,
windowTitle(),
tr("Creating Scale failed.\n%1")
tr("Creating scale failed.\n%1")
.arg(QCoreApplication::translate("Exception", err.what())));
return;
}
catch(...) {
QMessageBox::critical(this, windowTitle(),
tr("Creating Scale failed.\n%1").arg(QStringLiteral("Unknown error")));
tr("Creating scale failed.\n%1").arg(QStringLiteral("Unknown error")));
return;
}
}