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