Fix missed strings for UI consistency
Fix ellipsis rendering
This commit is contained in:
committed by
Chris Hennes
parent
2eeff96e99
commit
1850c5dc0f
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user