Commit 9c23900f authored by Leena Miettinen's avatar Leena Miettinen Committed by hjk

UI text: fix debugger related strings

Fix capitalization and punctuation. Make some strings shorter.

Change-Id: Ic018d9905d855c6694d3d63e703e772d63d75c71
Reviewed-by: default avatarhjk <hjk121@nokiamail.com>
parent bbee7310
......@@ -1867,7 +1867,7 @@ void DebuggerEngine::checkForReleaseBuild(const DebuggerStartParameters &sp)
return;
foreach (const QByteArray &name, interesting) {
const QString found = seen.contains(name) ? tr("Found.") : tr("Not Found.");
const QString found = seen.contains(name) ? tr("Found.") : tr("Not found.");
detailedWarning.append(tr("\nSection %1: %2").arg(_(name)).arg(found));
}
break;
......
......@@ -148,11 +148,10 @@ GdbOptionsPageWidget::GdbOptionsPageWidget(QWidget *parent)
".gdbinit file on debugger startup."));
checkBoxLoadGdbDumpers = new QCheckBox(groupBoxGeneral);
checkBoxLoadGdbDumpers->setText(GdbOptionsPage::tr("Load system gdb pretty printers"));
checkBoxLoadGdbDumpers->setText(GdbOptionsPage::tr("Load system GDB pretty printers"));
checkBoxLoadGdbDumpers->setToolTip(GdbOptionsPage::tr(
"Allows or inhibits using the default gdb pretty printers "
"installed in your system or linked to the libraries your "
"application uses.\n"));
"Uses the default GDB pretty printers installed in your "
"system or linked to the libraries your application uses.\n"));
checkBoxIntelFlavor = new QCheckBox(groupBoxGeneral);
checkBoxIntelFlavor->setText(GdbOptionsPage::tr("Use Intel style disassembly"));
......@@ -163,8 +162,8 @@ GdbOptionsPageWidget::GdbOptionsPageWidget(QWidget *parent)
checkBoxIdentifyDebugInfoPackages = new QCheckBox(groupBoxGeneral);
checkBoxIdentifyDebugInfoPackages->setText(GdbOptionsPage::tr("Create tasks from missing packages"));
checkBoxIdentifyDebugInfoPackages->setToolTip(GdbOptionsPage::tr(
"<html><head/><body><p>Checking this option attempts to identify missing debug "
"info packages and lists them in the Issues output pane.</p><p>"
"<html><head/><body><p>Attempts to identify missing debug info packages "
"and lists them in the Issues output pane.</p><p>"
"<b>Note:</b>This feature needs special support from the Linux "
"distribution and GDB build and is not everywhere available.</p></body></html>"));
......
......@@ -145,7 +145,7 @@ void LldbEngine::setupEngine()
notifyEngineSetupFailed();
showMessage(_("ADAPTER START FAILED"));
if (!msg.isEmpty())
Core::ICore::showWarningWithOptions(tr("Adapter start failed"), msg);
Core::ICore::showWarningWithOptions(tr("Adapter start failed."), msg);
}
}
......@@ -602,7 +602,7 @@ bool LldbEngine::setToolTipExpression(const QPoint &mousePos,
}
if (!hasLetterOrNumber(exp)) {
QToolTip::showText(m_toolTipPos, tr("'%1' contains no identifier").arg(exp));
QToolTip::showText(m_toolTipPos, tr("'%1' contains no identifier.").arg(exp));
return true;
}
......@@ -623,7 +623,7 @@ bool LldbEngine::setToolTipExpression(const QPoint &mousePos,
if (hasSideEffects(exp)) {
QToolTip::showText(m_toolTipPos,
tr("Cowardly refusing to evaluate expression '%1' "
"with potential side effects").arg(exp));
"with potential side effects.").arg(exp));
return true;
}
......
......@@ -106,7 +106,7 @@
<item row="3" column="0">
<widget class="QCheckBox" name="showCompileOutputCheckBox">
<property name="text">
<string>Open compiler output pane when building</string>
<string>Open Compile Output pane when building</string>
</property>
</widget>
</item>
......@@ -161,14 +161,14 @@
<item row="4" column="0">
<widget class="QCheckBox" name="showRunOutputCheckBox">
<property name="text">
<string>Open application output pane on output when running</string>
<string>Open Application Output pane on output when running</string>
</property>
</widget>
</item>
<item row="5" column="0">
<widget class="QCheckBox" name="showDebugOutputCheckBox">
<property name="text">
<string>Open application output pane on output when debugging</string>
<string>Open Application Output pane on output when debugging</string>
</property>
</widget>
</item>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment