Browse Source

adviced should be advised

Signed-off-by: Victor Goff <keeperotphones@gmail.com>
pull/16840/head
Victor Goff 6 years ago
parent
commit
2663fc442c
  1. 2
      core/js/setupchecks.js
  2. 2
      core/js/tests/specs/setupchecksSpec.js

2
core/js/setupchecks.js

@ -634,7 +634,7 @@
}
} else {
messages.push({
msg: t('core', 'Accessing site insecurely via HTTP. You are strongly adviced to set up your server to require HTTPS instead, as described in the <a href="{docUrl}">security tips ↗</a>.', {docUrl: tipsUrl}),
msg: t('core', 'Accessing site insecurely via HTTP. You are strongly advised to set up your server to require HTTPS instead, as described in the <a href="{docUrl}">security tips ↗</a>.', {docUrl: tipsUrl}),
type: OC.SetupChecks.MESSAGE_TYPE_WARNING
});
}

2
core/js/tests/specs/setupchecksSpec.js

@ -1403,7 +1403,7 @@ describe('OC.SetupChecks tests', function() {
async.done(function( data, s, x ){
expect(data).toEqual([{
msg: 'Accessing site insecurely via HTTP. You are strongly adviced to set up your server to require HTTPS instead, as described in the <a href="https://docs.example.org/admin-security">security tips ↗</a>.',
msg: 'Accessing site insecurely via HTTP. You are strongly advised to set up your server to require HTTPS instead, as described in the <a href="https://docs.example.org/admin-security">security tips ↗</a>.',
type: OC.SetupChecks.MESSAGE_TYPE_WARNING
}]);
done();

Loading…
Cancel
Save