make-plural 7.4.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
@@ -30,6 +30,8 @@ export const cgg: (n: number | string) => "one" | "other";
30
30
  export const chr: (n: number | string) => "one" | "other";
31
31
  export const ckb: (n: number | string) => "one" | "other";
32
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";
33
35
  export const cy: (n: number | string) => "zero" | "one" | "two" | "few" | "many" | "other";
34
36
  export const da: (n: number | string) => "one" | "other";
35
37
  export const de: (n: number | string) => "one" | "other";
@@ -70,6 +72,7 @@ export const hu: (n: number | string) => "one" | "other";
70
72
  export const hy: (n: number | string) => "one" | "other";
71
73
  export const ia: (n: number | string) => "one" | "other";
72
74
  export const id: (n: number | string) => "other";
75
+ export const ie: (n: number | string) => "one" | "other";
73
76
  export const ig: (n: number | string) => "other";
74
77
  export const ii: (n: number | string) => "other";
75
78
  export const io: (n: number | string) => "one" | "other";
@@ -94,6 +97,8 @@ export const kl: (n: number | string) => "one" | "other";
94
97
  export const km: (n: number | string) => "other";
95
98
  export const kn: (n: number | string) => "one" | "other";
96
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";
97
102
  export const ks: (n: number | string) => "one" | "other";
98
103
  export const ksb: (n: number | string) => "one" | "other";
99
104
  export const ksh: (n: number | string) => "zero" | "one" | "other";
@@ -105,6 +110,7 @@ export const lb: (n: number | string) => "one" | "other";
105
110
  export const lg: (n: number | string) => "one" | "other";
106
111
  export const lij: (n: number | string) => "one" | "other";
107
112
  export const lkt: (n: number | string) => "other";
113
+ export const lld: (n: number | string) => "one" | "many" | "other";
108
114
  export const ln: (n: number | string) => "one" | "other";
109
115
  export const lo: (n: number | string) => "other";
110
116
  export const lt: (n: number | string) => "one" | "few" | "many" | "other";
@@ -155,13 +161,14 @@ export const sah: (n: number | string) => "other";
155
161
  export const saq: (n: number | string) => "one" | "other";
156
162
  export const sat: (n: number | string) => "one" | "two" | "other";
157
163
  export const sc: (n: number | string) => "one" | "other";
158
- export const scn: (n: number | string) => "one" | "other";
164
+ export const scn: (n: number | string) => "one" | "many" | "other";
159
165
  export const sd: (n: number | string) => "one" | "other";
160
166
  export const sdh: (n: number | string) => "one" | "other";
161
167
  export const se: (n: number | string) => "one" | "two" | "other";
162
168
  export const seh: (n: number | string) => "one" | "other";
163
169
  export const ses: (n: number | string) => "other";
164
170
  export const sg: (n: number | string) => "other";
171
+ export const sgs: (n: number | string) => "one" | "two" | "few" | "many" | "other";
165
172
  export const sh: (n: number | string) => "one" | "few" | "other";
166
173
  export const shi: (n: number | string) => "one" | "few" | "other";
167
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
 
@@ -98,12 +104,7 @@ bs: (n) => {
98
104
  : 'other';
99
105
  },
100
106
 
101
- ca: (n) => {
102
- const s = String(n).split('.'), i = s[0], v0 = !s[1], i1000000 = i.slice(-6);
103
- return n == 1 && v0 ? 'one'
104
- : i != 0 && i1000000 == 0 && v0 ? 'many'
105
- : 'other';
106
- },
107
+ ca: f,
107
108
 
108
109
  ce: a,
109
110
 
@@ -126,6 +127,12 @@ cs: (n) => {
126
127
  : 'other';
127
128
  },
128
129
 
130
+ csw: b,
131
+
132
+ cv: (n) => n == 0 ? 'zero'
133
+ : n == 1 ? 'one'
134
+ : 'other',
135
+
129
136
  cy: (n) => n == 0 ? 'zero'
130
137
  : n == 1 ? 'one'
131
138
  : n == 2 ? 'two'
@@ -269,6 +276,8 @@ ia: d,
269
276
 
270
277
  id: e,
271
278
 
279
+ ie: d,
280
+
272
281
  ig: e,
273
282
 
274
283
  ii: e,
@@ -280,14 +289,9 @@ is: (n) => {
280
289
  return t0 && i10 == 1 && i100 != 11 || t % 10 == 1 && t % 100 != 11 ? 'one' : 'other';
281
290
  },
282
291
 
283
- it: (n) => {
284
- const s = String(n).split('.'), i = s[0], v0 = !s[1], i1000000 = i.slice(-6);
285
- return n == 1 && v0 ? 'one'
286
- : i != 0 && i1000000 == 0 && v0 ? 'many'
287
- : 'other';
288
- },
292
+ it: f,
289
293
 
290
- iu: f,
294
+ iu: g,
291
295
 
292
296
  ja: e,
293
297
 
@@ -325,6 +329,10 @@ kn: c,
325
329
 
326
330
  ko: e,
327
331
 
332
+ kok: c,
333
+
334
+ kok_Latn: c,
335
+
328
336
  ks: a,
329
337
 
330
338
  ksb: a,
@@ -362,6 +370,8 @@ lij: d,
362
370
 
363
371
  lkt: e,
364
372
 
373
+ lld: f,
374
+
365
375
  ln: b,
366
376
 
367
377
  lo: e,
@@ -420,7 +430,7 @@ my: e,
420
430
 
421
431
  nah: a,
422
432
 
423
- naq: f,
433
+ naq: g,
424
434
 
425
435
  nb: a,
426
436
 
@@ -484,12 +494,7 @@ pt: (n) => {
484
494
  : 'other';
485
495
  },
486
496
 
487
- pt_PT: (n) => {
488
- const s = String(n).split('.'), i = s[0], v0 = !s[1], i1000000 = i.slice(-6);
489
- return n == 1 && v0 ? 'one'
490
- : i != 0 && i1000000 == 0 && v0 ? 'many'
491
- : 'other';
492
- },
497
+ pt_PT: f,
493
498
 
494
499
  rm: a,
495
500
 
@@ -516,17 +521,17 @@ sah: e,
516
521
 
517
522
  saq: a,
518
523
 
519
- sat: f,
524
+ sat: g,
520
525
 
521
526
  sc: d,
522
527
 
523
- scn: d,
528
+ scn: f,
524
529
 
525
530
  sd: a,
526
531
 
527
532
  sdh: a,
528
533
 
529
- se: f,
534
+ se: g,
530
535
 
531
536
  seh: a,
532
537
 
@@ -534,6 +539,15 @@ ses: e,
534
539
 
535
540
  sg: e,
536
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
+
537
551
  sh: (n) => {
538
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);
539
553
  return v0 && i10 == 1 && i100 != 11 || f10 == 1 && f100 != 11 ? 'one'
@@ -569,15 +583,15 @@ sl: (n) => {
569
583
  : 'other';
570
584
  },
571
585
 
572
- sma: f,
586
+ sma: g,
573
587
 
574
- smi: f,
588
+ smi: g,
575
589
 
576
- smj: f,
590
+ smj: g,
577
591
 
578
- smn: f,
592
+ smn: g,
579
593
 
580
- sms: f,
594
+ sms: g,
581
595
 
582
596
  sn: a,
583
597
 
@@ -658,12 +672,7 @@ uz: a,
658
672
 
659
673
  ve: a,
660
674
 
661
- vec: (n) => {
662
- const s = String(n).split('.'), i = s[0], v0 = !s[1], i1000000 = i.slice(-6);
663
- return n == 1 && v0 ? 'one'
664
- : i != 0 && i1000000 == 0 && v0 ? 'many'
665
- : 'other';
666
- },
675
+ vec: f,
667
676
 
668
677
  vi: e,
669
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
 
@@ -69,12 +75,7 @@ export const bs = (n) => {
69
75
  : v0 && (i10 >= 2 && i10 <= 4) && (i100 < 12 || i100 > 14) || (f10 >= 2 && f10 <= 4) && (f100 < 12 || f100 > 14) ? 'few'
70
76
  : 'other';
71
77
  };
72
- export const ca = (n) => {
73
- const s = String(n).split('.'), i = s[0], v0 = !s[1], i1000000 = i.slice(-6);
74
- return n == 1 && v0 ? 'one'
75
- : i != 0 && i1000000 == 0 && v0 ? 'many'
76
- : 'other';
77
- };
78
+ export const ca = f;
78
79
  export const ce = a;
79
80
  export const ceb = (n) => {
80
81
  const s = String(n).split('.'), i = s[0], f = s[1] || '', v0 = !s[1], i10 = i.slice(-1), f10 = f.slice(-1);
@@ -90,6 +91,10 @@ export const cs = (n) => {
90
91
  : !v0 ? 'many'
91
92
  : 'other';
92
93
  };
94
+ export const csw = b;
95
+ export const cv = (n) => n == 0 ? 'zero'
96
+ : n == 1 ? 'one'
97
+ : 'other';
93
98
  export const cy = (n) => n == 0 ? 'zero'
94
99
  : n == 1 ? 'one'
95
100
  : n == 2 ? 'two'
@@ -193,6 +198,7 @@ export const hu = a;
193
198
  export const hy = (n) => n >= 0 && n < 2 ? 'one' : 'other';
194
199
  export const ia = d;
195
200
  export const id = e;
201
+ export const ie = d;
196
202
  export const ig = e;
197
203
  export const ii = e;
198
204
  export const io = d;
@@ -200,13 +206,8 @@ export const is = (n) => {
200
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);
201
207
  return t0 && i10 == 1 && i100 != 11 || t % 10 == 1 && t % 100 != 11 ? 'one' : 'other';
202
208
  };
203
- export const it = (n) => {
204
- const s = String(n).split('.'), i = s[0], v0 = !s[1], i1000000 = i.slice(-6);
205
- return n == 1 && v0 ? 'one'
206
- : i != 0 && i1000000 == 0 && v0 ? 'many'
207
- : 'other';
208
- };
209
- export const iu = f;
209
+ export const it = f;
210
+ export const iu = g;
210
211
  export const ja = e;
211
212
  export const jbo = e;
212
213
  export const jgo = a;
@@ -225,6 +226,8 @@ export const kl = a;
225
226
  export const km = e;
226
227
  export const kn = c;
227
228
  export const ko = e;
229
+ export const kok = c;
230
+ export const kok_Latn = c;
228
231
  export const ks = a;
229
232
  export const ksb = a;
230
233
  export const ksh = (n) => n == 0 ? 'zero'
@@ -251,6 +254,7 @@ export const lb = a;
251
254
  export const lg = a;
252
255
  export const lij = d;
253
256
  export const lkt = e;
257
+ export const lld = f;
254
258
  export const ln = b;
255
259
  export const lo = e;
256
260
  export const lt = (n) => {
@@ -293,7 +297,7 @@ export const mt = (n) => {
293
297
  };
294
298
  export const my = e;
295
299
  export const nah = a;
296
- export const naq = f;
300
+ export const naq = g;
297
301
  export const nb = a;
298
302
  export const nd = a;
299
303
  export const ne = a;
@@ -333,12 +337,7 @@ export const pt = (n) => {
333
337
  : i != 0 && i1000000 == 0 && v0 ? 'many'
334
338
  : 'other';
335
339
  };
336
- export const pt_PT = (n) => {
337
- const s = String(n).split('.'), i = s[0], v0 = !s[1], i1000000 = i.slice(-6);
338
- return n == 1 && v0 ? 'one'
339
- : i != 0 && i1000000 == 0 && v0 ? 'many'
340
- : 'other';
341
- };
340
+ export const pt_PT = f;
342
341
  export const rm = a;
343
342
  export const ro = (n) => {
344
343
  const s = String(n).split('.'), v0 = !s[1], t0 = Number(s[0]) == n, n100 = t0 && s[0].slice(-2);
@@ -357,15 +356,23 @@ export const ru = (n) => {
357
356
  export const rwk = a;
358
357
  export const sah = e;
359
358
  export const saq = a;
360
- export const sat = f;
359
+ export const sat = g;
361
360
  export const sc = d;
362
- export const scn = d;
361
+ export const scn = f;
363
362
  export const sd = a;
364
363
  export const sdh = a;
365
- export const se = f;
364
+ export const se = g;
366
365
  export const seh = a;
367
366
  export const ses = e;
368
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
+ };
369
376
  export const sh = (n) => {
370
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);
371
378
  return v0 && i10 == 1 && i100 != 11 || f10 == 1 && f100 != 11 ? 'one'
@@ -396,11 +403,11 @@ export const sl = (n) => {
396
403
  : v0 && (i100 == 3 || i100 == 4) || !v0 ? 'few'
397
404
  : 'other';
398
405
  };
399
- export const sma = f;
400
- export const smi = f;
401
- export const smj = f;
402
- export const smn = f;
403
- 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;
404
411
  export const sn = a;
405
412
  export const so = a;
406
413
  export const sq = a;
@@ -449,12 +456,7 @@ export const und = e;
449
456
  export const ur = d;
450
457
  export const uz = a;
451
458
  export const ve = a;
452
- export const vec = (n) => {
453
- const s = String(n).split('.'), i = s[0], v0 = !s[1], i1000000 = i.slice(-6);
454
- return n == 1 && v0 ? 'one'
455
- : i != 0 && i1000000 == 0 && v0 ? 'many'
456
- : 'other';
457
- };
459
+ export const vec = f;
458
460
  export const vi = e;
459
461
  export const vo = a;
460
462
  export const vun = a;
package/examples.d.ts CHANGED
@@ -14,7 +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","16","100","1000","10000","100000","1000000","2.0","2.5","10.0","100.0","1000.0","10000.0","100000.0","1000000.0"]},"ordinal":{"zero":["0"],"one":["1"],"few":["2","6"],"other":["7","19","100","1000","10000","100000","1000000"]}};
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"]}};
18
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":{}};
19
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"]}};
20
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":{}};
@@ -28,6 +28,8 @@ export const cgg: {"cardinal":{"one":["1","1.0","1.00","1.000","1.0000"],"other"
28
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":{}};
29
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":{}};
30
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"]}};
31
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"]}};
32
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"]}};
33
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"]}};
@@ -68,6 +70,7 @@ export const hu: {"cardinal":{"one":["1","1.0","1.00","1.000","1.0000"],"other":
68
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"]}};
69
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"]}};
70
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"]}};
71
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":{}};
72
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":{}};
73
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":{}};
@@ -92,6 +95,8 @@ export const kl: {"cardinal":{"one":["1","1.0","1.00","1.000","1.0000"],"other":
92
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"]}};
93
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"]}};
94
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"]}};
95
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":{}};
96
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":{}};
97
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":{}};
@@ -103,6 +108,7 @@ export const lb: {"cardinal":{"one":["1","1.0","1.00","1.000","1.0000"],"other":
103
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":{}};
104
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"]}};
105
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"]}};
106
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":{}};
107
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"]}};
108
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"]}};
@@ -153,13 +159,14 @@ export const sah: {"cardinal":{"other":["0","15","100","1000","10000","100000","
153
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":{}};
154
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":{}};
155
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"]}};
156
- 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"]}};
157
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"]}};
158
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":{}};
159
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":{}};
160
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":{}};
161
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":{}};
162
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":{}};
163
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"]}};
164
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":{}};
165
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,7 +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","16","100","1000","10000","100000","1000000","2.0","2.5","10.0","100.0","1000.0","10000.0","100000.0","1000000.0"]},"ordinal":{"zero":["0"],"one":["1"],"few":["2","6"],"other":["7","19","100","1000","10000","100000","1000000"]}},
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"]}},
32
32
  bm: e,
33
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"]}},
34
34
  bo: e,
@@ -42,6 +42,8 @@ cgg: c,
42
42
  chr: c,
43
43
  ckb: c,
44
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"]}},
45
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"]}},
46
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"]}},
47
49
  de: d,
@@ -82,6 +84,7 @@ hu: {"cardinal":{"one":["1","1.0","1.00","1.000","1.0000"],"other":["0","2","16"
82
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"]}},
83
85
  ia: d,
84
86
  id: f,
87
+ ie: d,
85
88
  ig: e,
86
89
  ii: e,
87
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":{}},
@@ -106,6 +109,8 @@ kl: c,
106
109
  km: f,
107
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"]}},
108
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"]}},
109
114
  ks: c,
110
115
  ksb: c,
111
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":{}},
@@ -117,6 +122,7 @@ lb: c,
117
122
  lg: c,
118
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"]}},
119
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"]}},
120
126
  ln: b,
121
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"]}},
122
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"]}},
@@ -167,13 +173,14 @@ sah: e,
167
173
  saq: c,
168
174
  sat: g,
169
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"]}},
170
- 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"]}},
171
177
  sd: a,
172
178
  sdh: c,
173
179
  se: g,
174
180
  seh: c,
175
181
  ses: e,
176
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":{}},
177
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"]}},
178
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":{}},
179
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"]}},