chore(18n): More natural english - fix plural typo

Signed-off-by: rakekniven <2069590+rakekniven@users.noreply.github.com>
pull/53108/head
rakekniven 8 months ago
parent b367ab2a6b
commit 4261c9d4fa
  1. 2
      apps/settings/lib/SetupChecks/TaskProcessingPickupSpeed.php

@ -38,7 +38,7 @@ class TaskProcessingPickupSpeed implements ISetupCheck {
$tasks = $this->taskProcessingManager->getTasks(userId: '', scheduleAfter: $this->timeFactory->now()->getTimestamp() - 60 * 60 * self::TIME_SPAN); // userId: '' means no filter, whereas null would mean guest
$taskCount = count($tasks);
if ($taskCount === 0) {
return SetupResult::success($this->l10n->n('No scheduled tasks in the last %n hours.', 'No scheduled tasks in the last %n hours.', self::TIME_SPAN));
return SetupResult::success($this->l10n->n('No scheduled tasks in the last %n hour.', 'No scheduled tasks in the last %n hours.', self::TIME_SPAN));
}
$slowCount = 0;
foreach ($tasks as $task) {

Loading…
Cancel
Save