diff options
author | rakekniven <mark.ziegler@rakekniven.de> | 2017-05-30 10:29:18 +0200 |
---|---|---|
committer | Morris Jobke <hey@morrisjobke.de> | 2017-05-31 13:41:45 +0200 |
commit | f2d999aa70a9631d70b6232ef5a030598ba0ffcc (patch) | |
tree | cd38724243ff0c8a237bbb3ea721ba164fad655b | |
parent | a0f16c69ace591f4b2c86925e1bdef45eea99ad2 (diff) | |
download | nextcloud-server-f2d999aa70a9631d70b6232ef5a030598ba0ffcc.tar.gz nextcloud-server-f2d999aa70a9631d70b6232ef5a030598ba0ffcc.zip |
Update setupchecks.js
Fixed typo and removed doclink symbol.
Reported at transifex
Update util.php
Another l10n improvement from transifex.
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
-rw-r--r-- | core/js/setupchecks.js | 2 | ||||
-rw-r--r-- | core/js/tests/specs/setupchecksSpec.js | 2 | ||||
-rw-r--r-- | lib/private/legacy/util.php | 4 |
3 files changed, 4 insertions, 4 deletions
diff --git a/core/js/setupchecks.js b/core/js/setupchecks.js index 14718446a22..5e8ef9e6961 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. <a target="_blank" rel="noreferrer" href="{docLink}">For better performance we recommend ↗</a> to use following settings in the <code>php.ini</code>:', + 'The PHP OPcache is not properly configured. <a target="_blank" rel="noreferrer" href="{docLink}">For better performance we recommend</a> to use following settings in the <code>php.ini</code>:', { docLink: data.phpOpcacheDocumentation, } diff --git a/core/js/tests/specs/setupchecksSpec.js b/core/js/tests/specs/setupchecksSpec.js index 9230484fb40..507abd7e774 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. <a href="https://example.org/link/to/doc" rel="noreferrer">For better performance we recommend ↗</a> to use following settings in the <code>php.ini</code>:' + "<pre><code>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</code></pre>", + msg: 'The PHP OPcache is not properly configured. <a href="https://example.org/link/to/doc" rel="noreferrer">For better performance we recommend</a> to use following settings in the <code>php.ini</code>:' + "<pre><code>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</code></pre>", type: OC.SetupChecks.MESSAGE_TYPE_INFO }]); done(); diff --git a/lib/private/legacy/util.php b/lib/private/legacy/util.php index ac6c47b189c..18ba44ac204 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; |