From cfe0ce3a5eb4a43c054086e54a4cea51f19fb6c8 Mon Sep 17 00:00:00 2001 From: Benjamin Gaussorgues Date: Fri, 18 Oct 2024 14:19:34 +0200 Subject: [PATCH] chore(setupchecks): update translation for MySQL row format check Signed-off-by: Benjamin Gaussorgues --- apps/settings/lib/SetupChecks/MysqlRowFormat.php | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/apps/settings/lib/SetupChecks/MysqlRowFormat.php b/apps/settings/lib/SetupChecks/MysqlRowFormat.php index c7746cded7215..da5af86b38208 100644 --- a/apps/settings/lib/SetupChecks/MysqlRowFormat.php +++ b/apps/settings/lib/SetupChecks/MysqlRowFormat.php @@ -44,10 +44,8 @@ public function run(): SetupResult { } return SetupResult::warning( - $this->l10n->n( - 'Table %s is not using ROW_FORMAT=Dynamic. This format offers the best database performances for Nextcloud. Please change the row format to Dynamic.', - 'Some tables are not using ROW_FORMAT=Dynamic. This format offers the best database performances for Nextcloud. Please change the row format to Dynamic on the following tables: %s.', - count($wrongRowFormatTables), + $this->l10n->t( + 'Incorrect row format found in your database. ROW_FORMAT=Dynamic offers the best database performances for Nextcloud. Please update row format on the following list: %s.', [implode(', ', $wrongRowFormatTables)], ), 'https://dev.mysql.com/doc/refman/en/innodb-row-format.html',