Skip to content

Commit 48d9ca2

Browse files
Merge pull request #61734 from nextcloud/backport/56254/stable34
[stable34] fix(l10n): Fix plural
2 parents a53cab3 + a14c33a commit 48d9ca2

11 files changed

Lines changed: 10 additions & 10 deletions

apps/settings/lib/SetupChecks/TaskProcessingSuccessRate.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ public function run(): SetupResult {
5151
if ($taskCount === 0) {
5252
return SetupResult::success(
5353
$this->l10n->n(
54-
'No scheduled tasks in the last day.',
54+
'No scheduled tasks in the last %n day.',
5555
'No scheduled tasks in the last %n days.',
5656
$lastNDays
5757
)
@@ -71,7 +71,7 @@ public function run(): SetupResult {
7171
if (($failedCount / $taskCount) < self::MAX_FAILURE_PERCENTAGE) {
7272
return SetupResult::success(
7373
$this->l10n->n(
74-
'Most tasks were successful in the last day.',
74+
'Most tasks were successful in the last %n day.',
7575
'Most tasks were successful in the last %n days.',
7676
$lastNDays
7777
)

apps/systemtags/src/components/SystemTagPicker.vue

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -286,7 +286,7 @@ export default defineComponent({
286286
if (this.toAdd.length === 1 && this.toRemove.length === 1) {
287287
return n(
288288
'systemtags',
289-
'{tag1} will be set and {tag2} will be removed from 1 file.',
289+
'{tag1} will be set and {tag2} will be removed from {count} file.',
290290
'{tag1} will be set and {tag2} will be removed from {count} files.',
291291
this.nodes.length,
292292
{
@@ -317,7 +317,7 @@ export default defineComponent({
317317
318318
const removeStringSingular = n(
319319
'systemtags',
320-
'{tag} will be removed from 1 file.',
320+
'{tag} will be removed from {count} file.',
321321
'{tag} will be removed from {count} files.',
322322
this.nodes.length,
323323
{

dist/SystemTagPicker-B-obSRRz.chunk.mjs

Lines changed: 0 additions & 2 deletions
This file was deleted.

dist/SystemTagPicker-B-obSRRz.chunk.mjs.map

Lines changed: 0 additions & 1 deletion
This file was deleted.

0 commit comments

Comments
 (0)