Fix some typos (#1983)

This commit is contained in:
Wolfgang Stöggl 2019-07-12 17:55:44 +02:00 committed by Daniel Marjamäki
parent 8ad3e43f92
commit 1c32455ae1
5 changed files with 6 additions and 6 deletions

View File

@ -87,7 +87,7 @@ StyleEditDialog::StyleEditDialog(const CodeEditorStyle& newStyle,
flEditControls->addRow(QObject::tr("Keyword Font Weight"),
mCBKeywordWeight);
mBtnClassFG = new SelectColorButton(this);
flEditControls->addRow(QObject::tr("Class ForegroundColor"),
flEditControls->addRow(QObject::tr("Class Foreground Color"),
mBtnClassFG);
mCBClassWeight = new SelectFontWeightCombo(this);
flEditControls->addRow(QObject::tr("Class Font Weight"),

View File

@ -93,7 +93,7 @@ void LibraryDialog::openCfg()
if (!file.open(QIODevice::ReadOnly | QIODevice::Text)) {
QMessageBox msg(QMessageBox::Critical,
tr("Cppcheck"),
tr("Can not open file %1.").arg(selectedFile),
tr("Cannot open file %1.").arg(selectedFile),
QMessageBox::Ok,
this);
msg.exec();
@ -142,7 +142,7 @@ void LibraryDialog::saveCfg()
} else {
QMessageBox msg(QMessageBox::Critical,
tr("Cppcheck"),
tr("Can not save file %1.").arg(mFileName),
tr("Cannot save file %1.").arg(mFileName),
QMessageBox::Ok,
this);
msg.exec();

View File

@ -1107,7 +1107,7 @@ void MainWindow::openResults()
QMessageBox msgBox(this);
msgBox.setWindowTitle(tr("Cppcheck"));
const QString msg(tr("Current results will be cleared.\n\n"
"Opening a new XML file will clear current results."
"Opening a new XML file will clear current results.\n"
"Do you want to proceed?"));
msgBox.setText(msg);
msgBox.setIcon(QMessageBox::Warning);

View File

@ -182,7 +182,7 @@ void f2()
<section>
<title>Final thoughts</title>
<para>You can not trust that Cppcheck will detect all bugs.</para>
<para>You cannot trust that Cppcheck will detect all bugs.</para>
<para>Cppcheck will just find some bugs. It is likely that you won't find
these bugs unless you use Cppcheck.</para>

View File

@ -1886,7 +1886,7 @@ Checking unusedvar.cpp...
<para>You can define custom rules using regular expressions.</para>
<para>These rules can not perform sophisticated analysis of the code. But
<para>These rules cannot perform sophisticated analysis of the code. But
they give you an easy way to check for various simple patterns in the
code.</para>