Clang Tools: Fix UI text

Change-Id: Ib2f6f548bbd778e585385315174f5fecb60b7f5a
Reviewed-by: Nikolai Kosjar <nikolai.kosjar@qt.io>
This commit is contained in:
Leena Miettinen
2019-10-28 16:09:43 +01:00
parent 5b943b6e7a
commit 3ffee8213d

View File

@@ -305,7 +305,7 @@ void ClangToolRunWorker::start()
// Create log dir // Create log dir
if (!m_temporaryDir.isValid()) { if (!m_temporaryDir.isValid()) {
const QString errorMessage const QString errorMessage
= tr("%1: Failed to create temporary dir, stop.").arg(toolName); = tr("%1: Failed to create temporary directory. Stopped.").arg(toolName);
appendMessage(errorMessage, Utils::ErrorMessageFormat); appendMessage(errorMessage, Utils::ErrorMessageFormat);
TaskHub::addTask(Task::Error, errorMessage, Debugger::Constants::ANALYZERTASK_ID); TaskHub::addTask(Task::Error, errorMessage, Debugger::Constants::ANALYZERTASK_ID);
TaskHub::requestPopup(); TaskHub::requestPopup();
@@ -390,7 +390,7 @@ void ClangToolRunWorker::analyzeNextFile()
const QString executable = runner->executable(); const QString executable = runner->executable();
if (!isFileExecutable(executable)) { if (!isFileExecutable(executable)) {
const QString errorMessage = tr("%1: Invalid executable \"%2\", stop.") const QString errorMessage = tr("%1: Invalid executable \"%2\". Stopped.")
.arg(runner->name(), executable); .arg(runner->name(), executable);
TaskHub::addTask(Task::Error, errorMessage, Debugger::Constants::ANALYZERTASK_ID); TaskHub::addTask(Task::Error, errorMessage, Debugger::Constants::ANALYZERTASK_ID);
TaskHub::requestPopup(); TaskHub::requestPopup();