UNPKG

@formatjs/intl-pluralrules

Version:
13 lines (12 loc) 474 B
/* @generated */ // prettier-ignore if (Intl.PluralRules && typeof Intl.PluralRules.__addLocaleData === 'function') { Intl.PluralRules.__addLocaleData({"data":{"categories":{"cardinal":["one","other"],"ordinal":["one","two","few","other"]},"fn":function(n, ord) { var s = String(n).split('.'), v0 = !s[1]; if (ord) return (n == 1 || n == 3) ? 'one' : n == 2 ? 'two' : n == 4 ? 'few' : 'other'; return n == 1 && v0 ? 'one' : 'other'; }},"locale":"ca"}) }