diff --git a/gui/codeeditstyledialog.cpp b/gui/codeeditstyledialog.cpp index a3d2cab3d..e3461bd55 100644 --- a/gui/codeeditstyledialog.cpp +++ b/gui/codeeditstyledialog.cpp @@ -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"), diff --git a/gui/librarydialog.cpp b/gui/librarydialog.cpp index 4a730c311..dbe986f10 100644 --- a/gui/librarydialog.cpp +++ b/gui/librarydialog.cpp @@ -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(); diff --git a/gui/mainwindow.cpp b/gui/mainwindow.cpp index 1e528771a..9769521e1 100644 --- a/gui/mainwindow.cpp +++ b/gui/mainwindow.cpp @@ -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); diff --git a/man/cppcheck-design.docbook b/man/cppcheck-design.docbook index 3435b6244..82eadfcfe 100644 --- a/man/cppcheck-design.docbook +++ b/man/cppcheck-design.docbook @@ -182,7 +182,7 @@ void f2()
Final thoughts - You can not trust that Cppcheck will detect all bugs. + You cannot trust that Cppcheck will detect all bugs. Cppcheck will just find some bugs. It is likely that you won't find these bugs unless you use Cppcheck. diff --git a/man/manual.docbook b/man/manual.docbook index a72bed604..5df9b3fc3 100644 --- a/man/manual.docbook +++ b/man/manual.docbook @@ -1886,7 +1886,7 @@ Checking unusedvar.cpp... You can define custom rules using regular expressions. - These rules can not perform sophisticated analysis of the code. But + 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.