make-plural 7.0.0 → 7.1.0

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/examples.mjs CHANGED
@@ -6,7 +6,6 @@ const e = {"cardinal":{"one":["1"],"other":["0","2","16","100","1000","10000","1
6
6
  const f = {"cardinal":{"other":["0","15","100","1000","10000","100000","1000000","0.0","1.0","1.5","10.0","100.0","1000.0","10000.0","100000.0","1000000.0"]},"ordinal":{"other":["0","15","100","1000","10000","100000","1000000"]}};
7
7
  const g = {"cardinal":{"one":["1","1.0","1.00","1.000","1.0000"],"two":["2","2.0","2.00","2.000","2.0000"],"other":["0","3","17","100","1000","10000","100000","1000000","0.0","0.9","1.1","1.6","10.0","100.0","1000.0","10000.0","100000.0","1000000.0"]},"ordinal":{}};
8
8
 
9
- export const _in = f;
10
9
  export const af = a;
11
10
  export const ak = b;
12
11
  export const am = {"cardinal":{"one":["0","1","0.0","1.0","0.00","0.04"],"other":["2","17","100","1000","10000","100000","1000000","1.1","2.6","10.0","100.0","1000.0","10000.0","100000.0","1000000.0"]},"ordinal":{"other":["0","15","100","1000","10000","100000","1000000"]}};
@@ -17,6 +16,7 @@ export const as = {"cardinal":{"one":["0","1","0.0","1.0","0.00","0.04"],"other"
17
16
  export const asa = c;
18
17
  export const ast = {"cardinal":{"one":["1"],"other":["0","2","16","100","1000","10000","100000","1000000","0.0","1.0","1.5","10.0","100.0","1000.0","10000.0","100000.0","1000000.0"]},"ordinal":{}};
19
18
  export const az = {"cardinal":{"one":["1","1.0","1.00","1.000","1.0000"],"other":["0","2","16","100","1000","10000","100000","1000000","0.0","0.9","1.1","1.6","10.0","100.0","1000.0","10000.0","100000.0","1000000.0"]},"ordinal":{"one":["1","2","5","7","8","11","12","15","17","18","20","22","25","101","1001"],"few":["3","4","13","14","23","24","33","34","43","44","53","54","63","64","73","74","100","1003"],"many":["0","6","16","26","36","40","46","56","106","1006"],"other":["9","10","19","29","30","39","49","59","69","79","109","1000","10000","100000","1000000"]}};
19
+ export const bal = {"cardinal":{"one":["1","1.0","1.00","1.000","1.0000"],"other":["0","2","16","100","1000","10000","100000","1000000","0.0","0.9","1.1","1.6","10.0","100.0","1000.0","10000.0","100000.0","1000000.0"]},"ordinal":{"one":["1"],"other":["0","2","16","100","1000","10000","100000","1000000"]}};
20
20
  export const be = {"cardinal":{"one":["1","21","31","41","51","61","71","81","101","1001","1.0","21.0","31.0","41.0","51.0","61.0","71.0","81.0","101.0","1001.0"],"few":["2","4","22","24","32","34","42","44","52","54","62","102","1002","2.0","3.0","4.0","22.0","23.0","24.0","32.0","33.0","102.0","1002.0"],"many":["0","5","19","100","1000","10000","100000","1000000","0.0","5.0","6.0","7.0","8.0","9.0","10.0","11.0","100.0","1000.0","10000.0","100000.0","1000000.0"],"other":["0.1","0.9","1.1","1.7","10.1","100.1","1000.1"]},"ordinal":{"few":["2","3","22","23","32","33","42","43","52","53","62","63","72","73","82","83","102","1002"],"other":["0","1","4","17","100","1000","10000","100000","1000000"]}};
21
21
  export const bem = c;
22
22
  export const bez = c;
@@ -46,7 +46,7 @@ export const ee = c;
46
46
  export const el = a;
47
47
  export const en = {"cardinal":{"one":["1"],"other":["0","2","16","100","1000","10000","100000","1000000","0.0","1.0","1.5","10.0","100.0","1000.0","10000.0","100000.0","1000000.0"]},"ordinal":{"one":["1","21","31","41","51","61","71","81","101","1001"],"two":["2","22","32","42","52","62","72","82","102","1002"],"few":["3","23","33","43","53","63","73","83","103","1003"],"other":["0","4","18","100","1000","10000","100000","1000000"]}};
48
48
  export const eo = c;
49
- export const es = a;
49
+ export const es = {"cardinal":{"one":["1","1.0","1.00","1.000","1.0000"],"many":["1000000"],"other":["0","2","16","100","1000","10000","100000","0.0","0.9","1.1","1.6","10.0","100.0","1000.0","10000.0","100000.0","1000000.0"]},"ordinal":{"other":["0","15","100","1000","10000","100000","1000000"]}};
50
50
  export const et = e;
51
51
  export const eu = a;
52
52
  export const fa = {"cardinal":{"one":["0","1","0.0","1.0","0.00","0.04"],"other":["2","17","100","1000","10000","100000","1000000","1.1","2.6","10.0","100.0","1000.0","10000.0","100000.0","1000000.0"]},"ordinal":{"other":["0","15","100","1000","10000","100000","1000000"]}};
@@ -68,6 +68,7 @@ export const ha = c;
68
68
  export const haw = c;
69
69
  export const he = {"cardinal":{"one":["1"],"two":["2"],"many":["20","30","40","50","60","70","80","90","100","1000","10000","100000","1000000"],"other":["0","3","17","101","1001","0.0","1.0","1.5","10.0","100.0","1000.0","10000.0","100000.0","1000000.0"]},"ordinal":{"other":["0","15","100","1000","10000","100000","1000000"]}};
70
70
  export const hi = {"cardinal":{"one":["0","1","0.0","1.0","0.00","0.04"],"other":["2","17","100","1000","10000","100000","1000000","1.1","2.6","10.0","100.0","1000.0","10000.0","100000.0","1000000.0"]},"ordinal":{"one":["1"],"two":["2","3"],"few":["4"],"many":["6"],"other":["0","5","7","20","100","1000","10000","100000","1000000"]}};
71
+ export const hnj = d;
71
72
  export const hr = {"cardinal":{"one":["1","21","31","41","51","61","71","81","101","1001","0.1","1.1","2.1","3.1","4.1","5.1","6.1","7.1","10.1","100.1","1000.1"],"few":["2","4","22","24","32","34","42","44","52","54","62","102","1002","0.2","0.4","1.2","1.4","2.2","2.4","3.2","3.4","4.2","4.4","5.2","10.2","100.2","1000.2"],"other":["0","5","19","100","1000","10000","100000","1000000","0.0","0.5","1.0","1.5","2.0","2.5","2.7","10.0","100.0","1000.0","10000.0","100000.0","1000000.0"]},"ordinal":{"other":["0","15","100","1000","10000","100000","1000000"]}};
72
73
  export const hsb = {"cardinal":{"one":["1","101","201","301","401","501","601","701","1001","0.1","1.1","2.1","3.1","4.1","5.1","6.1","7.1","10.1","100.1","1000.1"],"two":["2","102","202","302","402","502","602","702","1002","0.2","1.2","2.2","3.2","4.2","5.2","6.2","7.2","10.2","100.2","1000.2"],"few":["3","4","103","104","203","204","303","304","403","404","503","504","603","604","703","704","1003","0.3","0.4","1.3","1.4","2.3","2.4","3.3","3.4","4.3","4.4","5.3","5.4","6.3","6.4","7.3","7.4","10.3","100.3","1000.3"],"other":["0","5","19","100","1000","10000","100000","1000000","0.0","0.5","1.0","1.5","2.0","2.5","2.7","10.0","100.0","1000.0","10000.0","100000.0","1000000.0"]},"ordinal":{"other":["0","15","100","1000","10000","100000","1000000"]}};
73
74
  export const hu = {"cardinal":{"one":["1","1.0","1.00","1.000","1.0000"],"other":["0","2","16","100","1000","10000","100000","1000000","0.0","0.9","1.1","1.6","10.0","100.0","1000.0","10000.0","100000.0","1000000.0"]},"ordinal":{"one":["1","5"],"other":["0","2","4","6","17","100","1000","10000","100000","1000000"]}};
@@ -78,13 +79,11 @@ export const ig = d;
78
79
  export const ii = d;
79
80
  export const io = {"cardinal":{"one":["1"],"other":["0","2","16","100","1000","10000","100000","1000000","0.0","1.0","1.5","10.0","100.0","1000.0","10000.0","100000.0","1000000.0"]},"ordinal":{}};
80
81
  export const is = {"cardinal":{"one":["1","21","31","41","51","61","71","81","101","1001","0.1","1.0","1.6","10.1","100.1","1000.1"],"other":["0","2","16","100","1000","10000","100000","1000000","0.0","2.0","3.0","4.0","5.0","6.0","7.0","8.0","10.0","100.0","1000.0","10000.0","100000.0","1000000.0"]},"ordinal":{"other":["0","15","100","1000","10000","100000","1000000"]}};
81
- export const it = {"cardinal":{"one":["1"],"other":["0","2","16","100","1000","10000","100000","1000000","0.0","1.0","1.5","10.0","100.0","1000.0","10000.0","100000.0","1000000.0"]},"ordinal":{"many":["8","11","80","800"],"other":["0","7","9","10","12","17","100","1000","10000","100000","1000000"]}};
82
+ export const it = {"cardinal":{"one":["1"],"many":["1000000"],"other":["0","2","16","100","1000","10000","100000","0.0","1.0","1.5","10.0","100.0","1000.0","10000.0","100000.0","1000000.0"]},"ordinal":{"many":["8","11","80","800"],"other":["0","7","9","10","12","17","100","1000","10000","100000","1000000"]}};
82
83
  export const iu = g;
83
- export const iw = {"cardinal":{"one":["1"],"two":["2"],"many":["20","30","40","50","60","70","80","90","100","1000","10000","100000","1000000"],"other":["0","3","17","101","1001","0.0","1.0","1.5","10.0","100.0","1000.0","10000.0","100000.0","1000000.0"]},"ordinal":{"other":["0","15","100","1000","10000","100000","1000000"]}};
84
84
  export const ja = f;
85
85
  export const jbo = d;
86
86
  export const jgo = c;
87
- export const ji = {"cardinal":{"one":["1"],"other":["0","2","16","100","1000","10000","100000","1000000","0.0","1.0","1.5","10.0","100.0","1000.0","10000.0","100000.0","1000000.0"]},"ordinal":{}};
88
87
  export const jmc = c;
89
88
  export const jv = d;
90
89
  export const jw = d;
@@ -150,12 +149,11 @@ export const pcm = {"cardinal":{"one":["0","1","0.0","1.0","0.00","0.04"],"other
150
149
  export const pl = {"cardinal":{"one":["1"],"few":["2","4","22","24","32","34","42","44","52","54","62","102","1002"],"many":["0","5","19","100","1000","10000","100000","1000000"],"other":["0.0","1.0","1.5","10.0","100.0","1000.0","10000.0","100000.0","1000000.0"]},"ordinal":{"other":["0","15","100","1000","10000","100000","1000000"]}};
151
150
  export const prg = {"cardinal":{"zero":["0","10","20","30","40","50","60","100","1000","10000","100000","1000000","0.0","10.0","11.0","12.0","13.0","14.0","15.0","16.0","100.0","1000.0","10000.0","100000.0","1000000.0"],"one":["1","21","31","41","51","61","71","81","101","1001","0.1","1.0","1.1","2.1","3.1","4.1","5.1","6.1","7.1","10.1","100.1","1000.1"],"other":["2","9","22","29","102","1002","0.2","0.9","1.2","1.9","10.2","100.2","1000.2"]},"ordinal":{"other":["0","15","100","1000","10000","100000","1000000"]}};
152
151
  export const ps = a;
153
- export const pt = {"cardinal":{"one":["0","1","0.0","1.0","1.5"],"other":["2","17","100","1000","10000","100000","1000000","2.0","3.5","10.0","100.0","1000.0","10000.0","100000.0","1000000.0"]},"ordinal":{"other":["0","15","100","1000","10000","100000","1000000"]}};
154
- export const pt_PT = {"cardinal":{"one":["1"],"other":["0","2","16","100","1000","10000","100000","1000000","0.0","1.0","1.5","10.0","100.0","1000.0","10000.0","100000.0","1000000.0"]},"ordinal":{}};
152
+ export const pt = {"cardinal":{"one":["0","1","0.0","1.0","1.5"],"many":["1000000"],"other":["2","17","100","1000","10000","100000","2.0","3.5","10.0","100.0","1000.0","10000.0","100000.0","1000000.0"]},"ordinal":{"other":["0","15","100","1000","10000","100000","1000000"]}};
153
+ export const pt_PT = {"cardinal":{"one":["1"],"many":["1000000"],"other":["0","2","16","100","1000","10000","100000","0.0","1.0","1.5","10.0","100.0","1000.0","10000.0","100000.0","1000000.0"]},"ordinal":{}};
155
154
  export const rm = c;
156
155
  export const ro = {"cardinal":{"one":["1"],"few":["0","2","16","102","1002","0.0","1.0","1.5","10.0","100.0","1000.0","10000.0","100000.0","1000000.0"],"other":["20","35","100","1000","10000","100000","1000000"]},"ordinal":{"one":["1"],"other":["0","2","16","100","1000","10000","100000","1000000"]}};
157
156
  export const rof = c;
158
- export const root = f;
159
157
  export const ru = {"cardinal":{"one":["1","21","31","41","51","61","71","81","101","1001"],"few":["2","4","22","24","32","34","42","44","52","54","62","102","1002"],"many":["0","5","19","100","1000","10000","100000","1000000"],"other":["0.0","1.0","1.5","10.0","100.0","1000.0","10000.0","100000.0","1000000.0"]},"ordinal":{"other":["0","15","100","1000","10000","100000","1000000"]}};
160
158
  export const rwk = c;
161
159
  export const sah = d;
@@ -200,11 +198,13 @@ export const tk = {"cardinal":{"one":["1","1.0","1.00","1.000","1.0000"],"other"
200
198
  export const tl = {"cardinal":{"one":["0","3","5","7","8","10","13","15","17","18","20","21","100","1000","10000","100000","1000000","0.0","0.3","0.5","0.7","0.8","1.0","1.3","1.5","1.7","1.8","2.0","2.1","10.0","100.0","1000.0","10000.0","100000.0","1000000.0"],"other":["4","6","9","14","16","19","24","26","104","1004","0.4","0.6","0.9","1.4","1.6","1.9","2.4","2.6","10.4","100.4","1000.4"]},"ordinal":{"one":["1"],"other":["0","2","16","100","1000","10000","100000","1000000"]}};
201
199
  export const tn = c;
202
200
  export const to = d;
201
+ export const tpi = f;
203
202
  export const tr = a;
204
203
  export const ts = c;
205
204
  export const tzm = {"cardinal":{"one":["0","1","11","24","0.0","1.0","11.0","12.0","13.0","14.0","15.0","16.0","17.0","18.0","19.0","20.0","21.0","22.0","23.0","24.0"],"other":["2","10","100","106","1000","10000","100000","1000000","0.1","0.9","1.1","1.7","10.0","100.0","1000.0","10000.0","100000.0","1000000.0"]},"ordinal":{}};
206
205
  export const ug = c;
207
206
  export const uk = {"cardinal":{"one":["1","21","31","41","51","61","71","81","101","1001"],"few":["2","4","22","24","32","34","42","44","52","54","62","102","1002"],"many":["0","5","19","100","1000","10000","100000","1000000"],"other":["0.0","1.0","1.5","10.0","100.0","1000.0","10000.0","100000.0","1000000.0"]},"ordinal":{"few":["3","23","33","43","53","63","73","83","103","1003"],"other":["0","2","4","16","100","1000","10000","100000","1000000"]}};
207
+ export const und = f;
208
208
  export const ur = e;
209
209
  export const uz = a;
210
210
  export const ve = c;
package/ordinals.d.ts CHANGED
@@ -6,6 +6,7 @@ export const an: (n: number | string) => "other";
6
6
  export const ar: (n: number | string) => "other";
7
7
  export const as: (n: number | string) => "one" | "two" | "few" | "many" | "other";
8
8
  export const az: (n: number | string) => "one" | "few" | "many" | "other";
9
+ export const bal: (n: number | string) => "one" | "other";
9
10
  export const be: (n: number | string) => "few" | "other";
10
11
  export const bg: (n: number | string) => "other";
11
12
  export const bn: (n: number | string) => "one" | "two" | "few" | "many" | "other";
@@ -40,10 +41,8 @@ export const hu: (n: number | string) => "one" | "other";
40
41
  export const hy: (n: number | string) => "one" | "other";
41
42
  export const ia: (n: number | string) => "other";
42
43
  export const id: (n: number | string) => "other";
43
- export const _in: (n: number | string) => "other";
44
44
  export const is: (n: number | string) => "other";
45
45
  export const it: (n: number | string) => "many" | "other";
46
- export const iw: (n: number | string) => "other";
47
46
  export const ja: (n: number | string) => "other";
48
47
  export const ka: (n: number | string) => "one" | "many" | "other";
49
48
  export const kk: (n: number | string) => "many" | "other";
@@ -74,7 +73,6 @@ export const prg: (n: number | string) => "other";
74
73
  export const ps: (n: number | string) => "other";
75
74
  export const pt: (n: number | string) => "other";
76
75
  export const ro: (n: number | string) => "one" | "other";
77
- export const root: (n: number | string) => "other";
78
76
  export const ru: (n: number | string) => "other";
79
77
  export const sc: (n: number | string) => "many" | "other";
80
78
  export const scn: (n: number | string) => "many" | "other";
@@ -92,8 +90,10 @@ export const te: (n: number | string) => "other";
92
90
  export const th: (n: number | string) => "other";
93
91
  export const tk: (n: number | string) => "few" | "other";
94
92
  export const tl: (n: number | string) => "one" | "other";
93
+ export const tpi: (n: number | string) => "other";
95
94
  export const tr: (n: number | string) => "other";
96
95
  export const uk: (n: number | string) => "few" | "other";
96
+ export const und: (n: number | string) => "other";
97
97
  export const ur: (n: number | string) => "other";
98
98
  export const uz: (n: number | string) => "other";
99
99
  export const vi: (n: number | string) => "one" | "other";
package/ordinals.js CHANGED
@@ -7,8 +7,6 @@ const b = (n) => n == 1 ? 'one' : 'other';
7
7
  else if (typeof exports === 'object') module.exports = plurals;
8
8
  else root.plurals = plurals;
9
9
  }(this, {
10
- _in: a,
11
-
12
10
  af: a,
13
11
 
14
12
  am: a,
@@ -31,6 +29,8 @@ az: (n) => {
31
29
  : 'other';
32
30
  },
33
31
 
32
+ bal: b,
33
+
34
34
  be: (n) => {
35
35
  const s = String(n).split('.'), t0 = Number(s[0]) == n, n10 = t0 && s[0].slice(-1), n100 = t0 && s[0].slice(-2);
36
36
  return (n10 == 2 || n10 == 3) && n100 != 12 && n100 != 13 ? 'few' : 'other';
@@ -135,8 +135,6 @@ is: a,
135
135
 
136
136
  it: (n) => (n == 11 || n == 8 || n == 80 || n == 800) ? 'many' : 'other',
137
137
 
138
- iw: a,
139
-
140
138
  ja: a,
141
139
 
142
140
  ka: (n) => {
@@ -232,8 +230,6 @@ pt: a,
232
230
 
233
231
  ro: b,
234
232
 
235
- root: a,
236
-
237
233
  ru: a,
238
234
 
239
235
  sc: (n) => (n == 11 || n == 8 || n == 80 || n == 800) ? 'many' : 'other',
@@ -279,6 +275,8 @@ tk: (n) => {
279
275
 
280
276
  tl: b,
281
277
 
278
+ tpi: a,
279
+
282
280
  tr: a,
283
281
 
284
282
  uk: (n) => {
@@ -286,6 +284,8 @@ uk: (n) => {
286
284
  return n10 == 3 && n100 != 13 ? 'few' : 'other';
287
285
  },
288
286
 
287
+ und: a,
288
+
289
289
  ur: a,
290
290
 
291
291
  uz: a,
package/ordinals.mjs CHANGED
@@ -1,7 +1,6 @@
1
1
  const a = (n) => 'other';
2
2
  const b = (n) => n == 1 ? 'one' : 'other';
3
3
 
4
- export const _in = a;
5
4
  export const af = a;
6
5
  export const am = a;
7
6
  export const an = a;
@@ -18,6 +17,7 @@ export const az = (n) => {
18
17
  : i == 0 || i10 == 6 || (i100 == 40 || i100 == 60 || i100 == 90) ? 'many'
19
18
  : 'other';
20
19
  };
20
+ export const bal = b;
21
21
  export const be = (n) => {
22
22
  const s = String(n).split('.'), t0 = Number(s[0]) == n, n10 = t0 && s[0].slice(-1), n100 = t0 && s[0].slice(-2);
23
23
  return (n10 == 2 || n10 == 3) && n100 != 12 && n100 != 13 ? 'few' : 'other';
@@ -86,7 +86,6 @@ export const ia = a;
86
86
  export const id = a;
87
87
  export const is = a;
88
88
  export const it = (n) => (n == 11 || n == 8 || n == 80 || n == 800) ? 'many' : 'other';
89
- export const iw = a;
90
89
  export const ja = a;
91
90
  export const ka = (n) => {
92
91
  const s = String(n).split('.'), i = s[0], i100 = i.slice(-2);
@@ -152,7 +151,6 @@ export const prg = a;
152
151
  export const ps = a;
153
152
  export const pt = a;
154
153
  export const ro = b;
155
- export const root = a;
156
154
  export const ru = a;
157
155
  export const sc = (n) => (n == 11 || n == 8 || n == 80 || n == 800) ? 'many' : 'other';
158
156
  export const scn = (n) => (n == 11 || n == 8 || n == 80 || n == 800) ? 'many' : 'other';
@@ -181,11 +179,13 @@ export const tk = (n) => {
181
179
  return (n10 == 6 || n10 == 9) || n == 10 ? 'few' : 'other';
182
180
  };
183
181
  export const tl = b;
182
+ export const tpi = a;
184
183
  export const tr = a;
185
184
  export const uk = (n) => {
186
185
  const s = String(n).split('.'), t0 = Number(s[0]) == n, n10 = t0 && s[0].slice(-1), n100 = t0 && s[0].slice(-2);
187
186
  return n10 == 3 && n100 != 13 ? 'few' : 'other';
188
187
  };
188
+ export const und = a;
189
189
  export const ur = a;
190
190
  export const uz = a;
191
191
  export const vi = b;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "make-plural",
3
- "version": "7.0.0",
3
+ "version": "7.1.0",
4
4
  "description": "Unicode CLDR pluralization rules as JavaScript functions",
5
5
  "keywords": [
6
6
  "unicode",
@@ -1,6 +1,5 @@
1
1
  export type PluralCategory = "zero" | "one" | "two" | "few" | "many" | "other";
2
2
 
3
- export const _in: {cardinal:["other"],ordinal:["other"]};
4
3
  export const af: {cardinal:["one","other"],ordinal:["other"]};
5
4
  export const ak: {cardinal:["one","other"],ordinal:["other"]};
6
5
  export const am: {cardinal:["one","other"],ordinal:["other"]};
@@ -11,6 +10,7 @@ export const as: {cardinal:["one","other"],ordinal:["one","two","few","many","ot
11
10
  export const asa: {cardinal:["one","other"],ordinal:["other"]};
12
11
  export const ast: {cardinal:["one","other"],ordinal:["other"]};
13
12
  export const az: {cardinal:["one","other"],ordinal:["one","few","many","other"]};
13
+ export const bal: {cardinal:["one","other"],ordinal:["one","other"]};
14
14
  export const be: {cardinal:["one","few","many","other"],ordinal:["few","other"]};
15
15
  export const bem: {cardinal:["one","other"],ordinal:["other"]};
16
16
  export const bez: {cardinal:["one","other"],ordinal:["other"]};
@@ -40,7 +40,7 @@ export const ee: {cardinal:["one","other"],ordinal:["other"]};
40
40
  export const el: {cardinal:["one","other"],ordinal:["other"]};
41
41
  export const en: {cardinal:["one","other"],ordinal:["one","two","few","other"]};
42
42
  export const eo: {cardinal:["one","other"],ordinal:["other"]};
43
- export const es: {cardinal:["one","other"],ordinal:["other"]};
43
+ export const es: {cardinal:["one","many","other"],ordinal:["other"]};
44
44
  export const et: {cardinal:["one","other"],ordinal:["other"]};
45
45
  export const eu: {cardinal:["one","other"],ordinal:["other"]};
46
46
  export const fa: {cardinal:["one","other"],ordinal:["other"]};
@@ -62,6 +62,7 @@ export const ha: {cardinal:["one","other"],ordinal:["other"]};
62
62
  export const haw: {cardinal:["one","other"],ordinal:["other"]};
63
63
  export const he: {cardinal:["one","two","many","other"],ordinal:["other"]};
64
64
  export const hi: {cardinal:["one","other"],ordinal:["one","two","few","many","other"]};
65
+ export const hnj: {cardinal:["other"],ordinal:["other"]};
65
66
  export const hr: {cardinal:["one","few","other"],ordinal:["other"]};
66
67
  export const hsb: {cardinal:["one","two","few","other"],ordinal:["other"]};
67
68
  export const hu: {cardinal:["one","other"],ordinal:["one","other"]};
@@ -72,13 +73,11 @@ export const ig: {cardinal:["other"],ordinal:["other"]};
72
73
  export const ii: {cardinal:["other"],ordinal:["other"]};
73
74
  export const io: {cardinal:["one","other"],ordinal:["other"]};
74
75
  export const is: {cardinal:["one","other"],ordinal:["other"]};
75
- export const it: {cardinal:["one","other"],ordinal:["many","other"]};
76
+ export const it: {cardinal:["one","many","other"],ordinal:["many","other"]};
76
77
  export const iu: {cardinal:["one","two","other"],ordinal:["other"]};
77
- export const iw: {cardinal:["one","two","many","other"],ordinal:["other"]};
78
78
  export const ja: {cardinal:["other"],ordinal:["other"]};
79
79
  export const jbo: {cardinal:["other"],ordinal:["other"]};
80
80
  export const jgo: {cardinal:["one","other"],ordinal:["other"]};
81
- export const ji: {cardinal:["one","other"],ordinal:["other"]};
82
81
  export const jmc: {cardinal:["one","other"],ordinal:["other"]};
83
82
  export const jv: {cardinal:["other"],ordinal:["other"]};
84
83
  export const jw: {cardinal:["other"],ordinal:["other"]};
@@ -144,12 +143,11 @@ export const pcm: {cardinal:["one","other"],ordinal:["other"]};
144
143
  export const pl: {cardinal:["one","few","many","other"],ordinal:["other"]};
145
144
  export const prg: {cardinal:["zero","one","other"],ordinal:["other"]};
146
145
  export const ps: {cardinal:["one","other"],ordinal:["other"]};
147
- export const pt: {cardinal:["one","other"],ordinal:["other"]};
148
- export const pt_PT: {cardinal:["one","other"],ordinal:["other"]};
146
+ export const pt: {cardinal:["one","many","other"],ordinal:["other"]};
147
+ export const pt_PT: {cardinal:["one","many","other"],ordinal:["other"]};
149
148
  export const rm: {cardinal:["one","other"],ordinal:["other"]};
150
149
  export const ro: {cardinal:["one","few","other"],ordinal:["one","other"]};
151
150
  export const rof: {cardinal:["one","other"],ordinal:["other"]};
152
- export const root: {cardinal:["other"],ordinal:["other"]};
153
151
  export const ru: {cardinal:["one","few","many","other"],ordinal:["other"]};
154
152
  export const rwk: {cardinal:["one","other"],ordinal:["other"]};
155
153
  export const sah: {cardinal:["other"],ordinal:["other"]};
@@ -194,11 +192,13 @@ export const tk: {cardinal:["one","other"],ordinal:["few","other"]};
194
192
  export const tl: {cardinal:["one","other"],ordinal:["one","other"]};
195
193
  export const tn: {cardinal:["one","other"],ordinal:["other"]};
196
194
  export const to: {cardinal:["other"],ordinal:["other"]};
195
+ export const tpi: {cardinal:["other"],ordinal:["other"]};
197
196
  export const tr: {cardinal:["one","other"],ordinal:["other"]};
198
197
  export const ts: {cardinal:["one","other"],ordinal:["other"]};
199
198
  export const tzm: {cardinal:["one","other"],ordinal:["other"]};
200
199
  export const ug: {cardinal:["one","other"],ordinal:["other"]};
201
200
  export const uk: {cardinal:["one","few","many","other"],ordinal:["few","other"]};
201
+ export const und: {cardinal:["other"],ordinal:["other"]};
202
202
  export const ur: {cardinal:["one","other"],ordinal:["other"]};
203
203
  export const uz: {cardinal:["one","other"],ordinal:["other"]};
204
204
  export const ve: {cardinal:["one","other"],ordinal:["other"]};
@@ -1,8 +1,8 @@
1
1
  var z = "zero", o = "one", t = "two", f = "few", m = "many", x = "other";
2
2
  var a = {cardinal:[o,x],ordinal:[x]};
3
- var b = {cardinal:[x],ordinal:[x]};
4
- var c = {cardinal:[o,f,m,x],ordinal:[x]};
5
- var d = {cardinal:[o,x],ordinal:[o,x]};
3
+ var b = {cardinal:[o,x],ordinal:[o,x]};
4
+ var c = {cardinal:[x],ordinal:[x]};
5
+ var d = {cardinal:[o,f,m,x],ordinal:[x]};
6
6
  var e = {cardinal:[o,t,x],ordinal:[x]};
7
7
 
8
8
  (function (root, pluralCategories) {
@@ -11,7 +11,6 @@ var e = {cardinal:[o,t,x],ordinal:[x]};
11
11
  else if (typeof exports === 'object') module.exports = pluralCategories;
12
12
  else root.pluralCategories = pluralCategories;
13
13
  }(this, {
14
- _in: b,
15
14
  af: a,
16
15
  ak: a,
17
16
  am: a,
@@ -22,14 +21,15 @@ as: {cardinal:[o,x],ordinal:[o,t,f,m,x]},
22
21
  asa: a,
23
22
  ast: a,
24
23
  az: {cardinal:[o,x],ordinal:[o,f,m,x]},
24
+ bal: b,
25
25
  be: {cardinal:[o,f,m,x],ordinal:[f,x]},
26
26
  bem: a,
27
27
  bez: a,
28
28
  bg: a,
29
29
  bho: a,
30
- bm: b,
30
+ bm: c,
31
31
  bn: {cardinal:[o,x],ordinal:[o,t,f,m,x]},
32
- bo: b,
32
+ bo: c,
33
33
  br: {cardinal:[o,t,f,m,x],ordinal:[x]},
34
34
  brx: a,
35
35
  bs: {cardinal:[o,f,x],ordinal:[x]},
@@ -39,25 +39,25 @@ ceb: a,
39
39
  cgg: a,
40
40
  chr: a,
41
41
  ckb: a,
42
- cs: c,
42
+ cs: d,
43
43
  cy: {cardinal:[z,o,t,f,m,x],ordinal:[z,o,t,f,m,x]},
44
44
  da: a,
45
45
  de: a,
46
46
  doi: a,
47
47
  dsb: {cardinal:[o,t,f,x],ordinal:[x]},
48
48
  dv: a,
49
- dz: b,
49
+ dz: c,
50
50
  ee: a,
51
51
  el: a,
52
52
  en: {cardinal:[o,x],ordinal:[o,t,f,x]},
53
53
  eo: a,
54
- es: a,
54
+ es: {cardinal:[o,m,x],ordinal:[x]},
55
55
  et: a,
56
56
  eu: a,
57
57
  fa: a,
58
58
  ff: a,
59
59
  fi: a,
60
- fil: d,
60
+ fil: b,
61
61
  fo: a,
62
62
  fr: {cardinal:[o,m,x],ordinal:[o,x]},
63
63
  fur: a,
@@ -73,38 +73,37 @@ ha: a,
73
73
  haw: a,
74
74
  he: {cardinal:[o,t,m,x],ordinal:[x]},
75
75
  hi: {cardinal:[o,x],ordinal:[o,t,f,m,x]},
76
+ hnj: c,
76
77
  hr: {cardinal:[o,f,x],ordinal:[x]},
77
78
  hsb: {cardinal:[o,t,f,x],ordinal:[x]},
78
- hu: d,
79
- hy: d,
79
+ hu: b,
80
+ hy: b,
80
81
  ia: a,
81
- id: b,
82
- ig: b,
83
- ii: b,
82
+ id: c,
83
+ ig: c,
84
+ ii: c,
84
85
  io: a,
85
86
  is: a,
86
- it: {cardinal:[o,x],ordinal:[m,x]},
87
+ it: {cardinal:[o,m,x],ordinal:[m,x]},
87
88
  iu: e,
88
- iw: {cardinal:[o,t,m,x],ordinal:[x]},
89
- ja: b,
90
- jbo: b,
89
+ ja: c,
90
+ jbo: c,
91
91
  jgo: a,
92
- ji: a,
93
92
  jmc: a,
94
- jv: b,
95
- jw: b,
93
+ jv: c,
94
+ jw: c,
96
95
  ka: {cardinal:[o,x],ordinal:[o,m,x]},
97
96
  kab: a,
98
97
  kaj: a,
99
98
  kcg: a,
100
- kde: b,
101
- kea: b,
99
+ kde: c,
100
+ kea: c,
102
101
  kk: {cardinal:[o,x],ordinal:[m,x]},
103
102
  kkj: a,
104
103
  kl: a,
105
- km: b,
104
+ km: c,
106
105
  kn: a,
107
- ko: b,
106
+ ko: c,
108
107
  ks: a,
109
108
  ksb: a,
110
109
  ksh: {cardinal:[z,o,x],ordinal:[x]},
@@ -115,10 +114,10 @@ lag: {cardinal:[z,o,x],ordinal:[x]},
115
114
  lb: a,
116
115
  lg: a,
117
116
  lij: {cardinal:[o,x],ordinal:[m,x]},
118
- lkt: b,
117
+ lkt: c,
119
118
  ln: a,
120
119
  lo: {cardinal:[x],ordinal:[o,x]},
121
- lt: c,
120
+ lt: d,
122
121
  lv: {cardinal:[z,o,x],ordinal:[x]},
123
122
  mas: a,
124
123
  mg: a,
@@ -129,18 +128,18 @@ mn: a,
129
128
  mo: {cardinal:[o,f,x],ordinal:[o,x]},
130
129
  mr: {cardinal:[o,x],ordinal:[o,t,f,x]},
131
130
  ms: {cardinal:[x],ordinal:[o,x]},
132
- mt: c,
133
- my: b,
131
+ mt: d,
132
+ my: c,
134
133
  nah: a,
135
134
  naq: e,
136
135
  nb: a,
137
136
  nd: a,
138
- ne: d,
137
+ ne: b,
139
138
  nl: a,
140
139
  nn: a,
141
140
  nnh: a,
142
141
  no: a,
143
- nqo: b,
142
+ nqo: c,
144
143
  nr: a,
145
144
  nso: a,
146
145
  ny: a,
@@ -148,22 +147,21 @@ nyn: a,
148
147
  om: a,
149
148
  or: {cardinal:[o,x],ordinal:[o,t,f,m,x]},
150
149
  os: a,
151
- osa: b,
150
+ osa: c,
152
151
  pa: a,
153
152
  pap: a,
154
153
  pcm: a,
155
- pl: c,
154
+ pl: d,
156
155
  prg: {cardinal:[z,o,x],ordinal:[x]},
157
156
  ps: a,
158
- pt: a,
159
- pt_PT: a,
157
+ pt: {cardinal:[o,m,x],ordinal:[x]},
158
+ pt_PT: {cardinal:[o,m,x],ordinal:[x]},
160
159
  rm: a,
161
160
  ro: {cardinal:[o,f,x],ordinal:[o,x]},
162
161
  rof: a,
163
- root: b,
164
- ru: c,
162
+ ru: d,
165
163
  rwk: a,
166
- sah: b,
164
+ sah: c,
167
165
  saq: a,
168
166
  sat: e,
169
167
  sc: {cardinal:[o,x],ordinal:[m,x]},
@@ -172,12 +170,12 @@ sd: a,
172
170
  sdh: a,
173
171
  se: e,
174
172
  seh: a,
175
- ses: b,
176
- sg: b,
173
+ ses: c,
174
+ sg: c,
177
175
  sh: {cardinal:[o,f,x],ordinal:[x]},
178
176
  shi: {cardinal:[o,f,x],ordinal:[x]},
179
177
  si: a,
180
- sk: c,
178
+ sk: d,
181
179
  sl: {cardinal:[o,t,f,x],ordinal:[x]},
182
180
  sma: e,
183
181
  smi: e,
@@ -191,25 +189,27 @@ sr: {cardinal:[o,f,x],ordinal:[x]},
191
189
  ss: a,
192
190
  ssy: a,
193
191
  st: a,
194
- su: b,
195
- sv: d,
192
+ su: c,
193
+ sv: b,
196
194
  sw: a,
197
195
  syr: a,
198
196
  ta: a,
199
197
  te: a,
200
198
  teo: a,
201
- th: b,
199
+ th: c,
202
200
  ti: a,
203
201
  tig: a,
204
202
  tk: {cardinal:[o,x],ordinal:[f,x]},
205
- tl: d,
203
+ tl: b,
206
204
  tn: a,
207
- to: b,
205
+ to: c,
206
+ tpi: c,
208
207
  tr: a,
209
208
  ts: a,
210
209
  tzm: a,
211
210
  ug: a,
212
211
  uk: {cardinal:[o,f,m,x],ordinal:[f,x]},
212
+ und: c,
213
213
  ur: a,
214
214
  uz: a,
215
215
  ve: a,
@@ -218,12 +218,12 @@ vo: a,
218
218
  vun: a,
219
219
  wa: a,
220
220
  wae: a,
221
- wo: b,
221
+ wo: c,
222
222
  xh: a,
223
223
  xog: a,
224
224
  yi: a,
225
- yo: b,
226
- yue: b,
227
- zh: b,
225
+ yo: c,
226
+ yue: c,
227
+ zh: c,
228
228
  zu: a
229
229
  }));