From: Côme Chilliet Date: Tue, 7 Feb 2023 13:30:51 +0000 (+0100) Subject: Revert "update 64-bit check wording" X-Git-Tag: v26.0.0beta3~3^2 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=refs%2Fpull%2F36587%2Fhead;p=nextcloud-server.git Revert "update 64-bit check wording" This reverts commit f5ad282418d27422f77fda0e0e45797899508c1b. Signed-off-by: Côme Chilliet --- diff --git a/core/js/setupchecks.js b/core/js/setupchecks.js index 67f8d70bd31..73896f9fc91 100644 --- a/core/js/setupchecks.js +++ b/core/js/setupchecks.js @@ -421,7 +421,7 @@ messages.push({ msg: t( 'core', - 'It seems like you are running a 32-bit PHP version. Nextcloud 26 and higher require 64-bit. Please upgrade your OS and PHP to 64-bit! For further details read {linkstart}the documentation page ↗{linkend} about this.' + 'It seems like you are running a 32-bit PHP version. Nextcloud needs 64-bit to run well. Please upgrade your OS and PHP to 64-bit! For further details read {linkstart}the documentation page ↗{linkend} about this.' .replace('{linkstart}', '') .replace('{linkend}', ''), ), diff --git a/core/js/tests/specs/setupchecksSpec.js b/core/js/tests/specs/setupchecksSpec.js index 6df1659d7d3..4532ac457b6 100644 --- a/core/js/tests/specs/setupchecksSpec.js +++ b/core/js/tests/specs/setupchecksSpec.js @@ -1234,7 +1234,7 @@ describe('OC.SetupChecks tests', function() { }); }); - + it('should return an error if imagick is not enabled', function(done) { var async = OC.SetupChecks.checkSetup(); @@ -1293,7 +1293,7 @@ describe('OC.SetupChecks tests', function() { }); }); - + it('should return an error if gmp or bcmath are not enabled', function(done) { var async = OC.SetupChecks.checkSetup(); @@ -1403,7 +1403,7 @@ describe('OC.SetupChecks tests', function() { async.done(function( data, s, x ){ expect(data).toEqual([{ - msg: 'It seems like you are running a 32-bit PHP version. Nextcloud 26 and higher require 64-bit. Please upgrade your OS and PHP to 64-bit! For further details read the documentation page ↗ about this.', + msg: 'It seems like you are running a 32-bit PHP version. Nextcloud needs 64-bit to run well. Please upgrade your OS and PHP to 64-bit! For further details read the documentation page ↗ about this.', type: OC.SetupChecks.MESSAGE_TYPE_WARNING }]); done();