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

Signed-off-by: rakekniven <2069590+rakekniven@users.noreply.github.com>
pull/53103/head
rakekniven 2025-05-25 12:55:52 +07:00 committed by Marcel Klehr
parent beefa6f411
commit 4300c27333
1 changed files with 1 additions and 1 deletions

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