fix(launch/VerifyJava): reword log output

This commit is contained in:
Sefa Eyeoglu 2022-04-02 00:54:48 +02:00
parent e02369ba6b
commit 9180c751d8
No known key found for this signature in database
GPG Key ID: C10411294912A422

View File

@ -64,12 +64,12 @@ void VerifyJavaInstall::executeTask() {
return;
}
emit logLine(tr("Instance not compatible with Java major version %1.\n"
"Switch the Java version of this instance to one of the following:").arg(javaVersion.major()),
emit logLine(tr("This instance is not compatible with Java version %1.\n"
"Please switch to one of the following Java versions for this instance:").arg(javaVersion.major()),
MessageLevel::Error);
for (auto major: compatibleMajors)
for (auto major : compatibleMajors)
{
emit logLine(tr("Java %1").arg(major), MessageLevel::Error);
emit logLine(tr("Java version %1").arg(major), MessageLevel::Error);
}
emitFailed(QString("Incompatible Java major version"));
}