fix(settings): Add some context to the PHP memory limit error

Signed-off-by: Josh <josh.t.richards@gmail.com>
This commit is contained in:
Josh 2024-10-12 11:42:39 -04:00 committed by Andy Scherzinger
parent 8981f32358
commit 8a7b1617d0

View file

@ -34,7 +34,7 @@ class PhpMemoryLimit implements ISetupCheck {
if ($this->memoryInfo->isMemoryLimitSufficient()) {
return SetupResult::success(Util::humanFileSize($this->memoryInfo->getMemoryLimit()));
} else {
return SetupResult::error($this->l10n->t('The PHP memory limit is below the recommended value of %s.', Util::humanFileSize(MemoryInfo::RECOMMENDED_MEMORY_LIMIT)));
return SetupResult::error($this->l10n->t('The PHP memory limit is below the recommended value of %s. Some features or apps - including the Updater - may not function properly.', Util::humanFileSize(MemoryInfo::RECOMMENDED_MEMORY_LIMIT)));
}
}
}