UI text: use single quotes to emphasize variables

Change-Id: I7d5ac28e27d942b7979aaf46cd464ba7989d5d02
Reviewed-by: Aurindam Jana <aurindam.jana@nokia.com>
This commit is contained in:
Leena Miettinen
2012-03-05 14:32:25 +01:00
parent 2ade54ff17
commit 5f6ad79a14

View File

@@ -469,7 +469,7 @@ void QScriptDebuggerClient::messageReceived(const QByteArray &data)
QString msg = stackFrames.isEmpty() QString msg = stackFrames.isEmpty()
? tr("<p>An uncaught exception occurred:</p><p>%1</p>") ? tr("<p>An uncaught exception occurred:</p><p>%1</p>")
.arg(Qt::escape(error)) .arg(Qt::escape(error))
: tr("<p>An uncaught exception occurred in <i>%1</i>:</p><p>%2</p>") : tr("<p>An uncaught exception occurred in '%1':</p><p>%2</p>")
.arg(QLatin1String(stackFrames.value(0).fileUrl), Qt::escape(error)); .arg(QLatin1String(stackFrames.value(0).fileUrl), Qt::escape(error));
showMessageBox(QMessageBox::Information, tr("Uncaught Exception"), msg); showMessageBox(QMessageBox::Information, tr("Uncaught Exception"), msg);
} else { } else {