Projects: fix punctuation of messages

Change-Id: I94ccfab2dbd689a9f9e8194c2647e2fe92620c49
Reviewed-by: Daniel Teske <daniel.teske@digia.com>
This commit is contained in:
Leena Miettinen
2014-03-06 14:45:06 +01:00
parent 9b998d4206
commit 732bb7c2e4

View File

@@ -1062,7 +1062,7 @@ void ProjectExplorerPlugin::loadAction()
openProject(filename, &errorMessage); openProject(filename, &errorMessage);
if (!errorMessage.isEmpty()) if (!errorMessage.isEmpty())
QMessageBox::critical(ICore::mainWindow(), tr("Failed to open project"), errorMessage); QMessageBox::critical(ICore::mainWindow(), tr("Failed to open project."), errorMessage);
updateActions(); updateActions();
} }
@@ -1385,7 +1385,7 @@ QList<Project *> ProjectExplorerPlugin::openProjects(const QStringList &fileName
} }
} }
if (found) { if (found) {
appendError(errorString, tr("Failed opening project '%1': Project already open") appendError(errorString, tr("Failed opening project '%1': Project already open.")
.arg(QDir::toNativeSeparators(fileName))); .arg(QDir::toNativeSeparators(fileName)));
SessionManager::reportProjectLoadingProgress(); SessionManager::reportProjectLoadingProgress();
continue; continue;
@@ -1406,7 +1406,7 @@ QList<Project *> ProjectExplorerPlugin::openProjects(const QStringList &fileName
setCurrentNode(pro->rootProjectNode()); setCurrentNode(pro->rootProjectNode());
openedPro += pro; openedPro += pro;
} else { } else {
appendError(errorString, tr("Failed opening project '%1': Settings could not be restored") appendError(errorString, tr("Failed opening project '%1': Settings could not be restored.")
.arg(QDir::toNativeSeparators(fileName))); .arg(QDir::toNativeSeparators(fileName)));
delete pro; delete pro;
} }
@@ -2654,7 +2654,7 @@ void ProjectExplorerPlugin::openRecentProject()
QString errorMessage; QString errorMessage;
openProject(fileName, &errorMessage); openProject(fileName, &errorMessage);
if (!errorMessage.isEmpty()) if (!errorMessage.isEmpty())
QMessageBox::critical(ICore::mainWindow(), tr("Failed to open project"), errorMessage); QMessageBox::critical(ICore::mainWindow(), tr("Failed to open project."), errorMessage);
} }
} }