Beautifier: Fix untranslated DISPLAY_NAME

Change-Id: Ifad91eaada5f7614767b6332a643723de79fc6b2
Reviewed-by: Lorenz Haas <lorenz.haas@histomatics.de>
Reviewed-by: David Schulz <david.schulz@theqtcompany.com>
This commit is contained in:
Takumi ASAKI
2016-06-01 16:42:05 +09:00
committed by Orgad Shaneh
parent 74fed1d5b7
commit 88819d0490
9 changed files with 20 additions and 12 deletions

View File

@@ -101,7 +101,7 @@ FormatTask format(FormatTask task)
process.setTimeoutS(5);
Utils::SynchronousProcessResponse response = process.runBlocking(executable, options);
if (response.result != Utils::SynchronousProcessResponse::Finished) {
task.error = QObject::tr("Failed to format: %1.").arg(response.exitMessage(executable, 5));
task.error = BeautifierPlugin::tr("Failed to format: %1.").arg(response.exitMessage(executable, 5));
return task;
}
const QString output = response.stdErr;