Fix missed strings for UI consistency

Fix ellipsis rendering
This commit is contained in:
Max Wilfinger
2025-08-08 09:39:11 +02:00
committed by Chris Hennes
parent 2eeff96e99
commit 1850c5dc0f
41 changed files with 117 additions and 118 deletions

View File

@@ -839,16 +839,16 @@ void PythonConsole::runSource(const QString& line)
}
}
catch (const Py::Exception&) {
QMessageBox::critical(this, tr("Python console"), tr("Unhandled PyCXX exception."));
QMessageBox::critical(this, tr("Python Console"), tr("Unhandled PyCXX exception."));
}
catch (const Base::Exception&) {
QMessageBox::critical(this, tr("Python console"), tr("Unhandled FreeCAD exception."));
QMessageBox::critical(this, tr("Python Console"), tr("Unhandled FreeCAD exception."));
}
catch (const std::exception&) {
QMessageBox::critical(this, tr("Python console"), tr("Unhandled std C++ exception."));
QMessageBox::critical(this, tr("Python Console"), tr("Unhandled std C++ exception."));
}
catch (...) {
QMessageBox::critical(this, tr("Python console"), tr("Unhandled unknown C++ exception."));
QMessageBox::critical(this, tr("Python Console"), tr("Unhandled unknown C++ exception."));
}
printPrompt(incomplete ? PythonConsole::Incomplete