diff options
author | Arthur Schiwon <blizzz@arthur-schiwon.de> | 2024-01-15 21:32:41 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-01-15 21:32:41 +0100 |
commit | 631b39d65c7f7b8961d643441f19bc9188842b42 (patch) | |
tree | 902ff66226abf96c98bb098382148d9070130727 | |
parent | 400524a7c98efc999a6d042085ba1e28f56604b6 (diff) | |
parent | 3871f466e5cc6d748e656feba3f01e97aa9e5719 (diff) | |
download | nextcloud-server-631b39d65c7f7b8961d643441f19bc9188842b42.tar.gz nextcloud-server-631b39d65c7f7b8961d643441f19bc9188842b42.zip |
Merge pull request #41663 from nextcloud/rakekniven-patch-3
[stable27] fix(i18n): Changed grammar
-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(); |