From f5a40c22192cd0fa0ccd9db8cd3505b9c1d437a6 Mon Sep 17 00:00:00 2001 From: Valdnet <47037905+Valdnet@users.noreply.github.com> Date: Tue, 21 Nov 2023 15:19:16 +0100 Subject: [PATCH 1/5] Correct spelling of Brute Force Correcting the spelling of "Bruteforce" to "Brute Force" Signed-off-by: Valdnet <47037905+Valdnet@users.noreply.github.com> --- apps/settings/lib/SetupChecks/BruteForceThrottler.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/apps/settings/lib/SetupChecks/BruteForceThrottler.php b/apps/settings/lib/SetupChecks/BruteForceThrottler.php index 3fbdf2d788af3..5090bf7b49576 100644 --- a/apps/settings/lib/SetupChecks/BruteForceThrottler.php +++ b/apps/settings/lib/SetupChecks/BruteForceThrottler.php @@ -47,7 +47,7 @@ public function getCategory(): string { } public function getName(): string { - return $this->l10n->t('Bruteforce Throttle'); + return $this->l10n->t('Brute Force Throttle'); } public function run(): SetupResult { @@ -62,12 +62,12 @@ public function run(): SetupResult { } } elseif ($this->throttler->showBruteforceWarning($address)) { return SetupResult::error( - $this->l10n->t('Your remote address was identified as "%s" and is bruteforce throttled at the moment slowing down the performance of various requests. If the remote address is not your address this can be an indication that a proxy is not configured correctly.', [$address]), + $this->l10n->t('Your remote address was identified as "%s" and is brute force throttled at the moment slowing down the performance of various requests. If the remote address is not your address this can be an indication that a proxy is not configured correctly.', [$address]), $this->urlGenerator->linkToDocs('admin-reverse-proxy') ); } else { return SetupResult::success( - $this->l10n->t('Your remote address "%s" is not bruteforce throttled.', [$address]) + $this->l10n->t('Your remote address "%s" is not brute force throttled.', [$address]) ); } } From 6475f2f8be91c3c5a08571027327f86084f72738 Mon Sep 17 00:00:00 2001 From: Valdnet <47037905+Valdnet@users.noreply.github.com> Date: Tue, 21 Nov 2023 15:32:38 +0100 Subject: [PATCH 2/5] Add quotation marks Signed-off-by: Valdnet <47037905+Valdnet@users.noreply.github.com> --- apps/settings/lib/SetupChecks/PhpDefaultCharset.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/settings/lib/SetupChecks/PhpDefaultCharset.php b/apps/settings/lib/SetupChecks/PhpDefaultCharset.php index 7b6ab54d9b3f6..5728effaa390b 100644 --- a/apps/settings/lib/SetupChecks/PhpDefaultCharset.php +++ b/apps/settings/lib/SetupChecks/PhpDefaultCharset.php @@ -47,7 +47,7 @@ public function run(): SetupResult { if (strtoupper(trim(ini_get('default_charset'))) === 'UTF-8') { return SetupResult::success('UTF-8'); } else { - return SetupResult::warning($this->l10n->t('PHP configuration option default_charset should be UTF-8')); + return SetupResult::warning($this->l10n->t('PHP configuration option "default_charset" should be UTF-8')); } } } From 519fad9206cc0f9bc407ac22196a263438c51bfe Mon Sep 17 00:00:00 2001 From: Valdnet <47037905+Valdnet@users.noreply.github.com> Date: Tue, 21 Nov 2023 15:40:01 +0100 Subject: [PATCH 3/5] Add quotation marks Signed-off-by: Valdnet <47037905+Valdnet@users.noreply.github.com> --- apps/settings/lib/SetupChecks/PhpOutputBuffering.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/apps/settings/lib/SetupChecks/PhpOutputBuffering.php b/apps/settings/lib/SetupChecks/PhpOutputBuffering.php index f8efda8d4adba..2d16d2254893f 100644 --- a/apps/settings/lib/SetupChecks/PhpOutputBuffering.php +++ b/apps/settings/lib/SetupChecks/PhpOutputBuffering.php @@ -40,7 +40,7 @@ public function getCategory(): string { } public function getName(): string { - return $this->l10n->t('PHP output_buffering option'); + return $this->l10n->t('PHP "output_buffering" option'); } public function run(): SetupResult { @@ -48,7 +48,7 @@ public function run(): SetupResult { if ($value === '' || $value === '0') { return SetupResult::success($this->l10n->t('Disabled')); } else { - return SetupResult::error($this->l10n->t('PHP configuration option output_buffering must be disabled')); + return SetupResult::error($this->l10n->t('PHP configuration option "output_buffering" must be disabled')); } } } From 94e05ea919dd703ecd392dadc99e39c2609381e3 Mon Sep 17 00:00:00 2001 From: Valdnet <47037905+Valdnet@users.noreply.github.com> Date: Tue, 21 Nov 2023 15:45:33 +0100 Subject: [PATCH 4/5] Correct a typo Signed-off-by: Valdnet <47037905+Valdnet@users.noreply.github.com> --- apps/settings/lib/SetupChecks/SupportedDatabase.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/settings/lib/SetupChecks/SupportedDatabase.php b/apps/settings/lib/SetupChecks/SupportedDatabase.php index 1a40b218031e4..7cb4820952fc0 100644 --- a/apps/settings/lib/SetupChecks/SupportedDatabase.php +++ b/apps/settings/lib/SetupChecks/SupportedDatabase.php @@ -83,7 +83,7 @@ public function run(): SetupResult { } elseif ($databasePlatform instanceof SqlitePlatform) { $version = 'Sqlite'; } else { - return SetupResult::error($this->l10n->t('Unknown database plaform')); + return SetupResult::error($this->l10n->t('Unknown database platform')); } return SetupResult::success($version); } From 0acd07c362a97b7dd4ff619a95878d35771b1304 Mon Sep 17 00:00:00 2001 From: Valdnet <47037905+Valdnet@users.noreply.github.com> Date: Wed, 22 Nov 2023 14:22:47 +0100 Subject: [PATCH 5/5] Change "brute force" to "brute-force" Signed-off-by: Valdnet <47037905+Valdnet@users.noreply.github.com> --- apps/settings/lib/SetupChecks/BruteForceThrottler.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/apps/settings/lib/SetupChecks/BruteForceThrottler.php b/apps/settings/lib/SetupChecks/BruteForceThrottler.php index 5090bf7b49576..0f46fbf119564 100644 --- a/apps/settings/lib/SetupChecks/BruteForceThrottler.php +++ b/apps/settings/lib/SetupChecks/BruteForceThrottler.php @@ -47,7 +47,7 @@ public function getCategory(): string { } public function getName(): string { - return $this->l10n->t('Brute Force Throttle'); + return $this->l10n->t('Brute-force Throttle'); } public function run(): SetupResult { @@ -62,12 +62,12 @@ public function run(): SetupResult { } } elseif ($this->throttler->showBruteforceWarning($address)) { return SetupResult::error( - $this->l10n->t('Your remote address was identified as "%s" and is brute force throttled at the moment slowing down the performance of various requests. If the remote address is not your address this can be an indication that a proxy is not configured correctly.', [$address]), + $this->l10n->t('Your remote address was identified as "%s" and is brute-force throttled at the moment slowing down the performance of various requests. If the remote address is not your address this can be an indication that a proxy is not configured correctly.', [$address]), $this->urlGenerator->linkToDocs('admin-reverse-proxy') ); } else { return SetupResult::success( - $this->l10n->t('Your remote address "%s" is not brute force throttled.', [$address]) + $this->l10n->t('Your remote address "%s" is not brute-force throttled.', [$address]) ); } }