]> source.dussan.org Git - nextcloud-server.git/commitdiff
Update setupchecks.js 5355/head
authorrakekniven <mark.ziegler@rakekniven.de>
Tue, 30 May 2017 08:29:18 +0000 (10:29 +0200)
committerMorris Jobke <hey@morrisjobke.de>
Mon, 12 Jun 2017 22:18:20 +0000 (17:18 -0500)
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>
core/js/setupchecks.js
core/js/tests/specs/setupchecksSpec.js
lib/private/legacy/util.php

index 14718446a22afff88e023fb02c53b6bdb2099f07..5e8ef9e6961be00160db368ef42f5d60dcaadc1e 100644 (file)
                                                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,
                                                                }
index 9230484fb4000befe15d2124a1b63005f3d2f93e..507abd7e774c639be62477672037f84f319b4151 100644 (file)
@@ -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();
index ac6c47b189cf936ab04b036978fc128ce132577a..18ba44ac204de5b6f2c105e10e7cfeada241443c 100644 (file)
@@ -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;