aboutsummaryrefslogtreecommitdiffstats
path: root/apps/settings
diff options
context:
space:
mode:
authorAndy Scherzinger <info@andy-scherzinger.de>2023-11-22 19:27:46 +0100
committerGitHub <noreply@github.com>2023-11-22 19:27:46 +0100
commit83c6db44c73208c217574d65b474d068fdc518e3 (patch)
treee2f3c7528a3024fe193cc6375018d04baeef47a0 /apps/settings
parentca91eda240a10d72ff2d1074bae29967d2b9c0ac (diff)
parent0acd07c362a97b7dd4ff619a95878d35771b1304 (diff)
downloadnextcloud-server-83c6db44c73208c217574d65b474d068fdc518e3.tar.gz
nextcloud-server-83c6db44c73208c217574d65b474d068fdc518e3.zip
Merge pull request #41642 from nextcloud/Valdnet-patch-1
Correct spelling of Brute Force and other fixes
Diffstat (limited to 'apps/settings')
-rw-r--r--apps/settings/lib/SetupChecks/BruteForceThrottler.php6
-rw-r--r--apps/settings/lib/SetupChecks/PhpDefaultCharset.php2
-rw-r--r--apps/settings/lib/SetupChecks/PhpOutputBuffering.php4
-rw-r--r--apps/settings/lib/SetupChecks/SupportedDatabase.php2
4 files changed, 7 insertions, 7 deletions
diff --git a/apps/settings/lib/SetupChecks/BruteForceThrottler.php b/apps/settings/lib/SetupChecks/BruteForceThrottler.php
index 3fbdf2d788a..0f46fbf1195 100644
--- a/apps/settings/lib/SetupChecks/BruteForceThrottler.php
+++ b/apps/settings/lib/SetupChecks/BruteForceThrottler.php
@@ -47,7 +47,7 @@ class BruteForceThrottler implements ISetupCheck {
}
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 @@ class BruteForceThrottler implements ISetupCheck {
}
} 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])
);
}
}
diff --git a/apps/settings/lib/SetupChecks/PhpDefaultCharset.php b/apps/settings/lib/SetupChecks/PhpDefaultCharset.php
index 7b6ab54d9b3..5728effaa39 100644
--- a/apps/settings/lib/SetupChecks/PhpDefaultCharset.php
+++ b/apps/settings/lib/SetupChecks/PhpDefaultCharset.php
@@ -47,7 +47,7 @@ class PhpDefaultCharset implements ISetupCheck {
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'));
}
}
}
diff --git a/apps/settings/lib/SetupChecks/PhpOutputBuffering.php b/apps/settings/lib/SetupChecks/PhpOutputBuffering.php
index f8efda8d4ad..2d16d225489 100644
--- a/apps/settings/lib/SetupChecks/PhpOutputBuffering.php
+++ b/apps/settings/lib/SetupChecks/PhpOutputBuffering.php
@@ -40,7 +40,7 @@ class PhpOutputBuffering implements ISetupCheck {
}
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 @@ class PhpOutputBuffering implements ISetupCheck {
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'));
}
}
}
diff --git a/apps/settings/lib/SetupChecks/SupportedDatabase.php b/apps/settings/lib/SetupChecks/SupportedDatabase.php
index 1a40b218031..7cb4820952f 100644
--- a/apps/settings/lib/SetupChecks/SupportedDatabase.php
+++ b/apps/settings/lib/SetupChecks/SupportedDatabase.php
@@ -83,7 +83,7 @@ class SupportedDatabase implements ISetupCheck {
} 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);
}