Commit 97a6dc2c authored by Riitta-Leena Miettinen's avatar Riitta-Leena Miettinen Committed by Tobias Hunger

ProjectExplorer: Add punctuation to ends of messages

Change-Id: Idaa794204b87b5a139203a6d183935425ecfd67e
Reviewed-by: Tobias Hunger's avatarTobias Hunger <tobias.hunger@qt.io>
parent 8f9e537d
......@@ -1452,7 +1452,7 @@ bool ProjectExplorerPlugin::initialize(const QStringList &arguments, QString *er
});
expander->registerFileVariables("CurrentRun:Executable",
tr("The currently active run configuration's executable (if applicable)"),
tr("The currently active run configuration's executable (if applicable)."),
[this]() -> QString {
if (Target *target = activeTarget()) {
if (RunConfiguration *rc = target->activeRunConfiguration()) {
......@@ -1811,7 +1811,7 @@ ProjectExplorerPlugin::OpenProjectResult ProjectExplorerPlugin::openProjects(con
if (ProjectManager::canOpenProjectForMimeType(mt)) {
if (!QFileInfo(filePath).isFile()) {
appendError(errorString,
tr("Failed opening project \"%1\": Project is not a file").arg(fileName));
tr("Failed opening project \"%1\": Project is not a file.").arg(fileName));
} else if (Project *pro = ProjectManager::openProject(mt, Utils::FileName::fromString(filePath))) {
QObject::connect(pro, &Project::parsingFinished, [pro]() {
emit SessionManager::instance()->projectFinishedParsing(pro);
......
......@@ -936,7 +936,7 @@ void RunControlPrivate::onWorkerStarted(RunWorker *worker)
continueStart();
return;
}
showError(tr("Unexpected run control state %1 when worker %2 started")
showError(tr("Unexpected run control state %1 when worker %2 started.")
.arg(stateName(state))
.arg(worker->d->id));
}
......@@ -1467,11 +1467,11 @@ bool RunWorkerPrivate::canStart() const
void RunWorkerPrivate::timerEvent(QTimerEvent *ev)
{
if (ev->timerId() == startWatchdogTimerId) {
q->reportFailure(tr("Worker start timed out"));
q->reportFailure(tr("Worker start timed out."));
return;
}
if (ev->timerId() == stopWatchdogTimerId) {
q->reportFailure(tr("Worker stop timed out"));
q->reportFailure(tr("Worker stop timed out."));
return;
}
}
......@@ -1610,7 +1610,7 @@ QString RunWorker::userMessageForProcessError(QProcess::ProcessError error, cons
"permissions to invoke the program.").arg(program);
break;
case QProcess::Crashed:
msg = tr("The process was ended forcefully");
msg = tr("The process was ended forcefully.");
break;
case QProcess::Timedout:
// "The last waitFor...() function timed out. "
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment