forked from qt-creator/qt-creator
Project Explorer: Fix UI text
Task-number: QTCREATORBUG-27055 Change-Id: I9b0e4f02ea7d1ebb14a9581f21c76b8908589334 Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
This commit is contained in:
@@ -174,7 +174,7 @@ AppOutputPane::AppOutputPane() :
|
|||||||
m_formatterWidget(new QWidget),
|
m_formatterWidget(new QWidget),
|
||||||
m_handler(new ShowOutputTaskHandler(this,
|
m_handler(new ShowOutputTaskHandler(this,
|
||||||
tr("Show &App Output"),
|
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")))
|
tr("A")))
|
||||||
{
|
{
|
||||||
ExtensionSystem::PluginManager::addObject(m_handler);
|
ExtensionSystem::PluginManager::addObject(m_handler);
|
||||||
|
@@ -121,8 +121,8 @@ public:
|
|||||||
layout->setContentsMargins(0, 0, 0, 0);
|
layout->setContentsMargins(0, 0, 0, 0);
|
||||||
|
|
||||||
const auto pasteStdOutCB = new QCheckBox(tr("Parse standard output during build"), this);
|
const auto pasteStdOutCB = new QCheckBox(tr("Parse standard output during build"), this);
|
||||||
pasteStdOutCB->setToolTip(tr("Check this to make output parsers look for diagnostics "
|
pasteStdOutCB->setToolTip(tr("Makes output parsers look for diagnostics "
|
||||||
"on stdout rather than stderr"));
|
"on stdout rather than stderr."));
|
||||||
pasteStdOutCB->setChecked(bc->parseStdOut());
|
pasteStdOutCB->setChecked(bc->parseStdOut());
|
||||||
layout->addWidget(pasteStdOutCB);
|
layout->addWidget(pasteStdOutCB);
|
||||||
|
|
||||||
|
@@ -118,7 +118,7 @@ CompileOutputWindow::CompileOutputWindow(QAction *cancelBuildAction) :
|
|||||||
|
|
||||||
m_handler = new ShowOutputTaskHandler(this,
|
m_handler = new ShowOutputTaskHandler(this,
|
||||||
tr("Show Compile &Output"),
|
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"));
|
tr("O"));
|
||||||
ExtensionSystem::PluginManager::addObject(m_handler);
|
ExtensionSystem::PluginManager::addObject(m_handler);
|
||||||
setupContext(C_COMPILE_OUTPUT, m_outputWindow);
|
setupContext(C_COMPILE_OUTPUT, m_outputWindow);
|
||||||
|
@@ -113,11 +113,11 @@ public:
|
|||||||
[kit] { return kit->fileSystemFriendlyName(); });
|
[kit] { return kit->fileSystemFriendlyName(); });
|
||||||
|
|
||||||
m_macroExpander.registerVariable("CurrentKit:Id",
|
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(); },
|
[kit] { return kit->id().toString(); },
|
||||||
false);
|
false);
|
||||||
m_macroExpander.registerVariable("Kit:Id",
|
m_macroExpander.registerVariable("Kit:Id",
|
||||||
tr("The id of the kit."),
|
tr("The ID of the kit."),
|
||||||
[kit] { return kit->id().toString(); });
|
[kit] { return kit->id().toString(); });
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@@ -188,13 +188,13 @@ RunConfiguration::RunConfiguration(Target *target, Utils::Id id)
|
|||||||
BuildConfiguration *bc = target->activeBuildConfiguration();
|
BuildConfiguration *bc = target->activeBuildConfiguration();
|
||||||
return bc ? bc->macroExpander() : target->macroExpander();
|
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) {
|
[this](const QString &var) {
|
||||||
const auto envAspect = aspect<EnvironmentAspect>();
|
const auto envAspect = aspect<EnvironmentAspect>();
|
||||||
return envAspect ? envAspect->environment().expandedValueForKey(var) : QString();
|
return envAspect ? envAspect->environment().expandedValueForKey(var) : QString();
|
||||||
});
|
});
|
||||||
m_expander.registerVariable("RunConfig:WorkingDir",
|
m_expander.registerVariable("RunConfig:WorkingDir",
|
||||||
tr("The run configuration's working directory"),
|
tr("The run configuration's working directory."),
|
||||||
[this] {
|
[this] {
|
||||||
const auto wdAspect = aspect<WorkingDirectoryAspect>();
|
const auto wdAspect = aspect<WorkingDirectoryAspect>();
|
||||||
return wdAspect ? wdAspect->workingDirectory().toString() : QString();
|
return wdAspect ? wdAspect->workingDirectory().toString() : QString();
|
||||||
|
Reference in New Issue
Block a user