mirror of
https://github.com/nextcloud/server.git
synced 2026-04-22 06:37:56 -04:00
fix(l10n): Fix one more plural
Signed-off-by: Joas Schilling <coding@schilljs.com>
This commit is contained in:
parent
c50592ecdb
commit
beefa6f411
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->t('No scheduled tasks in the last {hours} hours.', ['hours' => self::TIME_SPAN]));
|
||||
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));
|
||||
}
|
||||
$slowCount = 0;
|
||||
foreach ($tasks as $task) {
|
||||
|
|
|
|||
Loading…
Reference in a new issue