forked from qt-creator/qt-creator
ProjectExplorer: Add punctuation to ends of messages
Change-Id: Idaa794204b87b5a139203a6d183935425ecfd67e Reviewed-by: Tobias Hunger <tobias.hunger@qt.io>
This commit is contained in:
committed by
Tobias Hunger
parent
8f9e537dcf
commit
97a6dc2c36
@@ -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. "
|
||||
|
Reference in New Issue
Block a user