forked from qt-creator/qt-creator
UI text: end messages in a full stop
Change-Id: Ia70f4859b5cfe4435a4119a3b6b74dca625c26a8 Reviewed-by: Friedemann Kleint <Friedemann.Kleint@nokia.com>
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user