This commit is contained in:
rakekniven 2026-02-03 19:58:05 -01:00 committed by GitHub
commit 7047fb58c6
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 4 additions and 4 deletions

View file

@ -48,7 +48,7 @@ class TaskProcessingSuccessRate implements ISetupCheck {
if ($taskCount === 0) {
return SetupResult::success(
$this->l10n->n(
'No scheduled tasks in the last day.',
'No scheduled tasks in the last %n day.',
'No scheduled tasks in the last %n days.',
$lastNDays
)
@ -68,7 +68,7 @@ class TaskProcessingSuccessRate implements ISetupCheck {
if (($failedCount / $taskCount) < self::MAX_FAILURE_PERCENTAGE) {
return SetupResult::success(
$this->l10n->n(
'Most tasks were successful in the last day.',
'Most tasks were successful in the last %n day.',
'Most tasks were successful in the last %n days.',
$lastNDays
)

View file

@ -286,7 +286,7 @@ export default defineComponent({
if (this.toAdd.length === 1 && this.toRemove.length === 1) {
return n(
'systemtags',
'{tag1} will be set and {tag2} will be removed from 1 file.',
'{tag1} will be set and {tag2} will be removed from {count} file.',
'{tag1} will be set and {tag2} will be removed from {count} files.',
this.nodes.length,
{
@ -317,7 +317,7 @@ export default defineComponent({
const removeStringSingular = n(
'systemtags',
'{tag} will be removed from 1 file.',
'{tag} will be removed from {count} file.',
'{tag} will be removed from {count} files.',
this.nodes.length,
{