forked from qt-creator/qt-creator
Clang Static Analyzer: Fix UI text capitalization
Change-Id: I6347b455be55d34f8cd038f618326cfc6d77c582 Reviewed-by: Nikolai Kosjar <nikolai.kosjar@theqtcompany.com>
This commit is contained in:
@@ -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;
|
||||
|
Reference in New Issue
Block a user