FIX: Add missing pluralization rules for Bosnian (#17131)
This commit is contained in:
parent
2eeb50dfc1
commit
1022d8872c
|
@ -0,0 +1,10 @@
|
|||
MessageFormat.locale.bs = function (n) {
|
||||
if ((n % 10) == 1 && (n % 100) != 11) {
|
||||
return 'one';
|
||||
}
|
||||
if ((n % 10) >= 2 && (n % 10) <= 4 &&
|
||||
((n % 100) < 12 || (n % 100) > 14) && n == Math.floor(n)) {
|
||||
return 'few';
|
||||
}
|
||||
return 'other';
|
||||
};
|
Loading…
Reference in New Issue