chore(l10n): Plural needed to support multiplural languages

Reported at Transifex

Signed-off-by: rakekniven <2069590+rakekniven@users.noreply.github.com>
This commit is contained in:
rakekniven 2026-05-01 20:34:25 +02:00 committed by backportbot[bot]
parent 6f39bad9d0
commit 074d706089

View file

@ -57,7 +57,7 @@ class TaskProcessingWorkerIsRunning implements ISetupCheck {
$lastIteration = (int)$this->appConfig->getValueString('core', 'ai.taskprocessing_worker_last_iteration', lazy: true);
if ($lastIteration > $this->timeFactory->now()->getTimestamp() - (60 * self::IS_RUNNING_IN_LAST_X_MINUTES)) {
return SetupResult::success(
$this->l10n->n('The Task Processing worker has run in the last minute.', 'The Task Processing worker has run in the last %n minutes.', self::IS_RUNNING_IN_LAST_X_MINUTES)
$this->l10n->n('The Task Processing worker has run in the last %n minute.', 'The Task Processing worker has run in the last %n minutes.', self::IS_RUNNING_IN_LAST_X_MINUTES)
);
}