Clang support: Fix UI text

Change-Id: I99ad82a5d9077b86e5651fef439ac06210115875
Reviewed-by: Ivan Donchevskii <ivan.donchevskii@qt.io>
This commit is contained in:
Leena Miettinen
2018-02-05 16:55:25 +01:00
parent b9d95f7946
commit 34a2e61dca

View File

@@ -85,7 +85,7 @@ void ProcessCreator::checkIfProcessPathExists() const
{ {
if (!QFileInfo::exists(m_processPath)) { if (!QFileInfo::exists(m_processPath)) {
const QString messageTemplate = QCoreApplication::translate("ProcessCreator", const QString messageTemplate = QCoreApplication::translate("ProcessCreator",
"Executable does not exists: %1"); "Executable does not exist: %1");
throwProcessException(messageTemplate.arg(m_processPath)); throwProcessException(messageTemplate.arg(m_processPath));
} }
} }
@@ -101,7 +101,7 @@ void ProcessCreator::dispatchProcessError(QProcess *process) const
switch (process->error()) { switch (process->error()) {
case QProcess::UnknownError: { case QProcess::UnknownError: {
const QString message = QCoreApplication::translate("ProcessCreator", const QString message = QCoreApplication::translate("ProcessCreator",
"Unknown error happend."); "Unknown error occurred.");
throwProcessException(message); throwProcessException(message);
}; };
case QProcess::Crashed: { case QProcess::Crashed: {
@@ -116,7 +116,7 @@ void ProcessCreator::dispatchProcessError(QProcess *process) const
}; };
case QProcess::Timedout: { case QProcess::Timedout: {
const QString message = QCoreApplication::translate("ProcessCreator", const QString message = QCoreApplication::translate("ProcessCreator",
"Process timeouted."); "Process timed out.");
throwProcessException(message); throwProcessException(message);
}; };
case QProcess::WriteError: { case QProcess::WriteError: {