summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorLeena Miettinen <riitta-leena.miettinen@qt.io>2020-11-06 17:11:24 +0100
committerLeena Miettinen <riitta-leena.miettinen@qt.io>2020-11-09 09:52:12 +0000
commitf2254419af6a9530e33e4e1806958f550ba1a764 (patch)
tree2c3f4b6c8e912ca7e188a5448bfe1dd1c17ae80b /src
parent1988d891981f0bc9f59f07a36f0e9b02f1450338 (diff)
downloadqt-creator-f2254419af6a9530e33e4e1806958f550ba1a764.tar.gz
Project explorer: Fix UI text
Fix punctuation. Task-number: QTCREATORBUG-24873 Change-Id: I5cc5e80915b891efa2cd2268e3302feb39b7a576 Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
Diffstat (limited to 'src')
-rw-r--r--src/plugins/projectexplorer/project.cpp2
-rw-r--r--src/plugins/projectexplorer/projectexplorer.cpp8
-rw-r--r--src/plugins/projectexplorer/target.cpp4
3 files changed, 7 insertions, 7 deletions
diff --git a/src/plugins/projectexplorer/project.cpp b/src/plugins/projectexplorer/project.cpp
index 1a94540ba1..7a2c36d678 100644
--- a/src/plugins/projectexplorer/project.cpp
+++ b/src/plugins/projectexplorer/project.cpp
@@ -1032,7 +1032,7 @@ QStringList Project::availableQmlPreviewTranslations(QString *errorMessage)
const QDir languageDirectory(projectDirectory + "/i18n");
const auto qmFiles = languageDirectory.entryList({"qml_*.qm"});
if (qmFiles.isEmpty() && errorMessage)
- errorMessage->append(tr("Could not find any qml_*.qm file at '%1'").arg(languageDirectory.absolutePath()));
+ errorMessage->append(tr("Could not find any qml_*.qm file at \"%1\"").arg(languageDirectory.absolutePath()));
return Utils::transform(qmFiles, [](const QString &qmFile) {
const int localeStartPosition = qmFile.lastIndexOf("_") + 1;
const int localeEndPosition = qmFile.size() - QString(".qm").size();
diff --git a/src/plugins/projectexplorer/projectexplorer.cpp b/src/plugins/projectexplorer/projectexplorer.cpp
index d8bdd37659..ca70a250b8 100644
--- a/src/plugins/projectexplorer/projectexplorer.cpp
+++ b/src/plugins/projectexplorer/projectexplorer.cpp
@@ -1783,7 +1783,7 @@ bool ProjectExplorerPlugin::initialize(const QStringList &arguments, QString *er
});
expander->registerPrefix(Constants::VAR_CURRENTBUILD_ENV,
- BuildConfiguration::tr("Variables in the current build environment"),
+ BuildConfiguration::tr("Variables in the current build environment."),
[](const QString &var) {
if (BuildConfiguration *bc = currentBuildConfiguration())
return bc->environment().expandedValueForKey(var);
@@ -1791,7 +1791,7 @@ bool ProjectExplorerPlugin::initialize(const QStringList &arguments, QString *er
}, false);
expander->registerPrefix("CurrentDocument:Project:BuildConfig:Env",
BuildConfiguration::tr("Variables in the active build environment "
- "of the project containing the currently open document"),
+ "of the project containing the currently open document."),
[](const QString &var) {
if (BuildConfiguration *bc = currentBuildConfiguration())
return bc->environment().expandedValueForKey(var);
@@ -1840,14 +1840,14 @@ bool ProjectExplorerPlugin::initialize(const QStringList &arguments, QString *er
});
const char activeBuildEnvVar[] = "ActiveProject:BuildConfig:Env";
Utils::EnvironmentProvider::addProvider(
- {activeBuildEnvVar, tr("Active Build Environment of the active project"), [] {
+ {activeBuildEnvVar, tr("Active build environment of the active project."), [] {
if (const BuildConfiguration * const bc = activeBuildConfiguration())
return bc->environment();
return Utils::Environment::systemEnvironment();
}});
expander->registerPrefix("ActiveProject:BuildConfig:Env",
BuildConfiguration::tr("Variables in the active build environment "
- "of the active project"),
+ "of the active project."),
[](const QString &var) {
if (BuildConfiguration * const bc = activeBuildConfiguration())
return bc->environment().expandedValueForKey(var);
diff --git a/src/plugins/projectexplorer/target.cpp b/src/plugins/projectexplorer/target.cpp
index 3e83ae8086..f7c0981be9 100644
--- a/src/plugins/projectexplorer/target.cpp
+++ b/src/plugins/projectexplorer/target.cpp
@@ -182,7 +182,7 @@ Target::Target(Project *project, Kit *k, _constructor_tag) :
return rc->commandLine().executable().toString();
return QString();
});
- d->m_macroExpander.registerPrefix("CurrentRun:Env", tr("Variables in the current run environment"),
+ d->m_macroExpander.registerPrefix("CurrentRun:Env", tr("Variables in the current run environment."),
[this](const QString &var) {
if (RunConfiguration * const rc = activeRunConfiguration()) {
if (const auto envAspect = rc->aspect<EnvironmentAspect>())
@@ -191,7 +191,7 @@ Target::Target(Project *project, Kit *k, _constructor_tag) :
return QString();
});
d->m_macroExpander.registerVariable("CurrentRun:WorkingDir",
- tr("The currently active run configuration's working directory"),
+ tr("The currently active run configuration's working directory."),
[this] {
if (RunConfiguration * const rc = activeRunConfiguration()) {
if (const auto wdAspect = rc->aspect<WorkingDirectoryAspect>())