diff options
author | Leena Miettinen <riitta-leena.miettinen@digia.com> | 2015-03-16 10:21:54 +0100 |
---|---|---|
committer | Leena Miettinen <riitta-leena.miettinen@theqtcompany.com> | 2015-03-16 11:23:19 +0000 |
commit | deae570c5da2b923e8d6a70c955324b70559535f (patch) | |
tree | 9a6f2d16d0c3fd8f2f4e588a061e69af97476d1a /src/plugins/projectexplorer | |
parent | 5a1400c5f026feeeabbceba15e6fdfc0358955c2 (diff) | |
download | qt-creator-deae570c5da2b923e8d6a70c955324b70559535f.tar.gz |
ProjectExplorer: fix punctuation of messages
Change-Id: I76d5d516ffc8e184607a8a22fb8c8838eb3ebb1d
Reviewed-by: Daniel Teske <daniel.teske@theqtcompany.com>
Diffstat (limited to 'src/plugins/projectexplorer')
-rw-r--r-- | src/plugins/projectexplorer/projectexplorer.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/plugins/projectexplorer/projectexplorer.cpp b/src/plugins/projectexplorer/projectexplorer.cpp index 78ccc8d269..5d6ebf31bc 100644 --- a/src/plugins/projectexplorer/projectexplorer.cpp +++ b/src/plugins/projectexplorer/projectexplorer.cpp @@ -1247,7 +1247,7 @@ bool ProjectExplorerPlugin::initialize(const QStringList &arguments, QString *er // not be used in the Run/Build configuration pages. Utils::MacroExpander *expander = Utils::globalMacroExpander(); expander->registerFileVariables(Constants::VAR_CURRENTPROJECT_PREFIX, - tr("Current project's main file"), + tr("Current project's main file."), [this]() -> QString { Utils::FileName projectFilePath; if (Project *project = ProjectTree::currentProject()) @@ -1470,7 +1470,7 @@ void ProjectExplorerPlugin::extensionsInitialized() ProjectExplorerPlugin::openProject(fileName, &errorMessage); if (!errorMessage.isEmpty()) QMessageBox::critical(ICore::mainWindow(), - tr("Failed to open project"), errorMessage); + tr("Failed to open project."), errorMessage); return 0; }); @@ -2460,13 +2460,13 @@ QPair<bool, QString> ProjectExplorerPluginPrivate::buildSettingsEnabledForSessio result.first = true; if (!SessionManager::hasProjects()) { result.first = false; - result.second = tr("No project loaded"); + result.second = tr("No project loaded."); } else if (BuildManager::isBuilding()) { result.first = false; - result.second = tr("A build is in progress"); + result.second = tr("A build is in progress."); } else if (!hasBuildSettings(0)) { result.first = false; - result.second = tr("Project has no build settings"); + result.second = tr("Project has no build settings."); } else { foreach (Project *project, SessionManager::projectOrder(0)) { if (project |