fix(l10n): Fix plural

Reported at Transifex

Signed-off-by: rakekniven <2069590+rakekniven@users.noreply.github.com>
pull/56254/head
rakekniven 10 months ago committed by Andy Scherzinger
parent 03bd626399
commit a5525df7eb
  1. 4
      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
)

Loading…
Cancel
Save