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()) {
|
if (!source.isEmpty()) {
|
||||||
text.append(QString::fromUtf8("<tr><td colspan='2' align='left'>"
|
text.append(QString::fromUtf8("<tr><td colspan='2' align='left'>"
|
||||||
"<font color='gray'>%1</font></td></tr>")
|
"<font color='gray'>%1</font></td></tr>")
|
||||||
.arg(QCoreApplication::translate("ClangDiagnosticWidget", "[Source: %1]"))
|
.arg(QCoreApplication::translate("ClangDiagnosticWidget",
|
||||||
.arg(source));
|
"[Source: %1]").arg(source)));
|
||||||
}
|
}
|
||||||
|
|
||||||
text.append("</table>");
|
text.append("</table>");
|
||||||
|
@@ -214,9 +214,7 @@ void ClangToolRunWorker::start()
|
|||||||
|
|
||||||
const Utils::FilePath projectFile = m_projectInfo->projectFilePath();
|
const Utils::FilePath projectFile = m_projectInfo->projectFilePath();
|
||||||
appendMessage(tr("Running %1 on %2 with configuration \"%3\".")
|
appendMessage(tr("Running %1 on %2 with configuration \"%3\".")
|
||||||
.arg(toolName)
|
.arg(toolName, projectFile.toUserOutput(), m_diagnosticConfig.displayName()),
|
||||||
.arg(projectFile.toUserOutput())
|
|
||||||
.arg(m_diagnosticConfig.displayName()),
|
|
||||||
Utils::NormalMessageFormat);
|
Utils::NormalMessageFormat);
|
||||||
|
|
||||||
// Collect files
|
// Collect files
|
||||||
|
Reference in New Issue
Block a user