Debugger: Make some error message translatable

Change-Id: I4573c26df5d41d6fdab4ddeb1d70ee5d2bc10c11
Reviewed-by: Leena Miettinen <riitta-leena.miettinen@qt.io>
Reviewed-by: Ulf Hermann <ulf.hermann@qt.io>
This commit is contained in:
hjk
2017-10-16 16:24:03 +02:00
parent e633b49cd0
commit f3b886c4c1

View File

@@ -885,7 +885,7 @@ void QmlEngine::assignValueInDebugger(WatchItem *item,
if (handler->isContentsValid() && handler->currentFrame().isUsable()) {
d->evaluate(exp, -1, [this](const QVariantMap &) { d->updateLocals(); });
} else {
showMessage(QString("Cannot evaluate %1 in current stack frame")
showMessage(tr("Cannot evaluate %1 in current stack frame.")
.arg(expression), ConsoleOutput);
}
}