fix(settings): adjust source maps setup check wording and log level

Co-authored-by: Ferdinand Thiessen <opensource@fthiessen.de>
Signed-off-by: John Molakvoæ <skjnldsv@users.noreply.github.com>
This commit is contained in:
John Molakvoæ 2024-03-06 14:24:36 +01:00 committed by John Molakvoæ (skjnldsv)
parent f0494e2b5a
commit a6a962d5a2
No known key found for this signature in database
GPG key ID: 60C25B8C072916CF

View file

@ -53,7 +53,7 @@ class JavaScriptSourceMaps implements ISetupCheck {
}
public function getName(): string {
return $this->l10n->t('JavaScript Source Maps support');
return $this->l10n->t('JavaScript source map support');
}
public function run(): SetupResult {
@ -63,6 +63,6 @@ class JavaScriptSourceMaps implements ISetupCheck {
return SetupResult::success();
}
return SetupResult::error($this->l10n->t('Your webserver is not set up to serve `.js.map` files. Without these files, JavaScript Source Maps won\'t function properly, making it more challenging to troubleshoot and debug any issues that may arise.'));
return SetupResult::warning($this->l10n->t('Your webserver is not set up to serve `.js.map` files. Without these files, JavaScript Source Maps won\'t function properly, making it more challenging to troubleshoot and debug any issues that may arise.'));
}
}