Commit 1ec4bbb0 authored by Leena Miettinen's avatar Leena Miettinen
Browse files

Clang Static Analyzer: Fix UI text capitalization



Change-Id: I6347b455be55d34f8cd038f618326cfc6d77c582
Reviewed-by: default avatarNikolai Kosjar <nikolai.kosjar@theqtcompany.com>
parent 3c9a893a
......@@ -144,7 +144,7 @@ static QString createExplainingStepToolTipString(const ExplainingStep &step)
}
if (!step.extendedMessage.isEmpty()) {
lines << qMakePair(
QCoreApplication::translate("ClangStaticAnalyzer::ExplainingStep", "Extended Message:"),
QCoreApplication::translate("ClangStaticAnalyzer::ExplainingStep", "Extended message:"),
step.extendedMessage.toHtmlEscaped());
}
......
......@@ -44,7 +44,7 @@ namespace Internal {
ClangStaticAnalyzerDiagnosticView::ClangStaticAnalyzerDiagnosticView(QWidget *parent)
: Debugger::DetailedErrorView(parent)
{
m_suppressAction = new QAction(tr("Suppress this diagnostic"), this);
m_suppressAction = new QAction(tr("Suppress This Diagnostic"), this);
connect(m_suppressAction, &QAction::triggered, [this](bool) { suppressCurrentDiagnostic(); });
}
......
......@@ -120,7 +120,7 @@ ClangStaticAnalyzerTool::ClangStaticAnalyzerTool(QObject *parent)
connect(action, &QAction::triggered, m_diagnosticView, &DetailedErrorView::goNext);
m_goNext = action;
const QString toolTip = tr("Clang Static Analyzer uses the analyzer from the clang project "
const QString toolTip = tr("Clang Static Analyzer uses the analyzer from the Clang project "
"to find bugs.");
Debugger::registerPerspective(ClangStaticAnalyzerPerspectiveId, {
......@@ -311,7 +311,7 @@ void ClangStaticAnalyzerTool::handleStateUpdate()
m_goBack->setEnabled(issuesVisible > 1);
m_goNext->setEnabled(issuesVisible > 1);
QString message = m_running ? tr("Clang Static Analyzer running.")
QString message = m_running ? tr("Clang Static Analyzer is running.")
: tr("Clang Static Analyzer finished.");
message += QLatin1Char(' ');
if (issuesFound == 0) {
......
......@@ -91,7 +91,7 @@ bool isClangExecutableUsable(const QString &filePath, QString *errorMessage)
if (errorMessage) {
*errorMessage = QCoreApplication::translate("ClangStaticAnalyzer",
"The chosen file \"%1\" seems to point to an icecc binary not suitable "
"for analyzing.\nPlease set a real clang executable.")
"for analyzing.\nPlease set a real Clang executable.")
.arg(filePath);
}
return false;
......
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