Commit 71f2181f authored by Riitta-Leena Miettinen's avatar Riitta-Leena Miettinen
Browse files

Debugger: Fix UI text capitalization



Change-Id: Iccd08dae2ef2a86c0d0d5fb5d572b24664c40431
Reviewed-by: default avatarhjk <hjk@qt.io>
parent ad924399
......@@ -363,19 +363,19 @@ BreakpointDialog::BreakpointDialog(Breakpoint b, QWidget *parent)
// Match BreakpointType (omitting unknown type).
const QStringList types = {
tr("File name and line number"),
tr("Function name"),
tr("Break on memory address"),
tr("Break when C++ exception is thrown"),
tr("Break when C++ exception is caught"),
tr("Break when function \"main\" starts"),
tr("Break when a new process is forked"),
tr("Break when a new process is executed"),
tr("Break when a system call is executed"),
tr("Break on data access at fixed address"),
tr("Break on data access at address given by expression"),
tr("Break on QML signal emit"),
tr("Break when JavaScript exception is thrown")
tr("File Name and Line Number"),
tr("Function Name"),
tr("Break on Memory Address"),
tr("Break When C++ Exception Is Thrown"),
tr("Break When C++ Exception Is Caught"),
tr("Break When Function \"main\" Starts"),
tr("Break When a New Process Is Forked"),
tr("Break When a New Process Is Executed"),
tr("Break When a System Call Is Executed"),
tr("Break on Data Access at Fixed Address"),
tr("Break on Data Access at Address Given by Expression"),
tr("Break on QML Signal Emit"),
tr("Break When JavaScript Exception Is Thrown")
};
// We don't list UnknownBreakpointType, so 1 less:
QTC_CHECK(types.size() + 1 == LastBreakpointType);
......
......@@ -115,13 +115,11 @@ QWidget *CommonOptionsPage::widget()
"will automatically open views associated with the current location.") + QLatin1Char('\n');
auto checkBoxCloseSourceBuffersOnExit = new QCheckBox(behaviorBox);
checkBoxCloseSourceBuffersOnExit->setText(tr("Close temporary source views on debugger exit"));
checkBoxCloseSourceBuffersOnExit->setToolTip(t + tr("Select this option to close "
"automatically opened source views when the debugger exits."));
checkBoxCloseSourceBuffersOnExit->setToolTip(t + tr("Closes automatically opened source views when the debugger exits."));
auto checkBoxCloseMemoryBuffersOnExit = new QCheckBox(behaviorBox);
checkBoxCloseMemoryBuffersOnExit->setText(tr("Close temporary memory views on debugger exit"));
checkBoxCloseMemoryBuffersOnExit->setToolTip(t + tr("Select this option to close "
"automatically opened memory views when the debugger exits."));
checkBoxCloseMemoryBuffersOnExit->setToolTip(t + tr("Closes automatically opened memory views when the debugger exits."));
auto checkBoxSwitchModeOnExit = new QCheckBox(behaviorBox);
checkBoxSwitchModeOnExit->setText(tr("Switch to previous mode on debugger exit"));
......
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