diff --git a/apps/settings/lib/SetupChecks/TaskProcessingSuccessRate.php b/apps/settings/lib/SetupChecks/TaskProcessingSuccessRate.php index 1f12f2c6a82..73b4ad6ff5f 100644 --- a/apps/settings/lib/SetupChecks/TaskProcessingSuccessRate.php +++ b/apps/settings/lib/SetupChecks/TaskProcessingSuccessRate.php @@ -51,7 +51,7 @@ class TaskProcessingSuccessRate implements ISetupCheck { if ($taskCount === 0) { return SetupResult::success( $this->l10n->n( - 'No scheduled tasks in the last day.', + 'No scheduled tasks in the last %n day.', 'No scheduled tasks in the last %n days.', $lastNDays ) @@ -71,7 +71,7 @@ class TaskProcessingSuccessRate implements ISetupCheck { if (($failedCount / $taskCount) < self::MAX_FAILURE_PERCENTAGE) { return SetupResult::success( $this->l10n->n( - 'Most tasks were successful in the last day.', + 'Most tasks were successful in the last %n day.', 'Most tasks were successful in the last %n days.', $lastNDays )