From 2b6cda99d3ddaea068816eb79e2eddabe9565c99 Mon Sep 17 00:00:00 2001
From: Valdnet <47037905+Valdnet@users.noreply.github.com>
Date: Tue, 2 Mar 2021 11:41:45 +0100
Subject: [PATCH] l10n: Correct text strings
---
core/js/setupchecks.js | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/core/js/setupchecks.js b/core/js/setupchecks.js
index 665030681f..82d8b649af 100644
--- a/core/js/setupchecks.js
+++ b/core/js/setupchecks.js
@@ -248,7 +248,7 @@
}
if (data.cronInfo.diffInSeconds > 3600) {
messages.push({
- msg: t('core', 'Last background job execution ran {relativeTime}. Something seems wrong. {linkstart}Check the background job settings ↗{linkend}', {relativeTime: data.cronInfo.relativeTime})
+ msg: t('core', 'Last background job execution ran {relativeTime}. Something seems wrong. {linkstart}Check the background job settings ↗{linkend}.', {relativeTime: data.cronInfo.relativeTime})
.replace('{linkstart}', '')
.replace('{linkend}', ''),
type: OC.SetupChecks.MESSAGE_TYPE_ERROR
@@ -331,7 +331,7 @@
});
} else if(!data.isOpcacheProperlySetup) {
messages.push({
- msg: t('core', 'The PHP OPcache is not properly configured. {linkstart}For better performance it is recommended ↗{linkend} to use the following settings in the php.ini
:')
+ msg: t('core', 'The PHP OPcache module is not properly configured. {linkstart}For better performance it is recommended ↗{linkend} to use the following settings in the php.ini
:')
.replace('{linkstart}', '')
.replace('{linkend}', '') + "
opcache.enable=1\nopcache.interned_strings_buffer=8\nopcache.max_accelerated_files=10000\nopcache.memory_consumption=128\nopcache.save_comments=1\nopcache.revalidate_freq=1
",
type: OC.SetupChecks.MESSAGE_TYPE_INFO