FIX: use 'other' instead of 'many' for Ukrainian pluralization until translations are fixed

This commit is contained in:
Neil Lalonde
2016-12-30 11:49:22 -05:00
parent c8553315b4
commit 477b237e45
3 changed files with 5 additions and 3 deletions

View File

@ -8,7 +8,8 @@ MessageFormat.locale.uk = function (n) {
}
if ((n % 10) === 0 || ((n % 10) >= 5 && (n % 10) <= 9) ||
((n % 100) >= 11 && (n % 100) <= 14) && n == Math.floor(n)) {
return 'many';
// return 'many';
return 'other'; // TODO should be "many" but is not defined in translations
}
return 'other';
};