diff --git a/apps/settings/lib/SetupChecks/TaskProcessingSuccessRate.php b/apps/settings/lib/SetupChecks/TaskProcessingSuccessRate.php index 4fc801ad8b7..ce80283fc72 100644 --- a/apps/settings/lib/SetupChecks/TaskProcessingSuccessRate.php +++ b/apps/settings/lib/SetupChecks/TaskProcessingSuccessRate.php @@ -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 ) diff --git a/apps/systemtags/src/components/SystemTagPicker.vue b/apps/systemtags/src/components/SystemTagPicker.vue index 0b1e2032422..8bb01401827 100644 --- a/apps/systemtags/src/components/SystemTagPicker.vue +++ b/apps/systemtags/src/components/SystemTagPicker.vue @@ -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, {