Project Explorer: Fix UI text according to the guidelines

https://doc.qt.io/qtcreator-extending/qtcreator-ui-text.html

Task-number: QTCREATORBUG-23683
Change-Id: Idd3a1691c8a2fb46d8289a0de60a39f7020bc5a9
Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
This commit is contained in:
Leena Miettinen
2020-03-11 11:04:28 +01:00
parent 9618e57c80
commit 25b438b6f3
4 changed files with 8 additions and 8 deletions

View File

@@ -186,14 +186,14 @@ AppOutputPane::AppOutputPane() :
// Rerun
m_reRunButton->setIcon(Utils::Icons::RUN_SMALL_TOOLBAR.icon());
m_reRunButton->setToolTip(tr("Re-run this run-configuration"));
m_reRunButton->setToolTip(tr("Re-run this run-configuration."));
m_reRunButton->setEnabled(false);
connect(m_reRunButton, &QToolButton::clicked,
this, &AppOutputPane::reRunRunControl);
// Stop
m_stopAction->setIcon(Utils::Icons::STOP_SMALL_TOOLBAR.icon());
m_stopAction->setToolTip(tr("Stop Running Program"));
m_stopAction->setToolTip(tr("Stop running program."));
m_stopAction->setEnabled(false);
Core::Command *cmd = Core::ActionManager::registerAction(m_stopAction, Constants::STOP);
@@ -833,7 +833,7 @@ public:
: {&m_runOutputModeComboBox, &m_debugOutputModeComboBox}) {
modeComboBox->addItem(tr("Always"), int(AppOutputPaneMode::PopupOnOutput));
modeComboBox->addItem(tr("Never"), int(AppOutputPaneMode::FlashOnOutput));
modeComboBox->addItem(tr("On first output only"),
modeComboBox->addItem(tr("On First Output Only"),
int(AppOutputPaneMode::PopupOnFirstOutput));
}
m_runOutputModeComboBox.setCurrentIndex(m_runOutputModeComboBox

View File

@@ -1086,7 +1086,7 @@ bool ProjectExplorerPlugin::initialize(const QStringList &arguments, QString *er
msessionContextMenu->addAction(cmd, Constants::G_SESSION_BUILD);
dd->m_buildSessionForAllConfigsAction
= new QAction(buildIcon, tr("Build All Projects For All Configurations"), this);
= new QAction(buildIcon, tr("Build All Projects for All Configurations"), this);
cmd = ActionManager::registerAction(dd->m_buildSessionForAllConfigsAction,
Constants::BUILDSESSIONALLCONFIGS);
mbuild->addAction(cmd, Constants::G_BUILD_BUILD);
@@ -1106,7 +1106,7 @@ bool ProjectExplorerPlugin::initialize(const QStringList &arguments, QString *er
msessionContextMenu->addAction(cmd, Constants::G_SESSION_REBUILD);
dd->m_rebuildSessionForAllConfigsAction
= new QAction(Icons::REBUILD.icon(), tr("Rebuild All Projects For All Configurations"),
= new QAction(Icons::REBUILD.icon(), tr("Rebuild All Projects for All Configurations"),
this);
cmd = ActionManager::registerAction(dd->m_rebuildSessionForAllConfigsAction,
Constants::REBUILDSESSIONALLCONFIGS);
@@ -1121,7 +1121,7 @@ bool ProjectExplorerPlugin::initialize(const QStringList &arguments, QString *er
msessionContextMenu->addAction(cmd, Constants::G_SESSION_REBUILD);
dd->m_cleanSessionForAllConfigsAction = new QAction(Utils::Icons::CLEAN.icon(),
tr("Clean All Projects For All Configurations"), this);
tr("Clean All Projects for All Configurations"), this);
cmd = ActionManager::registerAction(dd->m_cleanSessionForAllConfigsAction,
Constants::CLEANSESSIONALLCONFIGS);
mbuild->addAction(cmd, Constants::G_BUILD_CLEAN);

View File

@@ -263,7 +263,7 @@
</item>
<item>
<property name="text">
<string>Deduced From Project</string>
<string>Deduced from Project</string>
</property>
</item>
</widget>

View File

@@ -344,7 +344,7 @@ void ArgumentsAspect::addToLayout(LayoutBuilder &builder)
containerLayout->setContentsMargins(0, 0, 0, 0);
containerLayout->addWidget(setupChooser());
m_multiLineButton = new ExpandButton;
m_multiLineButton->setToolTip(tr("Toggle multi-line mode"));
m_multiLineButton->setToolTip(tr("Toggle multi-line mode."));
m_multiLineButton->setChecked(m_multiLine);
connect(m_multiLineButton, &QCheckBox::clicked, this, [this](bool checked) {
if (m_multiLine == checked)