Debugger: fix capitalization and punctuation of UI text

Remove some unnecessary text from tooltips.

Change-Id: Ifbd734b23eb88ceb3e28d59b7ae96d52d4ad0e21
Reviewed-by: hjk <hjk121@nokiamail.com>
This commit is contained in:
Leena Miettinen
2014-03-06 14:44:03 +01:00
committed by hjk
parent f9079811a6
commit c7ee842c0a
2 changed files with 10 additions and 10 deletions

View File

@@ -170,7 +170,7 @@ void StackTreeView::contextMenuEvent(QContextMenuEvent *ev)
QAction *additionalQmlStackAction = 0; QAction *additionalQmlStackAction = 0;
if (engine->hasCapability(AdditionalQmlStackCapability)) if (engine->hasCapability(AdditionalQmlStackCapability))
additionalQmlStackAction = menu.addAction(tr("Load QML stack")); additionalQmlStackAction = menu.addAction(tr("Load QML Stack"));
QAction *actShowMemory = 0; QAction *actShowMemory = 0;
if (engine->hasCapability(ShowMemoryCapability)) { if (engine->hasCapability(ShowMemoryCapability)) {

View File

@@ -80,7 +80,7 @@ namespace Internal {
UnstartedAppWatcherDialog::UnstartedAppWatcherDialog(QWidget *parent) UnstartedAppWatcherDialog::UnstartedAppWatcherDialog(QWidget *parent)
: QDialog(parent) : QDialog(parent)
{ {
setWindowTitle(tr("Attach to process not yet started")); setWindowTitle(tr("Attach to Process Not Yet Started"));
m_kitChooser = new DebuggerKitChooser(DebuggerKitChooser::LocalDebugging, this); m_kitChooser = new DebuggerKitChooser(DebuggerKitChooser::LocalDebugging, this);
m_kitChooser->populate(); m_kitChooser->populate();
@@ -105,16 +105,16 @@ UnstartedAppWatcherDialog::UnstartedAppWatcherDialog(QWidget *parent)
m_pathChooser->setPath(localAppRC->executable()); m_pathChooser->setPath(localAppRC->executable());
} }
m_hideOnAttachCheckBox = new QCheckBox(tr("Hide after Attach"), this); m_hideOnAttachCheckBox = new QCheckBox(tr("Hide after attach"), this);
m_hideOnAttachCheckBox->setToolTip(tr("If checked, dialog will hide " m_hideOnAttachCheckBox->setToolTip(tr("Hides the dialog after attach "
"after attach, and reappear after application ends.\nAlternatively, dialog will close.")); " and shows it after application ends.\nAlternatively, closes the dialog."));
m_hideOnAttachCheckBox->setChecked(false); m_hideOnAttachCheckBox->setChecked(false);
m_hideOnAttachCheckBox->setVisible(true); m_hideOnAttachCheckBox->setVisible(true);
m_continueOnAttachCheckBox = new QCheckBox(tr("Continue on Attach"), this); m_continueOnAttachCheckBox = new QCheckBox(tr("Continue on attach"), this);
m_continueOnAttachCheckBox->setToolTip(tr("If checked, debugger will " m_continueOnAttachCheckBox->setToolTip(tr("Debugger does not stop the"
"not halt application after attach.")); " application after attach."));
m_continueOnAttachCheckBox->setChecked(true); m_continueOnAttachCheckBox->setChecked(true);
m_continueOnAttachCheckBox->setVisible(true); m_continueOnAttachCheckBox->setVisible(true);
@@ -277,7 +277,7 @@ void UnstartedAppWatcherDialog::setWaitingState(UnstartedAppWacherState state)
{ {
switch (state) { switch (state) {
case InvalidWacherState: case InvalidWacherState:
m_waitingLabel->setText(tr("Please select valid executable.")); m_waitingLabel->setText(tr("Select valid executable."));
m_watchingPushButton->setEnabled(false); m_watchingPushButton->setEnabled(false);
m_watchingPushButton->setChecked(false); m_watchingPushButton->setChecked(false);
m_pathChooser->setEnabled(true); m_pathChooser->setEnabled(true);
@@ -285,7 +285,7 @@ void UnstartedAppWatcherDialog::setWaitingState(UnstartedAppWacherState state)
break; break;
case NotWatchingState: case NotWatchingState:
m_waitingLabel->setText(tr("Not Watching.")); m_waitingLabel->setText(tr("Not watching."));
m_watchingPushButton->setEnabled(true); m_watchingPushButton->setEnabled(true);
m_watchingPushButton->setChecked(false); m_watchingPushButton->setChecked(false);
m_pathChooser->setEnabled(true); m_pathChooser->setEnabled(true);