UI text: end messages in a full stop

Change-Id: Ia70f4859b5cfe4435a4119a3b6b74dca625c26a8
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@nokia.com>
This commit is contained in:
Leena Miettinen
2012-03-05 14:34:15 +01:00
parent e210e6c0c1
commit 1df59bb54f

View File

@@ -545,12 +545,12 @@ bool ScriptEngine::setToolTipExpression(const QPoint &mousePos,
}
if (!hasLetterOrNumber(exp)) {
QToolTip::showText(m_toolTipPos, tr("'%1' contains no identifier").arg(exp));
QToolTip::showText(m_toolTipPos, tr("'%1' contains no identifier.").arg(exp));
return false;
}
if (exp.startsWith(QLatin1Char('"')) && exp.endsWith(QLatin1Char('"'))) {
QToolTip::showText(m_toolTipPos, tr("String literal %1").arg(exp));
QToolTip::showText(m_toolTipPos, tr("String literal %1.").arg(exp));
return false;
}
@@ -566,7 +566,7 @@ bool ScriptEngine::setToolTipExpression(const QPoint &mousePos,
if (hasSideEffects(exp)) {
QToolTip::showText(m_toolTipPos,
tr("Cowardly refusing to evaluate expression '%1' "
"with potential side effects").arg(exp));
"with potential side effects.").arg(exp));
return false;
}