From 4f3d3d445c8fcfcaf6638ac034aa6a541299caf6 Mon Sep 17 00:00:00 2001 From: Leena Miettinen Date: Wed, 16 Feb 2022 18:02:48 +0100 Subject: [PATCH] Project Explorer: Fix UI text Task-number: QTCREATORBUG-27055 Change-Id: I9b0e4f02ea7d1ebb14a9581f21c76b8908589334 Reviewed-by: Christian Kandeler --- src/plugins/projectexplorer/appoutputpane.cpp | 2 +- src/plugins/projectexplorer/buildconfiguration.cpp | 4 ++-- src/plugins/projectexplorer/compileoutputwindow.cpp | 2 +- src/plugins/projectexplorer/kit.cpp | 4 ++-- src/plugins/projectexplorer/runconfiguration.cpp | 4 ++-- 5 files changed, 8 insertions(+), 8 deletions(-) diff --git a/src/plugins/projectexplorer/appoutputpane.cpp b/src/plugins/projectexplorer/appoutputpane.cpp index 076fb1c8953..9fc9562355e 100644 --- a/src/plugins/projectexplorer/appoutputpane.cpp +++ b/src/plugins/projectexplorer/appoutputpane.cpp @@ -174,7 +174,7 @@ AppOutputPane::AppOutputPane() : m_formatterWidget(new QWidget), m_handler(new ShowOutputTaskHandler(this, tr("Show &App Output"), - tr("Show the output that generated this issue in the application output window"), + tr("Show the output that generated this issue in the Application Output pane."), tr("A"))) { ExtensionSystem::PluginManager::addObject(m_handler); diff --git a/src/plugins/projectexplorer/buildconfiguration.cpp b/src/plugins/projectexplorer/buildconfiguration.cpp index 7a68c276c3d..f5aec089ced 100644 --- a/src/plugins/projectexplorer/buildconfiguration.cpp +++ b/src/plugins/projectexplorer/buildconfiguration.cpp @@ -121,8 +121,8 @@ public: layout->setContentsMargins(0, 0, 0, 0); const auto pasteStdOutCB = new QCheckBox(tr("Parse standard output during build"), this); - pasteStdOutCB->setToolTip(tr("Check this to make output parsers look for diagnostics " - "on stdout rather than stderr")); + pasteStdOutCB->setToolTip(tr("Makes output parsers look for diagnostics " + "on stdout rather than stderr.")); pasteStdOutCB->setChecked(bc->parseStdOut()); layout->addWidget(pasteStdOutCB); diff --git a/src/plugins/projectexplorer/compileoutputwindow.cpp b/src/plugins/projectexplorer/compileoutputwindow.cpp index a51397bd256..abb6736a955 100644 --- a/src/plugins/projectexplorer/compileoutputwindow.cpp +++ b/src/plugins/projectexplorer/compileoutputwindow.cpp @@ -118,7 +118,7 @@ CompileOutputWindow::CompileOutputWindow(QAction *cancelBuildAction) : m_handler = new ShowOutputTaskHandler(this, tr("Show Compile &Output"), - tr("Show the output that generated this issue in the compile output window"), + tr("Show the output that generated this issue in the Compile Output pane."), tr("O")); ExtensionSystem::PluginManager::addObject(m_handler); setupContext(C_COMPILE_OUTPUT, m_outputWindow); diff --git a/src/plugins/projectexplorer/kit.cpp b/src/plugins/projectexplorer/kit.cpp index b509c5bc62f..114e6e25512 100644 --- a/src/plugins/projectexplorer/kit.cpp +++ b/src/plugins/projectexplorer/kit.cpp @@ -113,11 +113,11 @@ public: [kit] { return kit->fileSystemFriendlyName(); }); m_macroExpander.registerVariable("CurrentKit:Id", - tr("The id of the currently active kit."), + tr("The ID of the currently active kit."), [kit] { return kit->id().toString(); }, false); m_macroExpander.registerVariable("Kit:Id", - tr("The id of the kit."), + tr("The ID of the kit."), [kit] { return kit->id().toString(); }); } diff --git a/src/plugins/projectexplorer/runconfiguration.cpp b/src/plugins/projectexplorer/runconfiguration.cpp index 76ac46ec224..430eadb8dae 100644 --- a/src/plugins/projectexplorer/runconfiguration.cpp +++ b/src/plugins/projectexplorer/runconfiguration.cpp @@ -188,13 +188,13 @@ RunConfiguration::RunConfiguration(Target *target, Utils::Id id) BuildConfiguration *bc = target->activeBuildConfiguration(); return bc ? bc->macroExpander() : target->macroExpander(); }); - m_expander.registerPrefix("RunConfig:Env", tr("Variables in the run environment"), + m_expander.registerPrefix("RunConfig:Env", tr("Variables in the run environment."), [this](const QString &var) { const auto envAspect = aspect(); return envAspect ? envAspect->environment().expandedValueForKey(var) : QString(); }); m_expander.registerVariable("RunConfig:WorkingDir", - tr("The run configuration's working directory"), + tr("The run configuration's working directory."), [this] { const auto wdAspect = aspect(); return wdAspect ? wdAspect->workingDirectory().toString() : QString();