forked from qt-creator/qt-creator
UI text: use single quotes to emphasize variables
Change-Id: I7d5ac28e27d942b7979aaf46cd464ba7989d5d02 Reviewed-by: Aurindam Jana <aurindam.jana@nokia.com>
This commit is contained in:
@@ -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 {
|
||||||
|
|||||||
Reference in New Issue
Block a user