diff options
author | Morris Jobke <hey@morrisjobke.de> | 2017-06-12 16:18:54 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-06-12 16:18:54 -0500 |
commit | 69b65042858eb8436a91af511c5e77cfeefff924 (patch) | |
tree | aef6e4cb21d45010d11cb3d1cab17eafb2a49212 /core/js | |
parent | 6b3b3417753b61f61477699fa766e5d65cfa202d (diff) | |
parent | f2d999aa70a9631d70b6232ef5a030598ba0ffcc (diff) | |
download | nextcloud-server-69b65042858eb8436a91af511c5e77cfeefff924.tar.gz nextcloud-server-69b65042858eb8436a91af511c5e77cfeefff924.zip |
Merge pull request #5167 from nextcloud/rakekniven-patch-2
l10n improvements from transifex
Diffstat (limited to 'core/js')
-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 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(); |