make-plural 7.0.0 → 7.2.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 +12 -11
- package/cardinals.js +50 -27
- package/cardinals.mjs +44 -22
- package/examples.d.ts +16 -15
- package/examples.js +47 -46
- package/examples.mjs +47 -46
- package/ordinals.d.ts +5 -3
- package/ordinals.js +10 -6
- package/ordinals.mjs +5 -3
- package/package.json +1 -1
- package/pluralCategories.d.ts +12 -11
- package/pluralCategories.js +63 -63
- package/pluralCategories.mjs +63 -63
- package/plurals.d.ts +11 -10
- package/plurals.js +50 -31
- package/plurals.mjs +44 -26
- package/ranges.d.ts +1 -1
- package/ranges.js +1 -7
- package/ranges.mjs +1 -7
package/examples.mjs
CHANGED
|
@@ -1,12 +1,11 @@
|
|
|
1
1
|
const a = {"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"]}};
|
|
2
2
|
const b = {"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":{}};
|
|
3
3
|
const c = {"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":{}};
|
|
4
|
-
const d = {"cardinal":{"other":["0","
|
|
5
|
-
const e = {"cardinal":{"
|
|
4
|
+
const d = {"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"]}};
|
|
5
|
+
const e = {"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":{}};
|
|
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"]}};
|
|
@@ -15,20 +14,21 @@ export const ar = {"cardinal":{"zero":["0","0.0","0.00","0.000","0.0000"],"one":
|
|
|
15
14
|
export const ars = {"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","10","103","110","1003","3.0","4.0","5.0","6.0","7.0","8.0","9.0","10.0","103.0","1003.0"],"many":["11","26","111","1011","11.0","12.0","13.0","14.0","15.0","16.0","17.0","18.0","111.0","1011.0"],"other":["100","102","200","202","300","302","400","402","500","502","600","1000","10000","100000","1000000","0.1","0.9","1.1","1.7","10.1","100.0","1000.0","10000.0","100000.0","1000000.0"]},"ordinal":{}};
|
|
16
15
|
export const as = {"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"]}};
|
|
17
16
|
export const asa = c;
|
|
18
|
-
export const ast =
|
|
17
|
+
export const ast = d;
|
|
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;
|
|
23
23
|
export const bg = a;
|
|
24
24
|
export const bho = b;
|
|
25
|
-
export const bm =
|
|
25
|
+
export const bm = e;
|
|
26
26
|
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"]}};
|
|
27
|
-
export const bo =
|
|
27
|
+
export const bo = e;
|
|
28
28
|
export const br = {"cardinal":{"one":["1","21","31","41","51","61","81","101","1001","1.0","21.0","31.0","41.0","51.0","61.0","81.0","101.0","1001.0"],"two":["2","22","32","42","52","62","82","102","1002","2.0","22.0","32.0","42.0","52.0","62.0","82.0","102.0","1002.0"],"few":["3","4","9","23","24","29","33","34","39","43","44","49","103","1003","3.0","4.0","9.0","23.0","24.0","29.0","33.0","34.0","103.0","1003.0"],"many":["1000000","1000000.0","1000000.00","1000000.000","1000000.0000"],"other":["0","5","8","10","20","100","1000","10000","100000","0.0","0.9","1.1","1.6","10.0","100.0","1000.0","10000.0","100000.0"]},"ordinal":{}};
|
|
29
29
|
export const brx = c;
|
|
30
30
|
export const bs = {"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"]}};
|
|
31
|
-
export const ca = {"cardinal":{"one":["1"],"other":["0","2","16","100","1000","10000","100000","
|
|
31
|
+
export const ca = {"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":{"one":["1","3"],"two":["2"],"few":["4"],"other":["0","5","19","100","1000","10000","100000","1000000"]}};
|
|
32
32
|
export const ce = a;
|
|
33
33
|
export const ceb = {"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":{}};
|
|
34
34
|
export const cgg = c;
|
|
@@ -37,63 +37,62 @@ export const ckb = c;
|
|
|
37
37
|
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"]}};
|
|
38
38
|
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"]}};
|
|
39
39
|
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"]}};
|
|
40
|
-
export const de =
|
|
40
|
+
export const de = d;
|
|
41
41
|
export const doi = {"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":{}};
|
|
42
42
|
export const dsb = {"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"]}};
|
|
43
43
|
export const dv = c;
|
|
44
|
-
export const dz =
|
|
44
|
+
export const dz = e;
|
|
45
45
|
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 =
|
|
50
|
-
export const et =
|
|
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
|
+
export const et = d;
|
|
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"]}};
|
|
53
53
|
export const ff = {"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":{}};
|
|
54
|
-
export const fi =
|
|
54
|
+
export const fi = d;
|
|
55
55
|
export const fil = {"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"]}};
|
|
56
56
|
export const fo = c;
|
|
57
57
|
export const fr = {"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":{"one":["1"],"other":["0","2","16","100","1000","10000","100000","1000000"]}};
|
|
58
58
|
export const fur = c;
|
|
59
|
-
export const fy =
|
|
59
|
+
export const fy = d;
|
|
60
60
|
export const ga = {"cardinal":{"one":["1","1.0","1.00","1.000","1.0000"],"two":["2","2.0","2.00","2.000","2.0000"],"few":["3","6","3.0","4.0","5.0","6.0","3.00","4.00","5.00","6.00","3.000","4.000","5.000","6.000","3.0000","4.0000","5.0000","6.0000"],"many":["7","10","7.0","8.0","9.0","10.0","7.00","8.00","9.00","10.00","7.000","8.000","9.000","10.000","7.0000","8.0000","9.0000","10.0000"],"other":["0","11","25","100","1000","10000","100000","1000000","0.0","0.9","1.1","1.6","10.1","100.0","1000.0","10000.0","100000.0","1000000.0"]},"ordinal":{"one":["1"],"other":["0","2","16","100","1000","10000","100000","1000000"]}};
|
|
61
61
|
export const gd = {"cardinal":{"one":["1","11","1.0","11.0","1.00","11.00","1.000","11.000","1.0000"],"two":["2","12","2.0","12.0","2.00","12.00","2.000","12.000","2.0000"],"few":["3","10","13","19","3.0","4.0","5.0","6.0","7.0","8.0","9.0","10.0","13.0","14.0","15.0","16.0","17.0","18.0","19.0","3.00"],"other":["0","20","34","100","1000","10000","100000","1000000","0.0","0.9","1.1","1.6","10.1","100.0","1000.0","10000.0","100000.0","1000000.0"]},"ordinal":{"one":["1","11"],"two":["2","12"],"few":["3","13"],"other":["0","4","10","14","21","100","1000","10000","100000","1000000"]}};
|
|
62
|
-
export const gl =
|
|
62
|
+
export const gl = d;
|
|
63
63
|
export const gsw = a;
|
|
64
64
|
export const gu = {"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"]}};
|
|
65
65
|
export const guw = b;
|
|
66
66
|
export const gv = {"cardinal":{"one":["1","11","21","31","41","51","61","71","101","1001"],"two":["2","12","22","32","42","52","62","72","102","1002"],"few":["0","20","40","60","80","100","120","140","1000","10000","100000","1000000"],"many":["0.0","1.0","1.5","10.0","100.0","1000.0","10000.0","100000.0","1000000.0"],"other":["3","10","13","19","23","103","1003"]},"ordinal":{}};
|
|
67
67
|
export const ha = c;
|
|
68
68
|
export const haw = c;
|
|
69
|
-
export const he = {"cardinal":{"one":["1"
|
|
69
|
+
export const he = {"cardinal":{"one":["1","0.0","0.9","0.00","0.05"],"two":["2"],"other":["0","3","17","100","1000","10000","100000","1000000","1.0","2.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 = e;
|
|
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"]}};
|
|
74
75
|
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"]}};
|
|
75
|
-
export const ia =
|
|
76
|
+
export const ia = d;
|
|
76
77
|
export const id = f;
|
|
77
|
-
export const ig =
|
|
78
|
-
export const ii =
|
|
78
|
+
export const ig = e;
|
|
79
|
+
export const ii = e;
|
|
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
|
-
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","
|
|
81
|
-
export const it = {"cardinal":{"one":["1"],"other":["0","2","16","100","1000","10000","100000","
|
|
81
|
+
export const is = {"cardinal":{"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":["0","2","16","100","1000","10000","100000","1000000","0.0","0.2","0.9","1.2","1.8","10.0","100.0","1000.0","10000.0","100000.0","1000000.0"]},"ordinal":{"other":["0","15","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
|
-
export const jbo =
|
|
85
|
+
export const jbo = e;
|
|
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
|
-
export const jv =
|
|
90
|
-
export const jw =
|
|
88
|
+
export const jv = e;
|
|
89
|
+
export const jw = e;
|
|
91
90
|
export const ka = {"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"],"many":["0","2","16","102","1002"],"other":["21","36","100","1000","10000","100000","1000000"]}};
|
|
92
91
|
export const kab = {"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":{}};
|
|
93
92
|
export const kaj = c;
|
|
94
93
|
export const kcg = c;
|
|
95
|
-
export const kde =
|
|
96
|
-
export const kea =
|
|
94
|
+
export const kde = e;
|
|
95
|
+
export const kea = e;
|
|
97
96
|
export const kk = {"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":{"many":["6","9","10","16","19","20","26","29","30","36","39","40","100","1000","10000","100000","1000000"],"other":["0","5","7","8","11","15","17","18","21","101","1001"]}};
|
|
98
97
|
export const kkj = c;
|
|
99
98
|
export const kl = c;
|
|
@@ -110,7 +109,7 @@ export const lag = {"cardinal":{"zero":["0","0.0","0.00","0.000","0.0000"],"one"
|
|
|
110
109
|
export const lb = c;
|
|
111
110
|
export const lg = c;
|
|
112
111
|
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"]}};
|
|
113
|
-
export const lkt =
|
|
112
|
+
export const lkt = e;
|
|
114
113
|
export const ln = b;
|
|
115
114
|
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"]}};
|
|
116
115
|
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"]}};
|
|
@@ -121,21 +120,21 @@ export const mgo = c;
|
|
|
121
120
|
export const mk = {"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"],"other":["0","2","16","100","1000","10000","100000","1000000","0.0","0.2","1.0","1.2","1.7","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"],"many":["7","8","27","28","37","38","47","48","57","58","67","68","77","78","87","88","107","1007"],"other":["0","3","6","9","19","100","1000","10000","100000","1000000"]}};
|
|
122
121
|
export const ml = a;
|
|
123
122
|
export const mn = a;
|
|
124
|
-
export const mo = {"cardinal":{"one":["1"],"few":["0","2","16","
|
|
123
|
+
export const mo = {"cardinal":{"one":["1"],"few":["0","2","16","101","1001","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"]}};
|
|
125
124
|
export const mr = {"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"],"two":["2","3"],"few":["4"],"other":["0","5","19","100","1000","10000","100000","1000000"]}};
|
|
126
125
|
export const ms = {"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"]}};
|
|
127
|
-
export const mt = {"cardinal":{"one":["1","1.0","1.00","1.000","1.0000"],"
|
|
126
|
+
export const mt = {"cardinal":{"one":["1","1.0","1.00","1.000","1.0000"],"two":["2","2.0","2.00","2.000","2.0000"],"few":["0","3","10","103","109","1003","0.0","3.0","4.0","5.0","6.0","7.0","8.0","9.0","10.0","103.0","1003.0"],"many":["11","19","111","117","1011","11.0","12.0","13.0","14.0","15.0","16.0","17.0","18.0","111.0","1011.0"],"other":["20","35","100","1000","10000","100000","1000000","0.1","0.9","1.1","1.7","10.1","100.0","1000.0","10000.0","100000.0","1000000.0"]},"ordinal":{}};
|
|
128
127
|
export const my = f;
|
|
129
128
|
export const nah = c;
|
|
130
129
|
export const naq = g;
|
|
131
130
|
export const nb = a;
|
|
132
131
|
export const nd = c;
|
|
133
132
|
export const ne = {"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","4"],"other":["0","5","19","100","1000","10000","100000","1000000"]}};
|
|
134
|
-
export const nl =
|
|
133
|
+
export const nl = d;
|
|
135
134
|
export const nn = c;
|
|
136
135
|
export const nnh = c;
|
|
137
136
|
export const no = a;
|
|
138
|
-
export const nqo =
|
|
137
|
+
export const nqo = e;
|
|
139
138
|
export const nr = c;
|
|
140
139
|
export const nso = b;
|
|
141
140
|
export const ny = c;
|
|
@@ -143,22 +142,21 @@ export const nyn = c;
|
|
|
143
142
|
export const om = c;
|
|
144
143
|
export const or = {"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","7","9"],"two":["2","3"],"few":["4"],"many":["6"],"other":["0","10","24","100","1000","10000","100000","1000000"]}};
|
|
145
144
|
export const os = c;
|
|
146
|
-
export const osa =
|
|
145
|
+
export const osa = e;
|
|
147
146
|
export const pa = {"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":{"other":["0","15","100","1000","10000","100000","1000000"]}};
|
|
148
147
|
export const pap = c;
|
|
149
148
|
export const pcm = {"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":{}};
|
|
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","
|
|
154
|
-
export const pt_PT = {"cardinal":{"one":["1"],"other":["0","2","16","100","1000","10000","100000","
|
|
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
|
-
export const ro = {"cardinal":{"one":["1"],"few":["0","2","16","
|
|
155
|
+
export const ro = {"cardinal":{"one":["1"],"few":["0","2","16","101","1001","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
|
-
export const sah =
|
|
159
|
+
export const sah = e;
|
|
162
160
|
export const saq = c;
|
|
163
161
|
export const sat = g;
|
|
164
162
|
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"]}};
|
|
@@ -167,8 +165,8 @@ export const sd = a;
|
|
|
167
165
|
export const sdh = c;
|
|
168
166
|
export const se = g;
|
|
169
167
|
export const seh = c;
|
|
170
|
-
export const ses =
|
|
171
|
-
export const sg =
|
|
168
|
+
export const ses = e;
|
|
169
|
+
export const sg = e;
|
|
172
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"]}};
|
|
173
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":{}};
|
|
174
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"]}};
|
|
@@ -186,9 +184,9 @@ export const sr = {"cardinal":{"one":["1","21","31","41","51","61","71","81","10
|
|
|
186
184
|
export const ss = c;
|
|
187
185
|
export const ssy = c;
|
|
188
186
|
export const st = c;
|
|
189
|
-
export const su =
|
|
187
|
+
export const su = e;
|
|
190
188
|
export const sv = {"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","2","21","22","31","32","41","42","51","52","61","62","71","72","81","82","101","1001"],"other":["0","3","17","100","1000","10000","100000","1000000"]}};
|
|
191
|
-
export const sw =
|
|
189
|
+
export const sw = d;
|
|
192
190
|
export const syr = c;
|
|
193
191
|
export const ta = a;
|
|
194
192
|
export const te = a;
|
|
@@ -199,25 +197,28 @@ export const tig = c;
|
|
|
199
197
|
export const tk = {"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":{"few":["6","9","10","16","19","26","29","36","39","106","1006"],"other":["0","5","7","8","11","15","17","18","20","100","1000","10000","100000","1000000"]}};
|
|
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
|
-
export const to =
|
|
200
|
+
export const to = e;
|
|
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"]}};
|
|
208
|
-
export const
|
|
207
|
+
export const und = f;
|
|
208
|
+
export const ur = d;
|
|
209
209
|
export const uz = a;
|
|
210
210
|
export const ve = c;
|
|
211
|
+
export const vec = {"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"]}};
|
|
211
212
|
export const vi = {"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"]}};
|
|
212
213
|
export const vo = c;
|
|
213
214
|
export const vun = c;
|
|
214
215
|
export const wa = b;
|
|
215
216
|
export const wae = c;
|
|
216
|
-
export const wo =
|
|
217
|
+
export const wo = e;
|
|
217
218
|
export const xh = c;
|
|
218
219
|
export const xog = c;
|
|
219
220
|
export const yi = {"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":{}};
|
|
220
|
-
export const yo =
|
|
221
|
+
export const yo = e;
|
|
221
222
|
export const yue = f;
|
|
222
223
|
export const zh = f;
|
|
223
224
|
export const zu = {"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"]}};
|
package/ordinals.d.ts
CHANGED
|
@@ -5,7 +5,9 @@ export const am: (n: number | string) => "other";
|
|
|
5
5
|
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
|
+
export const ast: (n: number | string) => "other";
|
|
8
9
|
export const az: (n: number | string) => "one" | "few" | "many" | "other";
|
|
10
|
+
export const bal: (n: number | string) => "one" | "other";
|
|
9
11
|
export const be: (n: number | string) => "few" | "other";
|
|
10
12
|
export const bg: (n: number | string) => "other";
|
|
11
13
|
export const bn: (n: number | string) => "one" | "two" | "few" | "many" | "other";
|
|
@@ -40,10 +42,8 @@ export const hu: (n: number | string) => "one" | "other";
|
|
|
40
42
|
export const hy: (n: number | string) => "one" | "other";
|
|
41
43
|
export const ia: (n: number | string) => "other";
|
|
42
44
|
export const id: (n: number | string) => "other";
|
|
43
|
-
export const _in: (n: number | string) => "other";
|
|
44
45
|
export const is: (n: number | string) => "other";
|
|
45
46
|
export const it: (n: number | string) => "many" | "other";
|
|
46
|
-
export const iw: (n: number | string) => "other";
|
|
47
47
|
export const ja: (n: number | string) => "other";
|
|
48
48
|
export const ka: (n: number | string) => "one" | "many" | "other";
|
|
49
49
|
export const kk: (n: number | string) => "many" | "other";
|
|
@@ -74,7 +74,6 @@ export const prg: (n: number | string) => "other";
|
|
|
74
74
|
export const ps: (n: number | string) => "other";
|
|
75
75
|
export const pt: (n: number | string) => "other";
|
|
76
76
|
export const ro: (n: number | string) => "one" | "other";
|
|
77
|
-
export const root: (n: number | string) => "other";
|
|
78
77
|
export const ru: (n: number | string) => "other";
|
|
79
78
|
export const sc: (n: number | string) => "many" | "other";
|
|
80
79
|
export const scn: (n: number | string) => "many" | "other";
|
|
@@ -92,10 +91,13 @@ export const te: (n: number | string) => "other";
|
|
|
92
91
|
export const th: (n: number | string) => "other";
|
|
93
92
|
export const tk: (n: number | string) => "few" | "other";
|
|
94
93
|
export const tl: (n: number | string) => "one" | "other";
|
|
94
|
+
export const tpi: (n: number | string) => "other";
|
|
95
95
|
export const tr: (n: number | string) => "other";
|
|
96
96
|
export const uk: (n: number | string) => "few" | "other";
|
|
97
|
+
export const und: (n: number | string) => "other";
|
|
97
98
|
export const ur: (n: number | string) => "other";
|
|
98
99
|
export const uz: (n: number | string) => "other";
|
|
100
|
+
export const vec: (n: number | string) => "many" | "other";
|
|
99
101
|
export const vi: (n: number | string) => "one" | "other";
|
|
100
102
|
export const yue: (n: number | string) => "other";
|
|
101
103
|
export const zh: (n: number | string) => "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,
|
|
@@ -23,6 +21,8 @@ as: (n) => (n == 1 || n == 5 || n == 7 || n == 8 || n == 9 || n == 10) ? 'one'
|
|
|
23
21
|
: n == 6 ? 'many'
|
|
24
22
|
: 'other',
|
|
25
23
|
|
|
24
|
+
ast: a,
|
|
25
|
+
|
|
26
26
|
az: (n) => {
|
|
27
27
|
const s = String(n).split('.'), i = s[0], i10 = i.slice(-1), i100 = i.slice(-2), i1000 = i.slice(-3);
|
|
28
28
|
return (i10 == 1 || i10 == 2 || i10 == 5 || i10 == 7 || i10 == 8) || (i100 == 20 || i100 == 50 || i100 == 70 || i100 == 80) ? 'one'
|
|
@@ -31,6 +31,8 @@ az: (n) => {
|
|
|
31
31
|
: 'other';
|
|
32
32
|
},
|
|
33
33
|
|
|
34
|
+
bal: b,
|
|
35
|
+
|
|
34
36
|
be: (n) => {
|
|
35
37
|
const s = String(n).split('.'), t0 = Number(s[0]) == n, n10 = t0 && s[0].slice(-1), n100 = t0 && s[0].slice(-2);
|
|
36
38
|
return (n10 == 2 || n10 == 3) && n100 != 12 && n100 != 13 ? 'few' : 'other';
|
|
@@ -135,8 +137,6 @@ is: a,
|
|
|
135
137
|
|
|
136
138
|
it: (n) => (n == 11 || n == 8 || n == 80 || n == 800) ? 'many' : 'other',
|
|
137
139
|
|
|
138
|
-
iw: a,
|
|
139
|
-
|
|
140
140
|
ja: a,
|
|
141
141
|
|
|
142
142
|
ka: (n) => {
|
|
@@ -232,8 +232,6 @@ pt: a,
|
|
|
232
232
|
|
|
233
233
|
ro: b,
|
|
234
234
|
|
|
235
|
-
root: a,
|
|
236
|
-
|
|
237
235
|
ru: a,
|
|
238
236
|
|
|
239
237
|
sc: (n) => (n == 11 || n == 8 || n == 80 || n == 800) ? 'many' : 'other',
|
|
@@ -279,6 +277,8 @@ tk: (n) => {
|
|
|
279
277
|
|
|
280
278
|
tl: b,
|
|
281
279
|
|
|
280
|
+
tpi: a,
|
|
281
|
+
|
|
282
282
|
tr: a,
|
|
283
283
|
|
|
284
284
|
uk: (n) => {
|
|
@@ -286,10 +286,14 @@ uk: (n) => {
|
|
|
286
286
|
return n10 == 3 && n100 != 13 ? 'few' : 'other';
|
|
287
287
|
},
|
|
288
288
|
|
|
289
|
+
und: a,
|
|
290
|
+
|
|
289
291
|
ur: a,
|
|
290
292
|
|
|
291
293
|
uz: a,
|
|
292
294
|
|
|
295
|
+
vec: (n) => (n == 11 || n == 8 || n == 80 || n == 800) ? 'many' : 'other',
|
|
296
|
+
|
|
293
297
|
vi: b,
|
|
294
298
|
|
|
295
299
|
yue: 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;
|
|
@@ -11,6 +10,7 @@ export const as = (n) => (n == 1 || n == 5 || n == 7 || n == 8 || n == 9 || n ==
|
|
|
11
10
|
: n == 4 ? 'few'
|
|
12
11
|
: n == 6 ? 'many'
|
|
13
12
|
: 'other';
|
|
13
|
+
export const ast = a;
|
|
14
14
|
export const az = (n) => {
|
|
15
15
|
const s = String(n).split('.'), i = s[0], i10 = i.slice(-1), i100 = i.slice(-2), i1000 = i.slice(-3);
|
|
16
16
|
return (i10 == 1 || i10 == 2 || i10 == 5 || i10 == 7 || i10 == 8) || (i100 == 20 || i100 == 50 || i100 == 70 || i100 == 80) ? 'one'
|
|
@@ -18,6 +18,7 @@ export const az = (n) => {
|
|
|
18
18
|
: i == 0 || i10 == 6 || (i100 == 40 || i100 == 60 || i100 == 90) ? 'many'
|
|
19
19
|
: 'other';
|
|
20
20
|
};
|
|
21
|
+
export const bal = b;
|
|
21
22
|
export const be = (n) => {
|
|
22
23
|
const s = String(n).split('.'), t0 = Number(s[0]) == n, n10 = t0 && s[0].slice(-1), n100 = t0 && s[0].slice(-2);
|
|
23
24
|
return (n10 == 2 || n10 == 3) && n100 != 12 && n100 != 13 ? 'few' : 'other';
|
|
@@ -86,7 +87,6 @@ export const ia = a;
|
|
|
86
87
|
export const id = a;
|
|
87
88
|
export const is = a;
|
|
88
89
|
export const it = (n) => (n == 11 || n == 8 || n == 80 || n == 800) ? 'many' : 'other';
|
|
89
|
-
export const iw = a;
|
|
90
90
|
export const ja = a;
|
|
91
91
|
export const ka = (n) => {
|
|
92
92
|
const s = String(n).split('.'), i = s[0], i100 = i.slice(-2);
|
|
@@ -152,7 +152,6 @@ export const prg = a;
|
|
|
152
152
|
export const ps = a;
|
|
153
153
|
export const pt = a;
|
|
154
154
|
export const ro = b;
|
|
155
|
-
export const root = a;
|
|
156
155
|
export const ru = a;
|
|
157
156
|
export const sc = (n) => (n == 11 || n == 8 || n == 80 || n == 800) ? 'many' : 'other';
|
|
158
157
|
export const scn = (n) => (n == 11 || n == 8 || n == 80 || n == 800) ? 'many' : 'other';
|
|
@@ -181,13 +180,16 @@ export const tk = (n) => {
|
|
|
181
180
|
return (n10 == 6 || n10 == 9) || n == 10 ? 'few' : 'other';
|
|
182
181
|
};
|
|
183
182
|
export const tl = b;
|
|
183
|
+
export const tpi = a;
|
|
184
184
|
export const tr = a;
|
|
185
185
|
export const uk = (n) => {
|
|
186
186
|
const s = String(n).split('.'), t0 = Number(s[0]) == n, n10 = t0 && s[0].slice(-1), n100 = t0 && s[0].slice(-2);
|
|
187
187
|
return n10 == 3 && n100 != 13 ? 'few' : 'other';
|
|
188
188
|
};
|
|
189
|
+
export const und = a;
|
|
189
190
|
export const ur = a;
|
|
190
191
|
export const uz = a;
|
|
192
|
+
export const vec = (n) => (n == 11 || n == 8 || n == 80 || n == 800) ? 'many' : 'other';
|
|
191
193
|
export const vi = b;
|
|
192
194
|
export const yue = a;
|
|
193
195
|
export const zh = a;
|