forked from qt-creator/qt-creator
Debugger: Fix UI text punctuation
Change-Id: I022d38ed62293d9db8632efb1ae63ee882e381c9 Reviewed-by: Denis Shienkov <denis.shienkov@gmail.com> Reviewed-by: Eike Ziller <eike.ziller@qt.io>
This commit is contained in:
committed by
Eike Ziller
parent
1a0f8ceb3d
commit
c1df1e5d2e
@@ -215,7 +215,7 @@ FilePath JLinkUvscServerProvider::optionsFilePath(DebuggerRunTool *runTool,
|
|||||||
const JLinkUvProjectOptions projectOptions(this);
|
const JLinkUvProjectOptions projectOptions(this);
|
||||||
if (!writer.write(&projectOptions)) {
|
if (!writer.write(&projectOptions)) {
|
||||||
errorMessage = BareMetalDebugSupport::tr(
|
errorMessage = BareMetalDebugSupport::tr(
|
||||||
"Unable to create an uVision project options template");
|
"Unable to create an uVision project options template.");
|
||||||
return {};
|
return {};
|
||||||
}
|
}
|
||||||
return optionsPath;
|
return optionsPath;
|
||||||
|
|||||||
@@ -1087,7 +1087,7 @@ void UvscClient::setError(UvscError error, const QString &errorString)
|
|||||||
reinterpret_cast<qint8 *>(buffer.data()),
|
reinterpret_cast<qint8 *>(buffer.data()),
|
||||||
buffer.size());
|
buffer.size());
|
||||||
m_errorString = (st == UVSC_STATUS_SUCCESS)
|
m_errorString = (st == UVSC_STATUS_SUCCESS)
|
||||||
? QString::fromLocal8Bit(buffer) : tr("Unknown error");
|
? QString::fromLocal8Bit(buffer) : tr("Unknown error.");
|
||||||
} else {
|
} else {
|
||||||
m_errorString = errorString;
|
m_errorString = errorString;
|
||||||
}
|
}
|
||||||
@@ -1116,7 +1116,7 @@ void UvscClient::customEvent(QEvent *event)
|
|||||||
bool UvscClient::checkConnection()
|
bool UvscClient::checkConnection()
|
||||||
{
|
{
|
||||||
if (m_descriptor == -1) {
|
if (m_descriptor == -1) {
|
||||||
setError(ConfigurationError, tr("Connection is not open"));
|
setError(ConfigurationError, tr("Connection is not open."));
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
return true;
|
return true;
|
||||||
|
|||||||
@@ -711,7 +711,7 @@ void UvscEngine::handleReloadPeripheralRegisters(const QList<quint64> &addresses
|
|||||||
for (const quint64 address : addresses) {
|
for (const quint64 address : addresses) {
|
||||||
QByteArray data = UvscUtils::encodeU32(0);
|
QByteArray data = UvscUtils::encodeU32(0);
|
||||||
if (!m_client->fetchMemory(address, data)) {
|
if (!m_client->fetchMemory(address, data)) {
|
||||||
showMessage(tr("UVSC: Fetching peripheral register failed"), LogMisc);
|
showMessage(tr("UVSC: Fetching peripheral register failed."), LogMisc);
|
||||||
} else {
|
} else {
|
||||||
const quint32 value = UvscUtils::decodeU32(data);
|
const quint32 value = UvscUtils::decodeU32(data);
|
||||||
peripheralRegisterHandler()->updateRegister(address, value);
|
peripheralRegisterHandler()->updateRegister(address, value);
|
||||||
|
|||||||
Reference in New Issue
Block a user