diff --git a/core/js/setupchecks.js b/core/js/setupchecks.js index 14718446a2..5e8ef9e696 100644 --- a/core/js/setupchecks.js +++ b/core/js/setupchecks.js @@ -152,7 +152,7 @@ messages.push({ msg: t( 'core', - 'The PHP Opcache is not properly configured. For better performance we recommend ↗ to use following settings in the php.ini:', + 'The PHP OPcache is not properly configured. For better performance we recommend to use following settings in the php.ini:', { docLink: data.phpOpcacheDocumentation, } diff --git a/core/js/tests/specs/setupchecksSpec.js b/core/js/tests/specs/setupchecksSpec.js index 9230484fb4..507abd7e77 100644 --- a/core/js/tests/specs/setupchecksSpec.js +++ b/core/js/tests/specs/setupchecksSpec.js @@ -433,7 +433,7 @@ describe('OC.SetupChecks tests', function() { async.done(function( data, s, x ){ expect(data).toEqual([{ - msg: 'The PHP Opcache is not properly configured. For better performance we recommend ↗ to use following settings in the php.ini:' + "
opcache.enable=1\nopcache.enable_cli=1\nopcache.interned_strings_buffer=8\nopcache.max_accelerated_files=10000\nopcache.memory_consumption=128\nopcache.save_comments=1\nopcache.revalidate_freq=1
", + msg: 'The PHP OPcache is not properly configured. For better performance we recommend to use following settings in the php.ini:' + "
opcache.enable=1\nopcache.enable_cli=1\nopcache.interned_strings_buffer=8\nopcache.max_accelerated_files=10000\nopcache.memory_consumption=128\nopcache.save_comments=1\nopcache.revalidate_freq=1
", type: OC.SetupChecks.MESSAGE_TYPE_INFO }]); done(); diff --git a/lib/private/legacy/util.php b/lib/private/legacy/util.php index ac6c47b189..18ba44ac20 100644 --- a/lib/private/legacy/util.php +++ b/lib/private/legacy/util.php @@ -997,8 +997,8 @@ class OC_Util { if (!file_exists($dataDirectory . '/.ocdata')) { $errors[] = [ 'error' => $l->t('Your data directory is invalid'), - 'hint' => $l->t('Please check that the data directory contains a file' . - ' ".ocdata" in its root.') + 'hint' => $l->t('Ensure there is a file called ".ocdata"' . + ' in the root of the data directory.') ]; } return $errors;