From a5525df7eb30298cc3448e8edc53d017dbbeb79c Mon Sep 17 00:00:00 2001 From: rakekniven <2069590+rakekniven@users.noreply.github.com> Date: Thu, 6 Nov 2025 18:40:34 +0100 Subject: [PATCH] fix(l10n): Fix plural Reported at Transifex Signed-off-by: rakekniven <2069590+rakekniven@users.noreply.github.com> --- apps/settings/lib/SetupChecks/TaskProcessingSuccessRate.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 )