make-plural 7.3.0 → 7.5.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/cardinals.d.ts CHANGED
@@ -16,6 +16,7 @@ export const bem: (n: number | string) => "one" | "other";
16
16
  export const bez: (n: number | string) => "one" | "other";
17
17
  export const bg: (n: number | string) => "one" | "other";
18
18
  export const bho: (n: number | string) => "one" | "other";
19
+ export const blo: (n: number | string) => "zero" | "one" | "other";
19
20
  export const bm: (n: number | string) => "other";
20
21
  export const bn: (n: number | string) => "one" | "other";
21
22
  export const bo: (n: number | string) => "other";
@@ -29,6 +30,8 @@ export const cgg: (n: number | string) => "one" | "other";
29
30
  export const chr: (n: number | string) => "one" | "other";
30
31
  export const ckb: (n: number | string) => "one" | "other";
31
32
  export const cs: (n: number | string) => "one" | "few" | "many" | "other";
33
+ export const csw: (n: number | string) => "one" | "other";
34
+ export const cv: (n: number | string) => "zero" | "one" | "other";
32
35
  export const cy: (n: number | string) => "zero" | "one" | "two" | "few" | "many" | "other";
33
36
  export const da: (n: number | string) => "one" | "other";
34
37
  export const de: (n: number | string) => "one" | "other";
@@ -69,6 +72,7 @@ export const hu: (n: number | string) => "one" | "other";
69
72
  export const hy: (n: number | string) => "one" | "other";
70
73
  export const ia: (n: number | string) => "one" | "other";
71
74
  export const id: (n: number | string) => "other";
75
+ export const ie: (n: number | string) => "one" | "other";
72
76
  export const ig: (n: number | string) => "other";
73
77
  export const ii: (n: number | string) => "other";
74
78
  export const io: (n: number | string) => "one" | "other";
@@ -93,6 +97,8 @@ export const kl: (n: number | string) => "one" | "other";
93
97
  export const km: (n: number | string) => "other";
94
98
  export const kn: (n: number | string) => "one" | "other";
95
99
  export const ko: (n: number | string) => "other";
100
+ export const kok: (n: number | string) => "one" | "other";
101
+ export const kok_Latn: (n: number | string) => "one" | "other";
96
102
  export const ks: (n: number | string) => "one" | "other";
97
103
  export const ksb: (n: number | string) => "one" | "other";
98
104
  export const ksh: (n: number | string) => "zero" | "one" | "other";
@@ -104,6 +110,7 @@ export const lb: (n: number | string) => "one" | "other";
104
110
  export const lg: (n: number | string) => "one" | "other";
105
111
  export const lij: (n: number | string) => "one" | "other";
106
112
  export const lkt: (n: number | string) => "other";
113
+ export const lld: (n: number | string) => "one" | "many" | "other";
107
114
  export const ln: (n: number | string) => "one" | "other";
108
115
  export const lo: (n: number | string) => "other";
109
116
  export const lt: (n: number | string) => "one" | "few" | "many" | "other";
@@ -154,13 +161,14 @@ export const sah: (n: number | string) => "other";
154
161
  export const saq: (n: number | string) => "one" | "other";
155
162
  export const sat: (n: number | string) => "one" | "two" | "other";
156
163
  export const sc: (n: number | string) => "one" | "other";
157
- export const scn: (n: number | string) => "one" | "other";
164
+ export const scn: (n: number | string) => "one" | "many" | "other";
158
165
  export const sd: (n: number | string) => "one" | "other";
159
166
  export const sdh: (n: number | string) => "one" | "other";
160
167
  export const se: (n: number | string) => "one" | "two" | "other";
161
168
  export const seh: (n: number | string) => "one" | "other";
162
169
  export const ses: (n: number | string) => "other";
163
170
  export const sg: (n: number | string) => "other";
171
+ export const sgs: (n: number | string) => "one" | "two" | "few" | "many" | "other";
164
172
  export const sh: (n: number | string) => "one" | "few" | "other";
165
173
  export const shi: (n: number | string) => "one" | "few" | "other";
166
174
  export const si: (n: number | string) => "one" | "other";
package/cardinals.js CHANGED
@@ -6,7 +6,13 @@ const d = (n) => {
6
6
  return n == 1 && v0 ? 'one' : 'other';
7
7
  };
8
8
  const e = (n) => 'other';
9
- const f = (n) => n == 1 ? 'one'
9
+ const f = (n) => {
10
+ const s = String(n).split('.'), i = s[0], v0 = !s[1], i1000000 = i.slice(-6);
11
+ return n == 1 && v0 ? 'one'
12
+ : i != 0 && i1000000 == 0 && v0 ? 'many'
13
+ : 'other';
14
+ };
15
+ const g = (n) => n == 1 ? 'one'
10
16
  : n == 2 ? 'two'
11
17
  : 'other';
12
18
 
@@ -70,6 +76,10 @@ bg: a,
70
76
 
71
77
  bho: b,
72
78
 
79
+ blo: (n) => n == 0 ? 'zero'
80
+ : n == 1 ? 'one'
81
+ : 'other',
82
+
73
83
  bm: e,
74
84
 
75
85
  bn: c,
@@ -94,12 +104,7 @@ bs: (n) => {
94
104
  : 'other';
95
105
  },
96
106
 
97
- ca: (n) => {
98
- const s = String(n).split('.'), i = s[0], v0 = !s[1], i1000000 = i.slice(-6);
99
- return n == 1 && v0 ? 'one'
100
- : i != 0 && i1000000 == 0 && v0 ? 'many'
101
- : 'other';
102
- },
107
+ ca: f,
103
108
 
104
109
  ce: a,
105
110
 
@@ -122,6 +127,12 @@ cs: (n) => {
122
127
  : 'other';
123
128
  },
124
129
 
130
+ csw: b,
131
+
132
+ cv: (n) => n == 0 ? 'zero'
133
+ : n == 1 ? 'one'
134
+ : 'other',
135
+
125
136
  cy: (n) => n == 0 ? 'zero'
126
137
  : n == 1 ? 'one'
127
138
  : n == 2 ? 'two'
@@ -265,6 +276,8 @@ ia: d,
265
276
 
266
277
  id: e,
267
278
 
279
+ ie: d,
280
+
268
281
  ig: e,
269
282
 
270
283
  ii: e,
@@ -276,14 +289,9 @@ is: (n) => {
276
289
  return t0 && i10 == 1 && i100 != 11 || t % 10 == 1 && t % 100 != 11 ? 'one' : 'other';
277
290
  },
278
291
 
279
- it: (n) => {
280
- const s = String(n).split('.'), i = s[0], v0 = !s[1], i1000000 = i.slice(-6);
281
- return n == 1 && v0 ? 'one'
282
- : i != 0 && i1000000 == 0 && v0 ? 'many'
283
- : 'other';
284
- },
292
+ it: f,
285
293
 
286
- iu: f,
294
+ iu: g,
287
295
 
288
296
  ja: e,
289
297
 
@@ -321,6 +329,10 @@ kn: c,
321
329
 
322
330
  ko: e,
323
331
 
332
+ kok: c,
333
+
334
+ kok_Latn: c,
335
+
324
336
  ks: a,
325
337
 
326
338
  ksb: a,
@@ -358,6 +370,8 @@ lij: d,
358
370
 
359
371
  lkt: e,
360
372
 
373
+ lld: f,
374
+
361
375
  ln: b,
362
376
 
363
377
  lo: e,
@@ -416,7 +430,7 @@ my: e,
416
430
 
417
431
  nah: a,
418
432
 
419
- naq: f,
433
+ naq: g,
420
434
 
421
435
  nb: a,
422
436
 
@@ -480,12 +494,7 @@ pt: (n) => {
480
494
  : 'other';
481
495
  },
482
496
 
483
- pt_PT: (n) => {
484
- const s = String(n).split('.'), i = s[0], v0 = !s[1], i1000000 = i.slice(-6);
485
- return n == 1 && v0 ? 'one'
486
- : i != 0 && i1000000 == 0 && v0 ? 'many'
487
- : 'other';
488
- },
497
+ pt_PT: f,
489
498
 
490
499
  rm: a,
491
500
 
@@ -512,17 +521,17 @@ sah: e,
512
521
 
513
522
  saq: a,
514
523
 
515
- sat: f,
524
+ sat: g,
516
525
 
517
526
  sc: d,
518
527
 
519
- scn: d,
528
+ scn: f,
520
529
 
521
530
  sd: a,
522
531
 
523
532
  sdh: a,
524
533
 
525
- se: f,
534
+ se: g,
526
535
 
527
536
  seh: a,
528
537
 
@@ -530,6 +539,15 @@ ses: e,
530
539
 
531
540
  sg: e,
532
541
 
542
+ sgs: (n) => {
543
+ const s = String(n).split('.'), f = s[1] || '', t0 = Number(s[0]) == n, n10 = t0 && s[0].slice(-1), n100 = t0 && s[0].slice(-2);
544
+ return n10 == 1 && n100 != 11 ? 'one'
545
+ : n == 2 ? 'two'
546
+ : n != 2 && (n10 >= 2 && n10 <= 9) && (n100 < 11 || n100 > 19) ? 'few'
547
+ : f != 0 ? 'many'
548
+ : 'other';
549
+ },
550
+
533
551
  sh: (n) => {
534
552
  const 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);
535
553
  return v0 && i10 == 1 && i100 != 11 || f10 == 1 && f100 != 11 ? 'one'
@@ -565,15 +583,15 @@ sl: (n) => {
565
583
  : 'other';
566
584
  },
567
585
 
568
- sma: f,
586
+ sma: g,
569
587
 
570
- smi: f,
588
+ smi: g,
571
589
 
572
- smj: f,
590
+ smj: g,
573
591
 
574
- smn: f,
592
+ smn: g,
575
593
 
576
- sms: f,
594
+ sms: g,
577
595
 
578
596
  sn: a,
579
597
 
@@ -654,12 +672,7 @@ uz: a,
654
672
 
655
673
  ve: a,
656
674
 
657
- vec: (n) => {
658
- const s = String(n).split('.'), i = s[0], v0 = !s[1], i1000000 = i.slice(-6);
659
- return n == 1 && v0 ? 'one'
660
- : i != 0 && i1000000 == 0 && v0 ? 'many'
661
- : 'other';
662
- },
675
+ vec: f,
663
676
 
664
677
  vi: e,
665
678
 
package/cardinals.mjs CHANGED
@@ -6,7 +6,13 @@ const d = (n) => {
6
6
  return n == 1 && v0 ? 'one' : 'other';
7
7
  };
8
8
  const e = (n) => 'other';
9
- const f = (n) => n == 1 ? 'one'
9
+ const f = (n) => {
10
+ const s = String(n).split('.'), i = s[0], v0 = !s[1], i1000000 = i.slice(-6);
11
+ return n == 1 && v0 ? 'one'
12
+ : i != 0 && i1000000 == 0 && v0 ? 'many'
13
+ : 'other';
14
+ };
15
+ const g = (n) => n == 1 ? 'one'
10
16
  : n == 2 ? 'two'
11
17
  : 'other';
12
18
 
@@ -48,6 +54,9 @@ export const bem = a;
48
54
  export const bez = a;
49
55
  export const bg = a;
50
56
  export const bho = b;
57
+ export const blo = (n) => n == 0 ? 'zero'
58
+ : n == 1 ? 'one'
59
+ : 'other';
51
60
  export const bm = e;
52
61
  export const bn = c;
53
62
  export const bo = e;
@@ -66,12 +75,7 @@ export const bs = (n) => {
66
75
  : v0 && (i10 >= 2 && i10 <= 4) && (i100 < 12 || i100 > 14) || (f10 >= 2 && f10 <= 4) && (f100 < 12 || f100 > 14) ? 'few'
67
76
  : 'other';
68
77
  };
69
- export const ca = (n) => {
70
- const s = String(n).split('.'), i = s[0], v0 = !s[1], i1000000 = i.slice(-6);
71
- return n == 1 && v0 ? 'one'
72
- : i != 0 && i1000000 == 0 && v0 ? 'many'
73
- : 'other';
74
- };
78
+ export const ca = f;
75
79
  export const ce = a;
76
80
  export const ceb = (n) => {
77
81
  const s = String(n).split('.'), i = s[0], f = s[1] || '', v0 = !s[1], i10 = i.slice(-1), f10 = f.slice(-1);
@@ -87,6 +91,10 @@ export const cs = (n) => {
87
91
  : !v0 ? 'many'
88
92
  : 'other';
89
93
  };
94
+ export const csw = b;
95
+ export const cv = (n) => n == 0 ? 'zero'
96
+ : n == 1 ? 'one'
97
+ : 'other';
90
98
  export const cy = (n) => n == 0 ? 'zero'
91
99
  : n == 1 ? 'one'
92
100
  : n == 2 ? 'two'
@@ -190,6 +198,7 @@ export const hu = a;
190
198
  export const hy = (n) => n >= 0 && n < 2 ? 'one' : 'other';
191
199
  export const ia = d;
192
200
  export const id = e;
201
+ export const ie = d;
193
202
  export const ig = e;
194
203
  export const ii = e;
195
204
  export const io = d;
@@ -197,13 +206,8 @@ export const is = (n) => {
197
206
  const s = String(n).split('.'), i = s[0], t = (s[1] || '').replace(/0+$/, ''), t0 = Number(s[0]) == n, i10 = i.slice(-1), i100 = i.slice(-2);
198
207
  return t0 && i10 == 1 && i100 != 11 || t % 10 == 1 && t % 100 != 11 ? 'one' : 'other';
199
208
  };
200
- export const it = (n) => {
201
- const s = String(n).split('.'), i = s[0], v0 = !s[1], i1000000 = i.slice(-6);
202
- return n == 1 && v0 ? 'one'
203
- : i != 0 && i1000000 == 0 && v0 ? 'many'
204
- : 'other';
205
- };
206
- export const iu = f;
209
+ export const it = f;
210
+ export const iu = g;
207
211
  export const ja = e;
208
212
  export const jbo = e;
209
213
  export const jgo = a;
@@ -222,6 +226,8 @@ export const kl = a;
222
226
  export const km = e;
223
227
  export const kn = c;
224
228
  export const ko = e;
229
+ export const kok = c;
230
+ export const kok_Latn = c;
225
231
  export const ks = a;
226
232
  export const ksb = a;
227
233
  export const ksh = (n) => n == 0 ? 'zero'
@@ -248,6 +254,7 @@ export const lb = a;
248
254
  export const lg = a;
249
255
  export const lij = d;
250
256
  export const lkt = e;
257
+ export const lld = f;
251
258
  export const ln = b;
252
259
  export const lo = e;
253
260
  export const lt = (n) => {
@@ -290,7 +297,7 @@ export const mt = (n) => {
290
297
  };
291
298
  export const my = e;
292
299
  export const nah = a;
293
- export const naq = f;
300
+ export const naq = g;
294
301
  export const nb = a;
295
302
  export const nd = a;
296
303
  export const ne = a;
@@ -330,12 +337,7 @@ export const pt = (n) => {
330
337
  : i != 0 && i1000000 == 0 && v0 ? 'many'
331
338
  : 'other';
332
339
  };
333
- export const pt_PT = (n) => {
334
- const s = String(n).split('.'), i = s[0], v0 = !s[1], i1000000 = i.slice(-6);
335
- return n == 1 && v0 ? 'one'
336
- : i != 0 && i1000000 == 0 && v0 ? 'many'
337
- : 'other';
338
- };
340
+ export const pt_PT = f;
339
341
  export const rm = a;
340
342
  export const ro = (n) => {
341
343
  const s = String(n).split('.'), v0 = !s[1], t0 = Number(s[0]) == n, n100 = t0 && s[0].slice(-2);
@@ -354,15 +356,23 @@ export const ru = (n) => {
354
356
  export const rwk = a;
355
357
  export const sah = e;
356
358
  export const saq = a;
357
- export const sat = f;
359
+ export const sat = g;
358
360
  export const sc = d;
359
- export const scn = d;
361
+ export const scn = f;
360
362
  export const sd = a;
361
363
  export const sdh = a;
362
- export const se = f;
364
+ export const se = g;
363
365
  export const seh = a;
364
366
  export const ses = e;
365
367
  export const sg = e;
368
+ export const sgs = (n) => {
369
+ const s = String(n).split('.'), f = s[1] || '', t0 = Number(s[0]) == n, n10 = t0 && s[0].slice(-1), n100 = t0 && s[0].slice(-2);
370
+ return n10 == 1 && n100 != 11 ? 'one'
371
+ : n == 2 ? 'two'
372
+ : n != 2 && (n10 >= 2 && n10 <= 9) && (n100 < 11 || n100 > 19) ? 'few'
373
+ : f != 0 ? 'many'
374
+ : 'other';
375
+ };
366
376
  export const sh = (n) => {
367
377
  const 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);
368
378
  return v0 && i10 == 1 && i100 != 11 || f10 == 1 && f100 != 11 ? 'one'
@@ -393,11 +403,11 @@ export const sl = (n) => {
393
403
  : v0 && (i100 == 3 || i100 == 4) || !v0 ? 'few'
394
404
  : 'other';
395
405
  };
396
- export const sma = f;
397
- export const smi = f;
398
- export const smj = f;
399
- export const smn = f;
400
- export const sms = f;
406
+ export const sma = g;
407
+ export const smi = g;
408
+ export const smj = g;
409
+ export const smn = g;
410
+ export const sms = g;
401
411
  export const sn = a;
402
412
  export const so = a;
403
413
  export const sq = a;
@@ -446,12 +456,7 @@ export const und = e;
446
456
  export const ur = d;
447
457
  export const uz = a;
448
458
  export const ve = a;
449
- export const vec = (n) => {
450
- const s = String(n).split('.'), i = s[0], v0 = !s[1], i1000000 = i.slice(-6);
451
- return n == 1 && v0 ? 'one'
452
- : i != 0 && i1000000 == 0 && v0 ? 'many'
453
- : 'other';
454
- };
459
+ export const vec = f;
455
460
  export const vi = e;
456
461
  export const vo = a;
457
462
  export const vun = a;
package/examples.d.ts CHANGED
@@ -14,6 +14,7 @@ export const bem: {"cardinal":{"one":["1","1.0","1.00","1.000","1.0000"],"other"
14
14
  export const bez: {"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":{}};
15
15
  export const bg: {"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":{"other":["0","15","100","1000","10000","100000","1000000"]}};
16
16
  export const bho: {"cardinal":{"one":["0","1","0.0","1.0","0.00","1.00","0.000","1.000","0.0000","1.0000"],"other":["2","17","100","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":{}};
17
+ export const blo: {"cardinal":{"zero":["0","0.0","0.00","0.000","0.0000"],"one":["1","1.0","1.00","1.000","1.0000"],"other":["2","17","100","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":{"zero":["0"],"one":["1"],"few":["2","6"],"other":["7","22","100","1000","10000","100000","1000000"]}};
17
18
  export const bm: {"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":{}};
18
19
  export const bn: {"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","5","7","10"],"two":["2","3"],"few":["4"],"many":["6"],"other":["0","11","25","100","1000","10000","100000","1000000"]}};
19
20
  export const bo: {"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":{}};
@@ -27,6 +28,8 @@ export const cgg: {"cardinal":{"one":["1","1.0","1.00","1.000","1.0000"],"other"
27
28
  export const chr: {"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":{}};
28
29
  export const ckb: {"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":{}};
29
30
  export const cs: {"cardinal":{"one":["1"],"few":["2","4"],"many":["0.0","1.0","1.5","10.0","100.0","1000.0","10000.0","100000.0","1000000.0"],"other":["0","5","19","100","1000","10000","100000","1000000"]},"ordinal":{"other":["0","15","100","1000","10000","100000","1000000"]}};
31
+ export const csw: {"cardinal":{"one":["0","1","0.0","1.0","0.00","1.00","0.000","1.000","0.0000","1.0000"],"other":["2","17","100","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":{}};
32
+ export const cv: {"cardinal":{"zero":["0","0.0","0.00","0.000","0.0000"],"one":["1","1.0","1.00","1.000","1.0000"],"other":["2","17","100","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":{"other":["0","15","100","1000","10000","100000","1000000"]}};
30
33
  export const cy: {"cardinal":{"zero":["0","0.0","0.00","0.000","0.0000"],"one":["1","1.0","1.00","1.000","1.0000"],"two":["2","2.0","2.00","2.000","2.0000"],"few":["3","3.0","3.00","3.000","3.0000"],"many":["6","6.0","6.00","6.000","6.0000"],"other":["4","5","7","20","100","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":{"zero":["0","7","9"],"one":["1"],"two":["2"],"few":["3","4"],"many":["5","6"],"other":["10","25","100","1000","10000","100000","1000000"]}};
31
34
  export const da: {"cardinal":{"one":["1","0.1","1.0","1.6"],"other":["0","2","16","100","1000","10000","100000","1000000","0.0","2.0","3.4","10.0","100.0","1000.0","10000.0","100000.0","1000000.0"]},"ordinal":{"other":["0","15","100","1000","10000","100000","1000000"]}};
32
35
  export const de: {"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":{"other":["0","15","100","1000","10000","100000","1000000"]}};
@@ -67,6 +70,7 @@ export const hu: {"cardinal":{"one":["1","1.0","1.00","1.000","1.0000"],"other":
67
70
  export const hy: {"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":{"one":["1"],"other":["0","2","16","100","1000","10000","100000","1000000"]}};
68
71
  export const ia: {"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":{"other":["0","15","100","1000","10000","100000","1000000"]}};
69
72
  export const id: {"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"]}};
73
+ export const ie: {"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":{"other":["0","15","100","1000","10000","100000","1000000"]}};
70
74
  export const ig: {"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":{}};
71
75
  export const ii: {"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":{}};
72
76
  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":{}};
@@ -91,6 +95,8 @@ export const kl: {"cardinal":{"one":["1","1.0","1.00","1.000","1.0000"],"other":
91
95
  export const km: {"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"]}};
92
96
  export const kn: {"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"]}};
93
97
  export const ko: {"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"]}};
98
+ export const kok: {"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"],"other":["0","5","19","100","1000","10000","100000","1000000"]}};
99
+ export const kok_Latn: {"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"],"other":["0","5","19","100","1000","10000","100000","1000000"]}};
94
100
  export const ks: {"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":{}};
95
101
  export const ksb: {"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":{}};
96
102
  export const ksh: {"cardinal":{"zero":["0","0.0","0.00","0.000","0.0000"],"one":["1","1.0","1.00","1.000","1.0000"],"other":["2","17","100","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":{}};
@@ -102,6 +108,7 @@ export const lb: {"cardinal":{"one":["1","1.0","1.00","1.000","1.0000"],"other":
102
108
  export const lg: {"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":{}};
103
109
  export const lij: {"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","89","800","803"],"other":["0","7","9","10","12","17","100","1000","10000","100000","1000000"]}};
104
110
  export const lkt: {"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":{}};
111
+ export const lld: {"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"]}};
105
112
  export const ln: {"cardinal":{"one":["0","1","0.0","1.0","0.00","1.00","0.000","1.000","0.0000","1.0000"],"other":["2","17","100","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":{}};
106
113
  export const lo: {"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":{"one":["1"],"other":["0","2","16","100","1000","10000","100000","1000000"]}};
107
114
  export const lt: {"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","9","22","29","102","1002","2.0","3.0","4.0","5.0","6.0","7.0","8.0","9.0","22.0","102.0","1002.0"],"many":["0.1","0.9","1.1","1.7","10.1","100.1","1000.1"],"other":["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"]},"ordinal":{"other":["0","15","100","1000","10000","100000","1000000"]}};
@@ -152,13 +159,14 @@ export const sah: {"cardinal":{"other":["0","15","100","1000","10000","100000","
152
159
  export const saq: {"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":{}};
153
160
  export const sat: {"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":{}};
154
161
  export const sc: {"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"]}};
155
- export const scn: {"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"]}};
162
+ export const scn: {"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","89","800","803"],"other":["0","7","9","10","12","17","100","1000","10000","100000","1000000"]}};
156
163
  export const sd: {"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":{"other":["0","15","100","1000","10000","100000","1000000"]}};
157
164
  export const sdh: {"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":{}};
158
165
  export const se: {"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":{}};
159
166
  export const seh: {"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":{}};
160
167
  export const ses: {"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":{}};
161
168
  export const sg: {"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":{}};
169
+ export const sgs: {"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"],"two":["2","2.0","2.00","2.000","2.0000"],"few":["3","9","22","29","32","102","1002","3.0","4.0","5.0","6.0","7.0","8.0","9.0","22.0","102.0","1002.0"],"many":["0.1","0.9","1.1","1.7","10.1","100.1","1000.1"],"other":["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"]},"ordinal":{}};
162
170
  export const sh: {"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"]}};
163
171
  export const shi: {"cardinal":{"one":["0","1","0.0","1.0","0.00","0.04"],"few":["2","10","2.0","3.0","4.0","5.0","6.0","7.0","8.0","9.0","10.0","2.00","3.00","4.00","5.00","6.00","7.00","8.00"],"other":["11","26","100","1000","10000","100000","1000000","1.1","1.9","2.1","2.7","10.1","100.0","1000.0","10000.0","100000.0","1000000.0"]},"ordinal":{}};
164
172
  export const si: {"cardinal":{"one":["0","1","0.0","0.1","1.0","0.00","0.01","1.00","0.000","0.001","1.000","0.0000","0.0001","1.0000"],"other":["2","17","100","1000","10000","100000","1000000","0.2","0.9","1.1","1.8","10.0","100.0","1000.0","10000.0","100000.0","1000000.0"]},"ordinal":{"other":["0","15","100","1000","10000","100000","1000000"]}};
package/examples.js CHANGED
@@ -28,6 +28,7 @@ bem: c,
28
28
  bez: c,
29
29
  bg: a,
30
30
  bho: b,
31
+ blo: {"cardinal":{"zero":["0","0.0","0.00","0.000","0.0000"],"one":["1","1.0","1.00","1.000","1.0000"],"other":["2","17","100","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":{"zero":["0"],"one":["1"],"few":["2","6"],"other":["7","22","100","1000","10000","100000","1000000"]}},
31
32
  bm: e,
32
33
  bn: {"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","5","7","10"],"two":["2","3"],"few":["4"],"many":["6"],"other":["0","11","25","100","1000","10000","100000","1000000"]}},
33
34
  bo: e,
@@ -41,6 +42,8 @@ cgg: c,
41
42
  chr: c,
42
43
  ckb: c,
43
44
  cs: {"cardinal":{"one":["1"],"few":["2","4"],"many":["0.0","1.0","1.5","10.0","100.0","1000.0","10000.0","100000.0","1000000.0"],"other":["0","5","19","100","1000","10000","100000","1000000"]},"ordinal":{"other":["0","15","100","1000","10000","100000","1000000"]}},
45
+ csw: b,
46
+ cv: {"cardinal":{"zero":["0","0.0","0.00","0.000","0.0000"],"one":["1","1.0","1.00","1.000","1.0000"],"other":["2","17","100","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":{"other":["0","15","100","1000","10000","100000","1000000"]}},
44
47
  cy: {"cardinal":{"zero":["0","0.0","0.00","0.000","0.0000"],"one":["1","1.0","1.00","1.000","1.0000"],"two":["2","2.0","2.00","2.000","2.0000"],"few":["3","3.0","3.00","3.000","3.0000"],"many":["6","6.0","6.00","6.000","6.0000"],"other":["4","5","7","20","100","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":{"zero":["0","7","9"],"one":["1"],"two":["2"],"few":["3","4"],"many":["5","6"],"other":["10","25","100","1000","10000","100000","1000000"]}},
45
48
  da: {"cardinal":{"one":["1","0.1","1.0","1.6"],"other":["0","2","16","100","1000","10000","100000","1000000","0.0","2.0","3.4","10.0","100.0","1000.0","10000.0","100000.0","1000000.0"]},"ordinal":{"other":["0","15","100","1000","10000","100000","1000000"]}},
46
49
  de: d,
@@ -81,6 +84,7 @@ hu: {"cardinal":{"one":["1","1.0","1.00","1.000","1.0000"],"other":["0","2","16"
81
84
  hy: {"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":{"one":["1"],"other":["0","2","16","100","1000","10000","100000","1000000"]}},
82
85
  ia: d,
83
86
  id: f,
87
+ ie: d,
84
88
  ig: e,
85
89
  ii: e,
86
90
  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":{}},
@@ -105,6 +109,8 @@ kl: c,
105
109
  km: f,
106
110
  kn: {"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"]}},
107
111
  ko: f,
112
+ kok: {"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"],"other":["0","5","19","100","1000","10000","100000","1000000"]}},
113
+ kok_Latn: {"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"],"other":["0","5","19","100","1000","10000","100000","1000000"]}},
108
114
  ks: c,
109
115
  ksb: c,
110
116
  ksh: {"cardinal":{"zero":["0","0.0","0.00","0.000","0.0000"],"one":["1","1.0","1.00","1.000","1.0000"],"other":["2","17","100","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":{}},
@@ -116,6 +122,7 @@ lb: c,
116
122
  lg: c,
117
123
  lij: {"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","89","800","803"],"other":["0","7","9","10","12","17","100","1000","10000","100000","1000000"]}},
118
124
  lkt: e,
125
+ lld: {"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"]}},
119
126
  ln: b,
120
127
  lo: {"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":{"one":["1"],"other":["0","2","16","100","1000","10000","100000","1000000"]}},
121
128
  lt: {"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","9","22","29","102","1002","2.0","3.0","4.0","5.0","6.0","7.0","8.0","9.0","22.0","102.0","1002.0"],"many":["0.1","0.9","1.1","1.7","10.1","100.1","1000.1"],"other":["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"]},"ordinal":{"other":["0","15","100","1000","10000","100000","1000000"]}},
@@ -166,13 +173,14 @@ sah: e,
166
173
  saq: c,
167
174
  sat: g,
168
175
  sc: {"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"]}},
169
- scn: {"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"]}},
176
+ scn: {"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","89","800","803"],"other":["0","7","9","10","12","17","100","1000","10000","100000","1000000"]}},
170
177
  sd: a,
171
178
  sdh: c,
172
179
  se: g,
173
180
  seh: c,
174
181
  ses: e,
175
182
  sg: e,
183
+ sgs: {"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"],"two":["2","2.0","2.00","2.000","2.0000"],"few":["3","9","22","29","32","102","1002","3.0","4.0","5.0","6.0","7.0","8.0","9.0","22.0","102.0","1002.0"],"many":["0.1","0.9","1.1","1.7","10.1","100.1","1000.1"],"other":["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"]},"ordinal":{}},
176
184
  sh: {"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"]}},
177
185
  shi: {"cardinal":{"one":["0","1","0.0","1.0","0.00","0.04"],"few":["2","10","2.0","3.0","4.0","5.0","6.0","7.0","8.0","9.0","10.0","2.00","3.00","4.00","5.00","6.00","7.00","8.00"],"other":["11","26","100","1000","10000","100000","1000000","1.1","1.9","2.1","2.7","10.1","100.0","1000.0","10000.0","100000.0","1000000.0"]},"ordinal":{}},
178
186
  si: {"cardinal":{"one":["0","1","0.0","0.1","1.0","0.00","0.01","1.00","0.000","0.001","1.000","0.0000","0.0001","1.0000"],"other":["2","17","100","1000","10000","100000","1000000","0.2","0.9","1.1","1.8","10.0","100.0","1000.0","10000.0","100000.0","1000000.0"]},"ordinal":{"other":["0","15","100","1000","10000","100000","1000000"]}},