Fix Crowdin typos + trim superfluous whitespace [skip-ci]
Some issues that this PR fixes (but not all listed): https://crowdin.com/translate/freecad/27911/en-en#6581578 https://crowdin.com/translate/freecad/27911/en-en#6579080 https://crowdin.com/translate/freecad/27911/en-en#6581580 https://crowdin.com/translate/freecad/27911/en-en#6579086
This commit is contained in:
@@ -1631,16 +1631,16 @@ bool dressupGetSelected(Gui::Command* cmd, const std::string& which,
|
||||
|
||||
if (selection.size() == 0) {
|
||||
QMessageBox::warning(Gui::getMainWindow(), QObject::tr("Wrong selection"),
|
||||
QObject::tr("Select an edge, face or body."));
|
||||
QObject::tr("Select an edge, face, or body."));
|
||||
return false;
|
||||
} else if (selection.size() != 1) {
|
||||
QMessageBox::warning(Gui::getMainWindow(), QObject::tr("Wrong selection"),
|
||||
QObject::tr("Select an edge, face or body from a single body."));
|
||||
QObject::tr("Select an edge, face, or body from a single body."));
|
||||
return false;
|
||||
}
|
||||
else if (pcActiveBody != PartDesignGui::getBodyFor(selection[0].getObject(), false)) {
|
||||
QMessageBox::warning(Gui::getMainWindow(), QObject::tr("Selection is not in Active Body"),
|
||||
QObject::tr("Select an edge, face or body from an active body."));
|
||||
QObject::tr("Select an edge, face, or body from an active body."));
|
||||
return false;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user