Skip to content

Commit 0c740be

Browse files
committed
Removed custom plural formula for Macedonian
i18next v19.5.3 includes our fix i18next/i18next#1476 we upgraded to to 19.5.4 in #434
1 parent 093e325 commit 0c740be

File tree

1 file changed

+0
-13
lines changed

1 file changed

+0
-13
lines changed

src/i18n.js

-13
Original file line numberDiff line numberDiff line change
@@ -52,19 +52,6 @@ i18next.services.pluralResolver.addRule(
5252
return Number(n%100==1 ? 0 : n%100==2 ? 1 : n%100==3 || n%100==4 ? 2 : 3);
5353
}
5454
});
55-
i18next.services.pluralResolver.addRule(
56-
// override plural rule from
57-
// https://github.com/i18next/i18next/blob/270904f6369ee9bbda059c3186fcea7baf9eb15d/src/PluralResolver.js#L58
58-
// with the one from
59-
// https://unicode-org.github.io/cldr-staging/charts/37/supplemental/language_plural_rules.html#mk
60-
// to use plural also for 11, 111, 211, 311...
61-
'mk',
62-
{
63-
numbers: [1,2],
64-
plurals: function plurals(n) {
65-
return Number(n==1 || n%10==1 && n%100!=11 ? 0 : 1);
66-
}
67-
});
6855

6956
const i18n = new VueI18Next(i18next)
7057

0 commit comments

Comments
 (0)