forked from qt-creator/qt-creator
UI text: fix capitalization and punctuation
Change-Id: I7a974072096689aaa4b1ec1cca93dcd9febe14d9 Reviewed-by: Aurindam Jana <aurindam.jana@digia.com>
This commit is contained in:
@@ -144,20 +144,20 @@ void QmlAdapter::connectionStateChanged()
|
||||
switch (m_conn->state()) {
|
||||
case QAbstractSocket::UnconnectedState:
|
||||
{
|
||||
showConnectionStatusMessage(tr("disconnected.\n\n"));
|
||||
showConnectionStatusMessage(tr("Disconnected.\n\n"));
|
||||
emit disconnected();
|
||||
|
||||
break;
|
||||
}
|
||||
case QAbstractSocket::HostLookupState:
|
||||
showConnectionStatusMessage(tr("resolving host..."));
|
||||
showConnectionStatusMessage(tr("Resolving host."));
|
||||
break;
|
||||
case QAbstractSocket::ConnectingState:
|
||||
showConnectionStatusMessage(tr("connecting to debug server..."));
|
||||
showConnectionStatusMessage(tr("Connecting to debug server."));
|
||||
break;
|
||||
case QAbstractSocket::ConnectedState:
|
||||
{
|
||||
showConnectionStatusMessage(tr("connected.\n"));
|
||||
showConnectionStatusMessage(tr("Connected.\n"));
|
||||
|
||||
m_connectionTimer.stop();
|
||||
|
||||
@@ -166,7 +166,7 @@ void QmlAdapter::connectionStateChanged()
|
||||
break;
|
||||
}
|
||||
case QAbstractSocket::ClosingState:
|
||||
showConnectionStatusMessage(tr("closing..."));
|
||||
showConnectionStatusMessage(tr("Closing."));
|
||||
break;
|
||||
case QAbstractSocket::BoundState:
|
||||
case QAbstractSocket::ListeningState:
|
||||
|
@@ -424,7 +424,7 @@ void QmlInspectorAgent::onResult(quint32 queryId, const QVariant &value,
|
||||
} else if (type == "SET_BINDING_R"
|
||||
|| type == "RESET_BINDING_R"
|
||||
|| type == "SET_METHOD_BODY_R") {
|
||||
QString msg = QLatin1String(type) + tr(" success : ");
|
||||
QString msg = QLatin1String(type) + tr("Success: ");
|
||||
msg += value.toBool() ? QLatin1Char('1') : QLatin1Char('0');
|
||||
if (!value.toBool())
|
||||
emit automaticUpdateFailed();
|
||||
@@ -814,7 +814,7 @@ QList<WatchData> QmlInspectorAgent::buildWatchData(const ObjectReference &obj,
|
||||
WatchData propertiesWatch;
|
||||
propertiesWatch.id = objDebugId;
|
||||
propertiesWatch.exp = "";
|
||||
propertiesWatch.name = tr("properties");
|
||||
propertiesWatch.name = tr("Properties");
|
||||
propertiesWatch.iname = objIname + ".[properties]";
|
||||
propertiesWatch.type = "";
|
||||
propertiesWatch.value = _("list");
|
||||
|
@@ -1633,7 +1633,7 @@ StackFrame QmlV8DebuggerClient::extractStackFrame(const QVariant &bodyVal, const
|
||||
QmlV8ObjectData objectData = d->extractData(body.value(_("func")), refsVal);
|
||||
QString functionName = objectData.value.toString();
|
||||
if (functionName.isEmpty())
|
||||
functionName = tr("anonymous function");
|
||||
functionName = tr("Anonymous Function");
|
||||
stackFrame.function = functionName;
|
||||
|
||||
objectData = d->extractData(body.value(_("script")), refsVal);
|
||||
|
Reference in New Issue
Block a user