fix(l10n): Fix plural

Reported at Transifex

Signed-off-by: rakekniven <2069590+rakekniven@users.noreply.github.com>
This commit is contained in:
rakekniven 2025-11-06 18:40:34 +01:00 committed by Andy Scherzinger
parent 03bd626399
commit a5525df7eb

View file

@ -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
)