Merge pull request #60800 from nextcloud/backport/60027/stable34

[stable34] chore(l10n): Plural needed to support multiplural languages
This commit is contained in:
Andy Scherzinger 2026-05-28 14:40:48 +02:00 committed by GitHub
commit 60f9a616bb
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

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)
);
}