UNPKG

@formatjs/intl-pluralrules

Version:
19 lines (18 loc) 642 B
/* @generated */ // prettier-ignore if (Intl.PluralRules && typeof Intl.PluralRules.__addLocaleData === 'function') { Intl.PluralRules.__addLocaleData({"data":{"categories":{"cardinal":["zero","one","two","few","many","other"],"ordinal":["zero","one","two","few","many","other"]},"fn":function(n, ord) { if (ord) return (n == 0 || n == 7 || n == 8 || n == 9) ? 'zero' : n == 1 ? 'one' : n == 2 ? 'two' : (n == 3 || n == 4) ? 'few' : (n == 5 || n == 6) ? 'many' : 'other'; return n == 0 ? 'zero' : n == 1 ? 'one' : n == 2 ? 'two' : n == 3 ? 'few' : n == 6 ? 'many' : 'other'; }},"locale":"cy"}) }