forked from qt-creator/qt-creator
Clang: Use multi-arg for strings
Change-Id: Ia0cd1abdb59cd35f1ff276811386a57bcfeefa5f Reviewed-by: David Schulz <david.schulz@qt.io> Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
This commit is contained in:
@@ -132,8 +132,8 @@ public:
|
||||
if (!source.isEmpty()) {
|
||||
text.append(QString::fromUtf8("<tr><td colspan='2' align='left'>"
|
||||
"<font color='gray'>%1</font></td></tr>")
|
||||
.arg(QCoreApplication::translate("ClangDiagnosticWidget", "[Source: %1]"))
|
||||
.arg(source));
|
||||
.arg(QCoreApplication::translate("ClangDiagnosticWidget",
|
||||
"[Source: %1]").arg(source)));
|
||||
}
|
||||
|
||||
text.append("</table>");
|
||||
|
@@ -214,9 +214,7 @@ void ClangToolRunWorker::start()
|
||||
|
||||
const Utils::FilePath projectFile = m_projectInfo->projectFilePath();
|
||||
appendMessage(tr("Running %1 on %2 with configuration \"%3\".")
|
||||
.arg(toolName)
|
||||
.arg(projectFile.toUserOutput())
|
||||
.arg(m_diagnosticConfig.displayName()),
|
||||
.arg(toolName, projectFile.toUserOutput(), m_diagnosticConfig.displayName()),
|
||||
Utils::NormalMessageFormat);
|
||||
|
||||
// Collect files
|
||||
|
Reference in New Issue
Block a user