Gui: Minor translation fixes

This commit is contained in:
Chris Hennes
2023-05-11 18:31:34 -05:00
parent 18bf753e12
commit 80b29d2dbf
16 changed files with 39 additions and 39 deletions

View File

@@ -258,7 +258,7 @@ App::DocumentObjectExecReturn *Transformed::execute()
PartDesign::FeatureAddSub* feature = static_cast<PartDesign::FeatureAddSub*>(*o);
feature->getAddSubShape(fuseShape, cutShape);
if (fuseShape.isNull() && cutShape.isNull())
return new App::DocumentObjectExecReturn(QT_TRANSLATE_NOOP("Exception", "Shape of addsub feature is empty"));
return new App::DocumentObjectExecReturn(QT_TRANSLATE_NOOP("Exception", "Shape of additive/subtractive feature is empty"));
gp_Trsf trsf = feature->getLocation().Transformation().Multiplied(trsfInv);
if (!fuseShape.isNull())
fuseShape = fuseShape.makeTransform(trsf);