debugger: make user visible strings translatable

This commit is contained in:
hjk
2009-04-08 12:11:30 +02:00
parent 7a77f83759
commit 3e38a0598b
13 changed files with 87 additions and 97 deletions

View File

@@ -489,8 +489,8 @@ void ScriptEngine::setToolTipExpression(const QPoint &pos, const QString &exp0)
if (hasSideEffects(exp)) {
QToolTip::showText(m_toolTipPos,
"Cowardly refusing to evaluate expression '" + exp
+ "' with potential side effects");
tr("Cowardly refusing to evaluate expression '%1' "
"with potential side effects").arg(exp));
return;
}