Translate parser error message.
--HG-- branch : develop
This commit is contained in:
parent
2aaf530e85
commit
e0c38e217a
|
@ -535,8 +535,8 @@ qreal DialogTool::Eval(const QString &text, bool &flag, QLabel *label, const QSt
|
||||||
label->setText(tr("Error"));
|
label->setText(tr("Error"));
|
||||||
flag = false;
|
flag = false;
|
||||||
ChangeColor(labelEditFormula, Qt::red);
|
ChangeColor(labelEditFormula, Qt::red);
|
||||||
emit ToolTip("Parser error: "+e.GetMsg());
|
emit ToolTip(tr("Parser error: %1").arg(e.GetMsg()));
|
||||||
label->setToolTip("Parser error: "+e.GetMsg());
|
label->setToolTip(tr("Parser error: %1").arg(e.GetMsg()));
|
||||||
qDebug() << "\nMath parser error:\n"
|
qDebug() << "\nMath parser error:\n"
|
||||||
<< "--------------------------------------\n"
|
<< "--------------------------------------\n"
|
||||||
<< "Message: " << e.GetMsg() << "\n"
|
<< "Message: " << e.GetMsg() << "\n"
|
||||||
|
|
Loading…
Reference in New Issue
Block a user