diff options
author | rakekniven <2069590+rakekniven@users.noreply.github.com> | 2023-11-22 14:26:38 +0100 |
---|---|---|
committer | Joas Schilling <coding@schilljs.com> | 2024-01-15 17:22:06 +0100 |
commit | 3871f466e5cc6d748e656feba3f01e97aa9e5719 (patch) | |
tree | c634819a6513ea48d1aa9bc57dc1fdcd55587505 | |
parent | baf49e395031dfa9a271998f1cf3c1a1e1029dfc (diff) | |
download | nextcloud-server-3871f466e5cc6d748e656feba3f01e97aa9e5719.tar.gz nextcloud-server-3871f466e5cc6d748e656feba3f01e97aa9e5719.zip |
fix(i18n): Changed grammar
Signed-off-by: rakekniven <2069590+rakekniven@users.noreply.github.com>
-rw-r--r-- | core/js/setupchecks.js | 2 | ||||
-rw-r--r-- | core/js/tests/specs/setupchecksSpec.js | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/core/js/setupchecks.js b/core/js/setupchecks.js index eb5a20c5966..3a836cd78c6 100644 --- a/core/js/setupchecks.js +++ b/core/js/setupchecks.js @@ -217,7 +217,7 @@ } if (data.isBruteforceThrottled) { messages.push({ - msg: t('core', 'Your remote address was identified as "{remoteAddress}" 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. Further information can be found in the {linkstart}documentation ↗{linkend}.', { remoteAddress: data.bruteforceRemoteAddress }) + msg: t('core', 'Your remote address was identified as "{remoteAddress}" 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. Further information can be found in the {linkstart}documentation ↗{linkend}.', { remoteAddress: data.bruteforceRemoteAddress }) .replace('{linkstart}', '<a target="_blank" rel="noreferrer noopener" class="external" href="' + data.reverseProxyDocs + '">') .replace('{linkend}', '</a>'), type: OC.SetupChecks.MESSAGE_TYPE_ERROR diff --git a/core/js/tests/specs/setupchecksSpec.js b/core/js/tests/specs/setupchecksSpec.js index 163a21c46a7..9cbbb9111ef 100644 --- a/core/js/tests/specs/setupchecksSpec.js +++ b/core/js/tests/specs/setupchecksSpec.js @@ -868,7 +868,7 @@ describe('OC.SetupChecks tests', function() { async.done(function( data, s, x ){ expect(data).toEqual([{ - msg: 'Your remote address was identified as "::1" 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. Further information can be found in the <a target="_blank" rel="noreferrer noopener" class="external" href="https://docs.nextcloud.com/foo/bar.html">documentation ↗</a>.', + msg: 'Your remote address was identified as "::1" 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. Further information can be found in the <a target="_blank" rel="noreferrer noopener" class="external" href="https://docs.nextcloud.com/foo/bar.html">documentation ↗</a>.', type: OC.SetupChecks.MESSAGE_TYPE_ERROR }]); done(); |