improve wording

Signed-off-by: Octol1ttle <l1ttleofficial@outlook.com>
This commit is contained in:
Octol1ttle 2026-01-29 19:54:02 +05:00
parent 193840b237
commit ffd1e7bc33
No known key found for this signature in database
GPG key ID: B77C34313AEE1FFF

View file

@ -30,10 +30,9 @@ void EnsureOfflineLibraries::executeTask()
profile->getLibraryFiles(m_instance->runtimeContext(), allJars, allJars, m_instance->getLocalLibraryPath(), m_instance->binRoot());
for (const auto& jar : allJars) {
if (!QFileInfo::exists(jar)) {
emit logLine(
tr("This instance cannot be launched in offline mode because libraries have not been downloaded yet. Please try again in "
"online mode with a working Internet connection"),
MessageLevel::Fatal);
emit logLine(tr("This instance cannot be launched because some libraries are missing or have not been downloaded yet. Please "
"try again in online mode with a working Internet connection"),
MessageLevel::Fatal);
emitFailed("Required libraries are missing");
return;
}