forked from qt-creator/qt-creator
Fix lupdate issues
Change-Id: Ie71649f38e29c2fd6f644e023772f15865d6e6aa Reviewed-by: hjk <hjk@qt.io> Reviewed-by: Leena Miettinen <riitta-leena.miettinen@qt.io>
This commit is contained in:
@@ -132,7 +132,7 @@ std::unique_ptr<Utils::LuaState> LuaEngine::runScript(const QString &script, con
|
||||
sol::error err = result;
|
||||
qWarning() << "Failed to run script" << name << ":" << QString::fromUtf8(err.what());
|
||||
Core::MessageManager::writeFlashing(
|
||||
tr("Failed to run script %1: %2").arg(name, QString::fromUtf8(err.what())));
|
||||
Tr::tr("Failed to run script %1: %2").arg(name, QString::fromUtf8(err.what())));
|
||||
}
|
||||
|
||||
return opaque;
|
||||
|
||||
Reference in New Issue
Block a user