Fix source string mistakes reported on Crowdin (#23157)
* Fix source string mistakes reported on Crowdin * Update src/Mod/Draft/Resources/ui/TaskPanel_CircularArray.ui Co-authored-by: Roy-043 <70520633+Roy-043@users.noreply.github.com> * Update src/Mod/Draft/Resources/ui/TaskPanel_CircularArray.ui Co-authored-by: Roy-043 <70520633+Roy-043@users.noreply.github.com> * Update src/Mod/Draft/draftfunctions/upgrade.py Co-authored-by: Roy-043 <70520633+Roy-043@users.noreply.github.com> * Update src/Mod/Draft/draftfunctions/upgrade.py Co-authored-by: Roy-043 <70520633+Roy-043@users.noreply.github.com> * Update src/Mod/Draft/draftguitools/gui_downgrade.py Co-authored-by: Roy-043 <70520633+Roy-043@users.noreply.github.com> * Update src/Mod/Draft/Resources/ui/TaskPanel_SetStyle.ui Co-authored-by: Roy-043 <70520633+Roy-043@users.noreply.github.com> --------- Co-authored-by: Roy-043 <70520633+Roy-043@users.noreply.github.com>
This commit is contained in:
@@ -222,14 +222,14 @@ void myCopyResultsMesh(std::string oldName, std::string newName)
|
||||
Base::Console().warning("copy: %s and %s\n", oldName.c_str(), newName.c_str());
|
||||
if (oldName.compare(newName) == 0 && error == 0) {
|
||||
error = 1;
|
||||
Base::Console().warning("Can't copy ResultMesh to ResultMesh: %s and %s\n",
|
||||
Base::Console().warning("Cannot copy ResultMesh to ResultMesh: %s and %s\n",
|
||||
oldName.c_str(),
|
||||
newName.c_str());
|
||||
QMessageBox::warning(
|
||||
Gui::getMainWindow(),
|
||||
// QMessageBox::warning(Gui::MainWindow(),
|
||||
qApp->translate("CmdFemCreateElementsSet", "Wrong selection"),
|
||||
qApp->translate("CmdFemCreateElementsSet", "Can't copy ResultMesh to ResultMesh"));
|
||||
qApp->translate("CmdFemCreateElementsSet", "Cannot copy ResultMesh to ResultMesh"));
|
||||
}
|
||||
if ((oldName.find("Result") == std::string::npos || newName.find("Result") == std::string::npos)
|
||||
&& error == 0) {
|
||||
@@ -239,7 +239,7 @@ void myCopyResultsMesh(std::string oldName, std::string newName)
|
||||
Gui::getMainWindow(),
|
||||
// QMessageBox::warning(Gui::MainWindow(),
|
||||
qApp->translate("CmdFemCreateElementsSet", "Wrong selection"),
|
||||
qApp->translate("CmdFemCreateElementsSet", "Mesh must be a Results mesh"));
|
||||
qApp->translate("CmdFemCreateElementsSet", "Mesh must be a ResultMesh"));
|
||||
}
|
||||
if (error == 0) {
|
||||
Gui::Command::doCommand(Gui::Command::Doc,
|
||||
|
||||
Reference in New Issue
Block a user