Skip to content

Commit d4378cd

Browse files
rakeknivenbackportbot[bot]
authored andcommitted
fix(l10n): Fix plural form
Reported at Transifex Comment at Transifex: "In Serbian, this plural form is used for 1, 21, 31, 101... So it is wrong to have it fixed only on 1. Here is the definition of the 3 plural forms for Serbian language: Plural-Forms: nplurals=3; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && n%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2); This issue holds true for all plural original strings that are fixed to 1, not only to this one." Signed-off-by: rakekniven <[email protected]>
1 parent dfd6d3c commit d4378cd

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lib/Controller/ImportController.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -172,13 +172,13 @@ public function import(int $fileId, ?string $addressBookUri = null): DataRespons
172172

173173
if ($skipped === 0) {
174174
$message = $this->l10n->n(
175-
'Imported 1 contact',
175+
'Imported %n contact',
176176
'Imported %n contacts',
177177
count($imported),
178178
);
179179
} else {
180180
$message = $this->l10n->n(
181-
'Imported 1 contact (skipped %d)',
181+
'Imported %n contact (skipped %d)',
182182
'Imported %n contacts (skipped %d)',
183183
count($imported),
184184
[$skipped],

0 commit comments

Comments
 (0)