[TechDraw] Translations and grammer (#16301)

Co-authored-by: WandererFan <WandererFan@gmail.com>
This commit is contained in:
Benjamin Bræstrup Sayoc
2024-12-02 18:27:39 +01:00
committed by GitHub
parent 7df1a5d00a
commit e025b1bfe2
26 changed files with 77 additions and 76 deletions

View File

@@ -2440,7 +2440,7 @@ void execDim(Gui::Command* cmd, std::string type, StringVector acceptableGeometr
if (geometryRefs2d == isBSplineCircle || geometryRefs3d == isBSplineCircle) {
QMessageBox::StandardButton result = QMessageBox::warning(
Gui::getMainWindow(),
QObject::tr("BSpline Curve Warning"),
QObject::tr("B-spline Curve Warning"),
QObject::tr("Selected edge is a B-spline. Value will be approximate. Continue?"),
QMessageBox::Ok | QMessageBox::Cancel,
QMessageBox::Cancel);
@@ -2451,7 +2451,7 @@ void execDim(Gui::Command* cmd, std::string type, StringVector acceptableGeometr
if (geometryRefs2d == isBSpline || geometryRefs3d == isBSpline) {
QMessageBox::critical(
Gui::getMainWindow(),
QObject::tr("BSpline Curve Error"),
QObject::tr("B-spline Curve Error"),
QObject::tr("Selected edge is a B-spline and a radius/diameter can not be calculated."));
return;
}