improve wording

Signed-off-by: Octol1ttle <l1ttleofficial@outlook.com>
(cherry picked from commit ffd1e7bc33)
This commit is contained in:
Octol1ttle 2026-01-29 19:54:02 +05:00 committed by Trial97
parent af6e4445ad
commit a33b4297ad
2 changed files with 4 additions and 5 deletions

View file

@ -69,8 +69,8 @@
#include "minecraft/launch/VerifyJavaInstall.h"
#include "minecraft/update/AssetUpdateTask.h"
#include "minecraft/update/FMLLibrariesTask.h"
#include "minecraft/update/FoldersTask.h"
#include "minecraft/update/LegacyFMLLibrariesTask.h"
#include "minecraft/update/LibrariesTask.h"
#include "java/JavaUtils.h"

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;
}