@formatjs/intl-pluralrules 1.5.0 → 1.5.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +32 -0
- package/dist/locale-data/af.js +1 -1
- package/dist/locale-data/ak.js +1 -2
- package/dist/locale-data/am.js +1 -1
- package/dist/locale-data/ar.js +7 -8
- package/dist/locale-data/as.js +6 -8
- package/dist/locale-data/asa.js +1 -1
- package/dist/locale-data/ast.js +1 -1
- package/dist/locale-data/az.js +6 -13
- package/dist/locale-data/be.js +6 -10
- package/dist/locale-data/bem.js +1 -1
- package/dist/locale-data/bez.js +1 -1
- package/dist/locale-data/bg.js +1 -1
- package/dist/locale-data/bm.js +0 -1
- package/dist/locale-data/bn.js +6 -8
- package/dist/locale-data/bo.js +0 -1
- package/dist/locale-data/br.js +6 -10
- package/dist/locale-data/brx.js +1 -1
- package/dist/locale-data/bs.js +4 -8
- package/dist/locale-data/ca.js +5 -6
- package/dist/locale-data/ce.js +1 -1
- package/dist/locale-data/ceb.js +2 -5
- package/dist/locale-data/cgg.js +1 -1
- package/dist/locale-data/chr.js +1 -1
- package/dist/locale-data/ckb.js +1 -1
- package/dist/locale-data/cs.js +4 -4
- package/dist/locale-data/cy.js +12 -15
- package/dist/locale-data/da.js +1 -2
- package/dist/locale-data/de.js +1 -1
- package/dist/locale-data/dsb.js +5 -9
- package/dist/locale-data/dz.js +0 -1
- package/dist/locale-data/ee.js +1 -1
- package/dist/locale-data/el.js +1 -1
- package/dist/locale-data/en.js +6 -7
- package/dist/locale-data/eo.js +1 -1
- package/dist/locale-data/es.js +1 -1
- package/dist/locale-data/et.js +1 -1
- package/dist/locale-data/eu.js +1 -1
- package/dist/locale-data/fa.js +1 -1
- package/dist/locale-data/ff.js +1 -1
- package/dist/locale-data/fi.js +1 -1
- package/dist/locale-data/fil.js +3 -6
- package/dist/locale-data/fo.js +1 -1
- package/dist/locale-data/fr.js +2 -2
- package/dist/locale-data/fur.js +1 -1
- package/dist/locale-data/fy.js +1 -1
- package/dist/locale-data/ga.js +6 -6
- package/dist/locale-data/gd.js +8 -14
- package/dist/locale-data/gl.js +1 -1
- package/dist/locale-data/gsw.js +1 -1
- package/dist/locale-data/gu.js +6 -7
- package/dist/locale-data/gv.js +6 -8
- package/dist/locale-data/ha.js +1 -1
- package/dist/locale-data/haw.js +1 -1
- package/dist/locale-data/he.js +5 -7
- package/dist/locale-data/hi.js +6 -7
- package/dist/locale-data/hr.js +4 -8
- package/dist/locale-data/hsb.js +5 -9
- package/dist/locale-data/hu.js +2 -3
- package/dist/locale-data/hy.js +2 -2
- package/dist/locale-data/ia.js +1 -1
- package/dist/locale-data/id.js +0 -1
- package/dist/locale-data/ig.js +0 -1
- package/dist/locale-data/ii.js +0 -1
- package/dist/locale-data/is.js +2 -4
- package/dist/locale-data/it.js +2 -3
- package/dist/locale-data/ja.js +0 -1
- package/dist/locale-data/jgo.js +1 -1
- package/dist/locale-data/jmc.js +1 -1
- package/dist/locale-data/jv.js +0 -1
- package/dist/locale-data/ka.js +4 -5
- package/dist/locale-data/kab.js +1 -1
- package/dist/locale-data/kde.js +0 -1
- package/dist/locale-data/kea.js +0 -1
- package/dist/locale-data/kk.js +3 -5
- package/dist/locale-data/kkj.js +1 -1
- package/dist/locale-data/kl.js +1 -1
- package/dist/locale-data/km.js +0 -1
- package/dist/locale-data/kn.js +1 -1
- package/dist/locale-data/ko.js +0 -1
- package/dist/locale-data/ks.js +1 -1
- package/dist/locale-data/ksb.js +1 -1
- package/dist/locale-data/ksh.js +3 -3
- package/dist/locale-data/ku.js +1 -1
- package/dist/locale-data/kw.js +10 -21
- package/dist/locale-data/ky.js +1 -1
- package/dist/locale-data/lag.js +3 -4
- package/dist/locale-data/lb.js +1 -1
- package/dist/locale-data/lg.js +1 -1
- package/dist/locale-data/lkt.js +0 -1
- package/dist/locale-data/ln.js +1 -2
- package/dist/locale-data/lo.js +1 -1
- package/dist/locale-data/lt.js +5 -8
- package/dist/locale-data/lv.js +4 -8
- package/dist/locale-data/mas.js +1 -1
- package/dist/locale-data/mg.js +1 -2
- package/dist/locale-data/mgo.js +1 -1
- package/dist/locale-data/mk.js +6 -9
- package/dist/locale-data/ml.js +1 -1
- package/dist/locale-data/mn.js +1 -1
- package/dist/locale-data/mr.js +5 -6
- package/dist/locale-data/ms.js +1 -1
- package/dist/locale-data/mt.js +5 -7
- package/dist/locale-data/my.js +0 -1
- package/dist/locale-data/naq.js +3 -3
- package/dist/locale-data/nb.js +1 -1
- package/dist/locale-data/nd.js +1 -1
- package/dist/locale-data/ne.js +2 -2
- package/dist/locale-data/nl.js +1 -1
- package/dist/locale-data/nn.js +1 -1
- package/dist/locale-data/nnh.js +1 -1
- package/dist/locale-data/nyn.js +1 -1
- package/dist/locale-data/om.js +1 -1
- package/dist/locale-data/or.js +6 -8
- package/dist/locale-data/os.js +1 -1
- package/dist/locale-data/pa.js +1 -2
- package/dist/locale-data/pl.js +5 -9
- package/dist/locale-data/prg.js +4 -8
- package/dist/locale-data/ps.js +1 -1
- package/dist/locale-data/pt.js +1 -2
- package/dist/locale-data/rm.js +1 -1
- package/dist/locale-data/ro.js +5 -7
- package/dist/locale-data/rof.js +1 -1
- package/dist/locale-data/root.js +0 -1
- package/dist/locale-data/ru.js +5 -8
- package/dist/locale-data/rwk.js +1 -1
- package/dist/locale-data/sah.js +0 -1
- package/dist/locale-data/saq.js +1 -1
- package/dist/locale-data/sd.js +1 -1
- package/dist/locale-data/se.js +3 -3
- package/dist/locale-data/seh.js +1 -1
- package/dist/locale-data/ses.js +0 -1
- package/dist/locale-data/sg.js +0 -1
- package/dist/locale-data/shi.js +3 -3
- package/dist/locale-data/si.js +1 -2
- package/dist/locale-data/sk.js +4 -4
- package/dist/locale-data/sl.js +4 -5
- package/dist/locale-data/smn.js +3 -3
- package/dist/locale-data/sn.js +1 -1
- package/dist/locale-data/so.js +1 -1
- package/dist/locale-data/sq.js +5 -6
- package/dist/locale-data/sr.js +4 -8
- package/dist/locale-data/sv.js +3 -5
- package/dist/locale-data/sw.js +1 -1
- package/dist/locale-data/ta.js +1 -1
- package/dist/locale-data/te.js +1 -1
- package/dist/locale-data/teo.js +1 -1
- package/dist/locale-data/th.js +0 -1
- package/dist/locale-data/ti.js +1 -2
- package/dist/locale-data/tk.js +3 -5
- package/dist/locale-data/to.js +0 -1
- package/dist/locale-data/tr.js +1 -1
- package/dist/locale-data/tzm.js +1 -2
- package/dist/locale-data/ug.js +1 -1
- package/dist/locale-data/uk.js +6 -10
- package/dist/locale-data/ur.js +1 -1
- package/dist/locale-data/uz.js +1 -1
- package/dist/locale-data/vi.js +1 -1
- package/dist/locale-data/vo.js +1 -1
- package/dist/locale-data/vun.js +1 -1
- package/dist/locale-data/wae.js +1 -1
- package/dist/locale-data/wo.js +0 -1
- package/dist/locale-data/xh.js +1 -1
- package/dist/locale-data/xog.js +1 -1
- package/dist/locale-data/yi.js +1 -1
- package/dist/locale-data/yo.js +0 -1
- package/dist/locale-data/yue.js +0 -1
- package/dist/locale-data/zh.js +0 -1
- package/dist/locale-data/zu.js +1 -1
- package/dist/polyfill-with-locales-for-test262.min.js +371 -511
- package/dist/polyfill-with-locales-for-test262.min.js.map +1 -1
- package/dist/umd/intl-pluralrules.js +16 -3
- package/dist/umd/intl-pluralrules.js.map +1 -1
- package/dist/umd/intl-pluralrules.min.js +1 -1
- package/dist/umd/intl-pluralrules.min.js.map +1 -1
- package/dist/umd/polyfill-with-locales.js +371 -511
- package/dist/umd/polyfill-with-locales.js.map +1 -1
- package/dist/umd/polyfill.js +16 -3
- package/dist/umd/polyfill.js.map +1 -1
- package/dist-es6/polyfill-locales.js +355 -508
- package/lib/tsdoc-metadata.json +1 -1
- package/package.json +4 -4
- package/polyfill-locales.js +355 -508
package/dist/locale-data/sk.js
CHANGED
|
@@ -4,9 +4,9 @@ if (Intl.PluralRules && typeof Intl.PluralRules.__addLocaleData === 'function')
|
|
|
4
4
|
Intl.PluralRules.__addLocaleData({"data":{"sk":{"categories":{"cardinal":["one","few","many","other"],"ordinal":["other"]},"fn":function(n, ord) {
|
|
5
5
|
var s = String(n).split('.'), i = s[0], v0 = !s[1];
|
|
6
6
|
if (ord) return 'other';
|
|
7
|
-
return
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
7
|
+
return n == 1 && v0 ? 'one'
|
|
8
|
+
: (i >= 2 && i <= 4) && v0 ? 'few'
|
|
9
|
+
: !v0 ? 'many'
|
|
10
|
+
: 'other';
|
|
11
11
|
}}},"aliases":{},"parentLocales":{},"availableLocales":["sk"]})
|
|
12
12
|
}
|
package/dist/locale-data/sl.js
CHANGED
|
@@ -4,10 +4,9 @@ if (Intl.PluralRules && typeof Intl.PluralRules.__addLocaleData === 'function')
|
|
|
4
4
|
Intl.PluralRules.__addLocaleData({"data":{"sl":{"categories":{"cardinal":["one","two","few","other"],"ordinal":["other"]},"fn":function(n, ord) {
|
|
5
5
|
var s = String(n).split('.'), i = s[0], v0 = !s[1], i100 = i.slice(-2);
|
|
6
6
|
if (ord) return 'other';
|
|
7
|
-
return
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
: 'other';
|
|
7
|
+
return v0 && i100 == 1 ? 'one'
|
|
8
|
+
: v0 && i100 == 2 ? 'two'
|
|
9
|
+
: v0 && (i100 == 3 || i100 == 4) || !v0 ? 'few'
|
|
10
|
+
: 'other';
|
|
12
11
|
}}},"aliases":{},"parentLocales":{},"availableLocales":["sl"]})
|
|
13
12
|
}
|
package/dist/locale-data/smn.js
CHANGED
|
@@ -3,8 +3,8 @@
|
|
|
3
3
|
if (Intl.PluralRules && typeof Intl.PluralRules.__addLocaleData === 'function') {
|
|
4
4
|
Intl.PluralRules.__addLocaleData({"data":{"smn":{"categories":{"cardinal":["one","two","other"],"ordinal":["other"]},"fn":function(n, ord) {
|
|
5
5
|
if (ord) return 'other';
|
|
6
|
-
return
|
|
7
|
-
|
|
8
|
-
|
|
6
|
+
return n == 1 ? 'one'
|
|
7
|
+
: n == 2 ? 'two'
|
|
8
|
+
: 'other';
|
|
9
9
|
}}},"aliases":{},"parentLocales":{},"availableLocales":["smn"]})
|
|
10
10
|
}
|
package/dist/locale-data/sn.js
CHANGED
|
@@ -3,6 +3,6 @@
|
|
|
3
3
|
if (Intl.PluralRules && typeof Intl.PluralRules.__addLocaleData === 'function') {
|
|
4
4
|
Intl.PluralRules.__addLocaleData({"data":{"sn":{"categories":{"cardinal":["one","other"],"ordinal":["other"]},"fn":function(n, ord) {
|
|
5
5
|
if (ord) return 'other';
|
|
6
|
-
return
|
|
6
|
+
return n == 1 ? 'one' : 'other';
|
|
7
7
|
}}},"aliases":{},"parentLocales":{},"availableLocales":["sn"]})
|
|
8
8
|
}
|
package/dist/locale-data/so.js
CHANGED
|
@@ -3,6 +3,6 @@
|
|
|
3
3
|
if (Intl.PluralRules && typeof Intl.PluralRules.__addLocaleData === 'function') {
|
|
4
4
|
Intl.PluralRules.__addLocaleData({"data":{"so":{"categories":{"cardinal":["one","other"],"ordinal":["other"]},"fn":function(n, ord) {
|
|
5
5
|
if (ord) return 'other';
|
|
6
|
-
return
|
|
6
|
+
return n == 1 ? 'one' : 'other';
|
|
7
7
|
}}},"aliases":{},"parentLocales":{},"availableLocales":["so"]})
|
|
8
8
|
}
|
package/dist/locale-data/sq.js
CHANGED
|
@@ -2,11 +2,10 @@
|
|
|
2
2
|
// prettier-ignore
|
|
3
3
|
if (Intl.PluralRules && typeof Intl.PluralRules.__addLocaleData === 'function') {
|
|
4
4
|
Intl.PluralRules.__addLocaleData({"data":{"sq":{"categories":{"cardinal":["one","other"],"ordinal":["one","many","other"]},"fn":function(n, ord) {
|
|
5
|
-
var s = String(n).split('.'), t0 = Number(s[0]) == n,
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
return (n == 1) ? 'one' : 'other';
|
|
5
|
+
var s = String(n).split('.'), t0 = Number(s[0]) == n, n10 = t0 && s[0].slice(-1), n100 = t0 && s[0].slice(-2);
|
|
6
|
+
if (ord) return n == 1 ? 'one'
|
|
7
|
+
: n10 == 4 && n100 != 14 ? 'many'
|
|
8
|
+
: 'other';
|
|
9
|
+
return n == 1 ? 'one' : 'other';
|
|
11
10
|
}}},"aliases":{},"parentLocales":{},"availableLocales":["sq"]})
|
|
12
11
|
}
|
package/dist/locale-data/sr.js
CHANGED
|
@@ -2,14 +2,10 @@
|
|
|
2
2
|
// prettier-ignore
|
|
3
3
|
if (Intl.PluralRules && typeof Intl.PluralRules.__addLocaleData === 'function') {
|
|
4
4
|
Intl.PluralRules.__addLocaleData({"data":{"sr":{"categories":{"cardinal":["one","few","other"],"ordinal":["other"]},"fn":function(n, ord) {
|
|
5
|
-
var s = String(n).split('.'), i = s[0], f = s[1] || '', v0 = !s[1],
|
|
6
|
-
i10 = i.slice(-1), i100 = i.slice(-2), f10 = f.slice(-1), f100 = f.slice(-2);
|
|
5
|
+
var s = String(n).split('.'), i = s[0], f = s[1] || '', v0 = !s[1], i10 = i.slice(-1), i100 = i.slice(-2), f10 = f.slice(-1), f100 = f.slice(-2);
|
|
7
6
|
if (ord) return 'other';
|
|
8
|
-
return
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|| (f10 >= 2 && f10 <= 4) && (f100 < 12
|
|
12
|
-
|| f100 > 14)) ? 'few'
|
|
13
|
-
: 'other';
|
|
7
|
+
return v0 && i10 == 1 && i100 != 11 || f10 == 1 && f100 != 11 ? 'one'
|
|
8
|
+
: v0 && (i10 >= 2 && i10 <= 4) && (i100 < 12 || i100 > 14) || (f10 >= 2 && f10 <= 4) && (f100 < 12 || f100 > 14) ? 'few'
|
|
9
|
+
: 'other';
|
|
14
10
|
}}},"aliases":{"sr-BA":"sr-Cyrl-BA","sr-ME":"sr-Latn-ME","sr-RS":"sr-Cyrl-RS","sr-XK":"sr-Cyrl-XK"},"parentLocales":{},"availableLocales":["sr"]})
|
|
15
11
|
}
|
package/dist/locale-data/sv.js
CHANGED
|
@@ -2,10 +2,8 @@
|
|
|
2
2
|
// prettier-ignore
|
|
3
3
|
if (Intl.PluralRules && typeof Intl.PluralRules.__addLocaleData === 'function') {
|
|
4
4
|
Intl.PluralRules.__addLocaleData({"data":{"sv":{"categories":{"cardinal":["one","other"],"ordinal":["one","other"]},"fn":function(n, ord) {
|
|
5
|
-
var s = String(n).split('.'), v0 = !s[1], t0 = Number(s[0]) == n,
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|| n10 == 2) && n100 != 11 && n100 != 12) ? 'one' : 'other';
|
|
9
|
-
return (n == 1 && v0) ? 'one' : 'other';
|
|
5
|
+
var s = String(n).split('.'), v0 = !s[1], t0 = Number(s[0]) == n, n10 = t0 && s[0].slice(-1), n100 = t0 && s[0].slice(-2);
|
|
6
|
+
if (ord) return (n10 == 1 || n10 == 2) && n100 != 11 && n100 != 12 ? 'one' : 'other';
|
|
7
|
+
return n == 1 && v0 ? 'one' : 'other';
|
|
10
8
|
}}},"aliases":{},"parentLocales":{},"availableLocales":["sv"]})
|
|
11
9
|
}
|
package/dist/locale-data/sw.js
CHANGED
|
@@ -4,6 +4,6 @@ if (Intl.PluralRules && typeof Intl.PluralRules.__addLocaleData === 'function')
|
|
|
4
4
|
Intl.PluralRules.__addLocaleData({"data":{"sw":{"categories":{"cardinal":["one","other"],"ordinal":["other"]},"fn":function(n, ord) {
|
|
5
5
|
var s = String(n).split('.'), v0 = !s[1];
|
|
6
6
|
if (ord) return 'other';
|
|
7
|
-
return
|
|
7
|
+
return n == 1 && v0 ? 'one' : 'other';
|
|
8
8
|
}}},"aliases":{},"parentLocales":{},"availableLocales":["sw"]})
|
|
9
9
|
}
|
package/dist/locale-data/ta.js
CHANGED
|
@@ -3,6 +3,6 @@
|
|
|
3
3
|
if (Intl.PluralRules && typeof Intl.PluralRules.__addLocaleData === 'function') {
|
|
4
4
|
Intl.PluralRules.__addLocaleData({"data":{"ta":{"categories":{"cardinal":["one","other"],"ordinal":["other"]},"fn":function(n, ord) {
|
|
5
5
|
if (ord) return 'other';
|
|
6
|
-
return
|
|
6
|
+
return n == 1 ? 'one' : 'other';
|
|
7
7
|
}}},"aliases":{},"parentLocales":{},"availableLocales":["ta"]})
|
|
8
8
|
}
|
package/dist/locale-data/te.js
CHANGED
|
@@ -3,6 +3,6 @@
|
|
|
3
3
|
if (Intl.PluralRules && typeof Intl.PluralRules.__addLocaleData === 'function') {
|
|
4
4
|
Intl.PluralRules.__addLocaleData({"data":{"te":{"categories":{"cardinal":["one","other"],"ordinal":["other"]},"fn":function(n, ord) {
|
|
5
5
|
if (ord) return 'other';
|
|
6
|
-
return
|
|
6
|
+
return n == 1 ? 'one' : 'other';
|
|
7
7
|
}}},"aliases":{},"parentLocales":{},"availableLocales":["te"]})
|
|
8
8
|
}
|
package/dist/locale-data/teo.js
CHANGED
|
@@ -3,6 +3,6 @@
|
|
|
3
3
|
if (Intl.PluralRules && typeof Intl.PluralRules.__addLocaleData === 'function') {
|
|
4
4
|
Intl.PluralRules.__addLocaleData({"data":{"teo":{"categories":{"cardinal":["one","other"],"ordinal":["other"]},"fn":function(n, ord) {
|
|
5
5
|
if (ord) return 'other';
|
|
6
|
-
return
|
|
6
|
+
return n == 1 ? 'one' : 'other';
|
|
7
7
|
}}},"aliases":{},"parentLocales":{},"availableLocales":["teo"]})
|
|
8
8
|
}
|
package/dist/locale-data/th.js
CHANGED
|
@@ -2,7 +2,6 @@
|
|
|
2
2
|
// prettier-ignore
|
|
3
3
|
if (Intl.PluralRules && typeof Intl.PluralRules.__addLocaleData === 'function') {
|
|
4
4
|
Intl.PluralRules.__addLocaleData({"data":{"th":{"categories":{"cardinal":["other"],"ordinal":["other"]},"fn":function(n, ord) {
|
|
5
|
-
if (ord) return 'other';
|
|
6
5
|
return 'other';
|
|
7
6
|
}}},"aliases":{},"parentLocales":{},"availableLocales":["th"]})
|
|
8
7
|
}
|
package/dist/locale-data/ti.js
CHANGED
|
@@ -3,7 +3,6 @@
|
|
|
3
3
|
if (Intl.PluralRules && typeof Intl.PluralRules.__addLocaleData === 'function') {
|
|
4
4
|
Intl.PluralRules.__addLocaleData({"data":{"ti":{"categories":{"cardinal":["one","other"],"ordinal":["other"]},"fn":function(n, ord) {
|
|
5
5
|
if (ord) return 'other';
|
|
6
|
-
return (
|
|
7
|
-
|| n == 1)) ? 'one' : 'other';
|
|
6
|
+
return (n == 0 || n == 1) ? 'one' : 'other';
|
|
8
7
|
}}},"aliases":{},"parentLocales":{},"availableLocales":["ti"]})
|
|
9
8
|
}
|
package/dist/locale-data/tk.js
CHANGED
|
@@ -2,10 +2,8 @@
|
|
|
2
2
|
// prettier-ignore
|
|
3
3
|
if (Intl.PluralRules && typeof Intl.PluralRules.__addLocaleData === 'function') {
|
|
4
4
|
Intl.PluralRules.__addLocaleData({"data":{"tk":{"categories":{"cardinal":["one","other"],"ordinal":["few","other"]},"fn":function(n, ord) {
|
|
5
|
-
var s = String(n).split('.'), t0 = Number(s[0]) == n,
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|| n == 10) ? 'few' : 'other';
|
|
9
|
-
return (n == 1) ? 'one' : 'other';
|
|
5
|
+
var s = String(n).split('.'), t0 = Number(s[0]) == n, n10 = t0 && s[0].slice(-1);
|
|
6
|
+
if (ord) return (n10 == 6 || n10 == 9) || n == 10 ? 'few' : 'other';
|
|
7
|
+
return n == 1 ? 'one' : 'other';
|
|
10
8
|
}}},"aliases":{},"parentLocales":{},"availableLocales":["tk"]})
|
|
11
9
|
}
|
package/dist/locale-data/to.js
CHANGED
|
@@ -2,7 +2,6 @@
|
|
|
2
2
|
// prettier-ignore
|
|
3
3
|
if (Intl.PluralRules && typeof Intl.PluralRules.__addLocaleData === 'function') {
|
|
4
4
|
Intl.PluralRules.__addLocaleData({"data":{"to":{"categories":{"cardinal":["other"],"ordinal":["other"]},"fn":function(n, ord) {
|
|
5
|
-
if (ord) return 'other';
|
|
6
5
|
return 'other';
|
|
7
6
|
}}},"aliases":{},"parentLocales":{},"availableLocales":["to"]})
|
|
8
7
|
}
|
package/dist/locale-data/tr.js
CHANGED
|
@@ -3,6 +3,6 @@
|
|
|
3
3
|
if (Intl.PluralRules && typeof Intl.PluralRules.__addLocaleData === 'function') {
|
|
4
4
|
Intl.PluralRules.__addLocaleData({"data":{"tr":{"categories":{"cardinal":["one","other"],"ordinal":["other"]},"fn":function(n, ord) {
|
|
5
5
|
if (ord) return 'other';
|
|
6
|
-
return
|
|
6
|
+
return n == 1 ? 'one' : 'other';
|
|
7
7
|
}}},"aliases":{},"parentLocales":{},"availableLocales":["tr"]})
|
|
8
8
|
}
|
package/dist/locale-data/tzm.js
CHANGED
|
@@ -4,7 +4,6 @@ if (Intl.PluralRules && typeof Intl.PluralRules.__addLocaleData === 'function')
|
|
|
4
4
|
Intl.PluralRules.__addLocaleData({"data":{"tzm":{"categories":{"cardinal":["one","other"],"ordinal":["other"]},"fn":function(n, ord) {
|
|
5
5
|
var s = String(n).split('.'), t0 = Number(s[0]) == n;
|
|
6
6
|
if (ord) return 'other';
|
|
7
|
-
return (
|
|
8
|
-
|| (t0 && n >= 11 && n <= 99)) ? 'one' : 'other';
|
|
7
|
+
return (n == 0 || n == 1) || (t0 && n >= 11 && n <= 99) ? 'one' : 'other';
|
|
9
8
|
}}},"aliases":{"tzm-Latn-MA":"tzm-MA"},"parentLocales":{},"availableLocales":["tzm"]})
|
|
10
9
|
}
|
package/dist/locale-data/ug.js
CHANGED
|
@@ -3,6 +3,6 @@
|
|
|
3
3
|
if (Intl.PluralRules && typeof Intl.PluralRules.__addLocaleData === 'function') {
|
|
4
4
|
Intl.PluralRules.__addLocaleData({"data":{"ug":{"categories":{"cardinal":["one","other"],"ordinal":["other"]},"fn":function(n, ord) {
|
|
5
5
|
if (ord) return 'other';
|
|
6
|
-
return
|
|
6
|
+
return n == 1 ? 'one' : 'other';
|
|
7
7
|
}}},"aliases":{"ug-Arab-CN":"ug-CN"},"parentLocales":{},"availableLocales":["ug"]})
|
|
8
8
|
}
|
package/dist/locale-data/uk.js
CHANGED
|
@@ -2,15 +2,11 @@
|
|
|
2
2
|
// prettier-ignore
|
|
3
3
|
if (Intl.PluralRules && typeof Intl.PluralRules.__addLocaleData === 'function') {
|
|
4
4
|
Intl.PluralRules.__addLocaleData({"data":{"uk":{"categories":{"cardinal":["one","few","many","other"],"ordinal":["few","other"]},"fn":function(n, ord) {
|
|
5
|
-
var s = String(n).split('.'), i = s[0], v0 = !s[1], t0 = Number(s[0]) == n,
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|| i100 > 14)) ? 'few'
|
|
12
|
-
: (v0 && i10 == 0 || v0 && (i10 >= 5 && i10 <= 9)
|
|
13
|
-
|| v0 && (i100 >= 11 && i100 <= 14)) ? 'many'
|
|
14
|
-
: 'other';
|
|
5
|
+
var s = String(n).split('.'), i = s[0], v0 = !s[1], t0 = Number(s[0]) == n, n10 = t0 && s[0].slice(-1), n100 = t0 && s[0].slice(-2), i10 = i.slice(-1), i100 = i.slice(-2);
|
|
6
|
+
if (ord) return n10 == 3 && n100 != 13 ? 'few' : 'other';
|
|
7
|
+
return v0 && i10 == 1 && i100 != 11 ? 'one'
|
|
8
|
+
: v0 && (i10 >= 2 && i10 <= 4) && (i100 < 12 || i100 > 14) ? 'few'
|
|
9
|
+
: v0 && i10 == 0 || v0 && (i10 >= 5 && i10 <= 9) || v0 && (i100 >= 11 && i100 <= 14) ? 'many'
|
|
10
|
+
: 'other';
|
|
15
11
|
}}},"aliases":{},"parentLocales":{},"availableLocales":["uk"]})
|
|
16
12
|
}
|
package/dist/locale-data/ur.js
CHANGED
|
@@ -4,6 +4,6 @@ if (Intl.PluralRules && typeof Intl.PluralRules.__addLocaleData === 'function')
|
|
|
4
4
|
Intl.PluralRules.__addLocaleData({"data":{"ur":{"categories":{"cardinal":["one","other"],"ordinal":["other"]},"fn":function(n, ord) {
|
|
5
5
|
var s = String(n).split('.'), v0 = !s[1];
|
|
6
6
|
if (ord) return 'other';
|
|
7
|
-
return
|
|
7
|
+
return n == 1 && v0 ? 'one' : 'other';
|
|
8
8
|
}}},"aliases":{},"parentLocales":{},"availableLocales":["ur"]})
|
|
9
9
|
}
|
package/dist/locale-data/uz.js
CHANGED
|
@@ -3,6 +3,6 @@
|
|
|
3
3
|
if (Intl.PluralRules && typeof Intl.PluralRules.__addLocaleData === 'function') {
|
|
4
4
|
Intl.PluralRules.__addLocaleData({"data":{"uz":{"categories":{"cardinal":["one","other"],"ordinal":["other"]},"fn":function(n, ord) {
|
|
5
5
|
if (ord) return 'other';
|
|
6
|
-
return
|
|
6
|
+
return n == 1 ? 'one' : 'other';
|
|
7
7
|
}}},"aliases":{"uz-AF":"uz-Arab-AF","uz-UZ":"uz-Latn-UZ"},"parentLocales":{},"availableLocales":["uz"]})
|
|
8
8
|
}
|
package/dist/locale-data/vi.js
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
// prettier-ignore
|
|
3
3
|
if (Intl.PluralRules && typeof Intl.PluralRules.__addLocaleData === 'function') {
|
|
4
4
|
Intl.PluralRules.__addLocaleData({"data":{"vi":{"categories":{"cardinal":["other"],"ordinal":["one","other"]},"fn":function(n, ord) {
|
|
5
|
-
if (ord) return
|
|
5
|
+
if (ord) return n == 1 ? 'one' : 'other';
|
|
6
6
|
return 'other';
|
|
7
7
|
}}},"aliases":{},"parentLocales":{},"availableLocales":["vi"]})
|
|
8
8
|
}
|
package/dist/locale-data/vo.js
CHANGED
|
@@ -3,6 +3,6 @@
|
|
|
3
3
|
if (Intl.PluralRules && typeof Intl.PluralRules.__addLocaleData === 'function') {
|
|
4
4
|
Intl.PluralRules.__addLocaleData({"data":{"vo":{"categories":{"cardinal":["one","other"],"ordinal":["other"]},"fn":function(n, ord) {
|
|
5
5
|
if (ord) return 'other';
|
|
6
|
-
return
|
|
6
|
+
return n == 1 ? 'one' : 'other';
|
|
7
7
|
}}},"aliases":{},"parentLocales":{},"availableLocales":["vo"]})
|
|
8
8
|
}
|
package/dist/locale-data/vun.js
CHANGED
|
@@ -3,6 +3,6 @@
|
|
|
3
3
|
if (Intl.PluralRules && typeof Intl.PluralRules.__addLocaleData === 'function') {
|
|
4
4
|
Intl.PluralRules.__addLocaleData({"data":{"vun":{"categories":{"cardinal":["one","other"],"ordinal":["other"]},"fn":function(n, ord) {
|
|
5
5
|
if (ord) return 'other';
|
|
6
|
-
return
|
|
6
|
+
return n == 1 ? 'one' : 'other';
|
|
7
7
|
}}},"aliases":{},"parentLocales":{},"availableLocales":["vun"]})
|
|
8
8
|
}
|
package/dist/locale-data/wae.js
CHANGED
|
@@ -3,6 +3,6 @@
|
|
|
3
3
|
if (Intl.PluralRules && typeof Intl.PluralRules.__addLocaleData === 'function') {
|
|
4
4
|
Intl.PluralRules.__addLocaleData({"data":{"wae":{"categories":{"cardinal":["one","other"],"ordinal":["other"]},"fn":function(n, ord) {
|
|
5
5
|
if (ord) return 'other';
|
|
6
|
-
return
|
|
6
|
+
return n == 1 ? 'one' : 'other';
|
|
7
7
|
}}},"aliases":{},"parentLocales":{},"availableLocales":["wae"]})
|
|
8
8
|
}
|
package/dist/locale-data/wo.js
CHANGED
|
@@ -2,7 +2,6 @@
|
|
|
2
2
|
// prettier-ignore
|
|
3
3
|
if (Intl.PluralRules && typeof Intl.PluralRules.__addLocaleData === 'function') {
|
|
4
4
|
Intl.PluralRules.__addLocaleData({"data":{"wo":{"categories":{"cardinal":["other"],"ordinal":["other"]},"fn":function(n, ord) {
|
|
5
|
-
if (ord) return 'other';
|
|
6
5
|
return 'other';
|
|
7
6
|
}}},"aliases":{},"parentLocales":{},"availableLocales":["wo"]})
|
|
8
7
|
}
|
package/dist/locale-data/xh.js
CHANGED
|
@@ -3,6 +3,6 @@
|
|
|
3
3
|
if (Intl.PluralRules && typeof Intl.PluralRules.__addLocaleData === 'function') {
|
|
4
4
|
Intl.PluralRules.__addLocaleData({"data":{"xh":{"categories":{"cardinal":["one","other"],"ordinal":["other"]},"fn":function(n, ord) {
|
|
5
5
|
if (ord) return 'other';
|
|
6
|
-
return
|
|
6
|
+
return n == 1 ? 'one' : 'other';
|
|
7
7
|
}}},"aliases":{},"parentLocales":{},"availableLocales":["xh"]})
|
|
8
8
|
}
|
package/dist/locale-data/xog.js
CHANGED
|
@@ -3,6 +3,6 @@
|
|
|
3
3
|
if (Intl.PluralRules && typeof Intl.PluralRules.__addLocaleData === 'function') {
|
|
4
4
|
Intl.PluralRules.__addLocaleData({"data":{"xog":{"categories":{"cardinal":["one","other"],"ordinal":["other"]},"fn":function(n, ord) {
|
|
5
5
|
if (ord) return 'other';
|
|
6
|
-
return
|
|
6
|
+
return n == 1 ? 'one' : 'other';
|
|
7
7
|
}}},"aliases":{},"parentLocales":{},"availableLocales":["xog"]})
|
|
8
8
|
}
|
package/dist/locale-data/yi.js
CHANGED
|
@@ -4,6 +4,6 @@ if (Intl.PluralRules && typeof Intl.PluralRules.__addLocaleData === 'function')
|
|
|
4
4
|
Intl.PluralRules.__addLocaleData({"data":{"yi":{"categories":{"cardinal":["one","other"],"ordinal":["other"]},"fn":function(n, ord) {
|
|
5
5
|
var s = String(n).split('.'), v0 = !s[1];
|
|
6
6
|
if (ord) return 'other';
|
|
7
|
-
return
|
|
7
|
+
return n == 1 && v0 ? 'one' : 'other';
|
|
8
8
|
}}},"aliases":{},"parentLocales":{},"availableLocales":["yi"]})
|
|
9
9
|
}
|
package/dist/locale-data/yo.js
CHANGED
|
@@ -2,7 +2,6 @@
|
|
|
2
2
|
// prettier-ignore
|
|
3
3
|
if (Intl.PluralRules && typeof Intl.PluralRules.__addLocaleData === 'function') {
|
|
4
4
|
Intl.PluralRules.__addLocaleData({"data":{"yo":{"categories":{"cardinal":["other"],"ordinal":["other"]},"fn":function(n, ord) {
|
|
5
|
-
if (ord) return 'other';
|
|
6
5
|
return 'other';
|
|
7
6
|
}}},"aliases":{},"parentLocales":{},"availableLocales":["yo"]})
|
|
8
7
|
}
|
package/dist/locale-data/yue.js
CHANGED
|
@@ -2,7 +2,6 @@
|
|
|
2
2
|
// prettier-ignore
|
|
3
3
|
if (Intl.PluralRules && typeof Intl.PluralRules.__addLocaleData === 'function') {
|
|
4
4
|
Intl.PluralRules.__addLocaleData({"data":{"yue":{"categories":{"cardinal":["other"],"ordinal":["other"]},"fn":function(n, ord) {
|
|
5
|
-
if (ord) return 'other';
|
|
6
5
|
return 'other';
|
|
7
6
|
}}},"aliases":{"yue-CN":"yue-Hans-CN","yue-HK":"yue-Hant-HK"},"parentLocales":{},"availableLocales":["yue"]})
|
|
8
7
|
}
|
package/dist/locale-data/zh.js
CHANGED
|
@@ -2,7 +2,6 @@
|
|
|
2
2
|
// prettier-ignore
|
|
3
3
|
if (Intl.PluralRules && typeof Intl.PluralRules.__addLocaleData === 'function') {
|
|
4
4
|
Intl.PluralRules.__addLocaleData({"data":{"zh":{"categories":{"cardinal":["other"],"ordinal":["other"]},"fn":function(n, ord) {
|
|
5
|
-
if (ord) return 'other';
|
|
6
5
|
return 'other';
|
|
7
6
|
}}},"aliases":{"zh-CN":"zh-Hans-CN","zh-guoyu":"zh","zh-hakka":"hak","zh-HK":"zh-Hant-HK","zh-min-nan":"nan","zh-MO":"zh-Hant-MO","zh-SG":"zh-Hans-SG","zh-TW":"zh-Hant-TW","zh-xiang":"hsn","zh-min":"nan-x-zh-min"},"parentLocales":{"zh-Hant-MO":"zh-Hant-HK"},"availableLocales":["zh"]})
|
|
8
7
|
}
|
package/dist/locale-data/zu.js
CHANGED
|
@@ -3,6 +3,6 @@
|
|
|
3
3
|
if (Intl.PluralRules && typeof Intl.PluralRules.__addLocaleData === 'function') {
|
|
4
4
|
Intl.PluralRules.__addLocaleData({"data":{"zu":{"categories":{"cardinal":["one","other"],"ordinal":["other"]},"fn":function(n, ord) {
|
|
5
5
|
if (ord) return 'other';
|
|
6
|
-
return
|
|
6
|
+
return n >= 0 && n <= 1 ? 'one' : 'other';
|
|
7
7
|
}}},"aliases":{},"parentLocales":{},"availableLocales":["zu"]})
|
|
8
8
|
}
|