From d4ed1a13fd1ef1ffc2b3e49623eb481c8772a98e Mon Sep 17 00:00:00 2001 From: =?utf8?q?C=C3=B4me=20Chilliet?= Date: Tue, 7 Feb 2023 14:30:51 +0100 Subject: [PATCH] Revert "update 64-bit check wording" MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit This reverts commit f5ad282418d27422f77fda0e0e45797899508c1b. Signed-off-by: Côme Chilliet --- core/js/setupchecks.js | 2 +- core/js/tests/specs/setupchecksSpec.js | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) 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(); -- 2.39.5