forked from qt-creator/qt-creator
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:
@@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user