From b9c27ce9802dd301e576d2e2ff43efa7c1c1a7b3 Mon Sep 17 00:00:00 2001 From: rakekniven <2069590+rakekniven@users.noreply.github.com> Date: Thu, 6 Nov 2025 18:40:34 +0100 Subject: [PATCH 1/2] fix(l10n): Fix plural Reported at Transifex Signed-off-by: rakekniven <2069590+rakekniven@users.noreply.github.com> --- apps/settings/lib/SetupChecks/TaskProcessingSuccessRate.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/apps/settings/lib/SetupChecks/TaskProcessingSuccessRate.php b/apps/settings/lib/SetupChecks/TaskProcessingSuccessRate.php index 4fc801ad8b7ef..ce80283fc72ba 100644 --- a/apps/settings/lib/SetupChecks/TaskProcessingSuccessRate.php +++ b/apps/settings/lib/SetupChecks/TaskProcessingSuccessRate.php @@ -48,7 +48,7 @@ public function run(): SetupResult { 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 @@ public function run(): SetupResult { 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 ) From 918df3cb4fd030a021865fee53e5cd1c206d975d Mon Sep 17 00:00:00 2001 From: rakekniven <2069590+rakekniven@users.noreply.github.com> Date: Thu, 6 Nov 2025 18:43:57 +0100 Subject: [PATCH 2/2] Fix pluralization in SystemTagPicker messages Signed-off-by: rakekniven <2069590+rakekniven@users.noreply.github.com> --- apps/systemtags/src/components/SystemTagPicker.vue | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/apps/systemtags/src/components/SystemTagPicker.vue b/apps/systemtags/src/components/SystemTagPicker.vue index 998600b61d8f4..897ba7d3817e1 100644 --- a/apps/systemtags/src/components/SystemTagPicker.vue +++ b/apps/systemtags/src/components/SystemTagPicker.vue @@ -281,7 +281,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, { @@ -312,7 +312,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, {