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:
Leena Miettinen
2020-07-01 17:34:39 +02:00
committed by Eike Ziller
parent 1a0f8ceb3d
commit c1df1e5d2e
3 changed files with 4 additions and 4 deletions

View File

@@ -215,7 +215,7 @@ FilePath JLinkUvscServerProvider::optionsFilePath(DebuggerRunTool *runTool,
const JLinkUvProjectOptions projectOptions(this);
if (!writer.write(&projectOptions)) {
errorMessage = BareMetalDebugSupport::tr(
"Unable to create an uVision project options template");
"Unable to create an uVision project options template.");
return {};
}
return optionsPath;

View File

@@ -1087,7 +1087,7 @@ void UvscClient::setError(UvscError error, const QString &errorString)
reinterpret_cast<qint8 *>(buffer.data()),
buffer.size());
m_errorString = (st == UVSC_STATUS_SUCCESS)
? QString::fromLocal8Bit(buffer) : tr("Unknown error");
? QString::fromLocal8Bit(buffer) : tr("Unknown error.");
} else {
m_errorString = errorString;
}
@@ -1116,7 +1116,7 @@ void UvscClient::customEvent(QEvent *event)
bool UvscClient::checkConnection()
{
if (m_descriptor == -1) {
setError(ConfigurationError, tr("Connection is not open"));
setError(ConfigurationError, tr("Connection is not open."));
return false;
}
return true;

View File

@@ -711,7 +711,7 @@ void UvscEngine::handleReloadPeripheralRegisters(const QList<quint64> &addresses
for (const quint64 address : addresses) {
QByteArray data = UvscUtils::encodeU32(0);
if (!m_client->fetchMemory(address, data)) {
showMessage(tr("UVSC: Fetching peripheral register failed"), LogMisc);
showMessage(tr("UVSC: Fetching peripheral register failed."), LogMisc);
} else {
const quint32 value = UvscUtils::decodeU32(data);
peripheralRegisterHandler()->updateRegister(address, value);