@formatjs/intl-listformat 7.4.2 → 7.5.1
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/lib/index.js +33 -31
- package/lib/polyfill-force.js +5 -2
- package/lib/polyfill.js +7 -4
- package/lib/should-polyfill.js +8 -4
- package/lib/supported-locales.generated.js +4 -1
- package/locale-data/brx.js +12 -12
- package/locale-data/ca-AD.js +2 -2
- package/locale-data/ca-ES-valencia.js +2 -2
- package/locale-data/ca-FR.js +2 -2
- package/locale-data/ca-IT.js +2 -2
- package/locale-data/ca.js +2 -2
- package/locale-data/cs.js +7 -7
- package/locale-data/ff-Adlm-BF.js +10 -10
- package/locale-data/ff-Adlm-CM.js +10 -10
- package/locale-data/ff-Adlm-GH.js +10 -10
- package/locale-data/ff-Adlm-GM.js +10 -10
- package/locale-data/ff-Adlm-GW.js +10 -10
- package/locale-data/ff-Adlm-LR.js +10 -10
- package/locale-data/ff-Adlm-MR.js +10 -10
- package/locale-data/ff-Adlm-NE.js +10 -10
- package/locale-data/ff-Adlm-NG.js +10 -10
- package/locale-data/ff-Adlm-SL.js +10 -10
- package/locale-data/ff-Adlm-SN.js +10 -10
- package/locale-data/ff-Adlm.js +10 -10
- package/locale-data/ga-GB.js +1 -1
- package/locale-data/ga.js +1 -1
- package/locale-data/he.js +2 -2
- package/locale-data/ks-Arab.js +24 -24
- package/locale-data/ks.js +24 -24
- package/locale-data/ml.js +6 -6
- package/locale-data/ta-LK.js +4 -4
- package/locale-data/ta-MY.js +4 -4
- package/locale-data/ta-SG.js +4 -4
- package/locale-data/ta.js +4 -4
- package/locale-data/ur-IN.js +8 -8
- package/locale-data/yo-BJ.js +9 -9
- package/locale-data/yo.js +9 -9
- package/locale-data/zh-Hans-HK.js +2 -2
- package/locale-data/zh-Hans-MO.js +2 -2
- package/locale-data/zh-Hans-SG.js +2 -2
- package/locale-data/zh-Hans.js +2 -2
- package/locale-data/zh.js +2 -2
- package/package.json +6 -6
- package/polyfill.iife.js +7855 -641
- package/index.d.ts.map +0 -1
- package/lib/index.d.ts.map +0 -1
- package/lib/polyfill-force.d.ts.map +0 -1
- package/lib/polyfill.d.ts.map +0 -1
- package/lib/should-polyfill.d.ts.map +0 -1
- package/lib/supported-locales.generated.d.ts.map +0 -1
- package/polyfill-force.d.ts.map +0 -1
- package/polyfill.d.ts.map +0 -1
- package/should-polyfill.d.ts.map +0 -1
- package/supported-locales.generated.d.ts.map +0 -1
package/lib/index.js
CHANGED
|
@@ -1,6 +1,8 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
var tslib_1 = require("tslib");
|
|
4
|
+
var ecma402_abstract_1 = require("@formatjs/ecma402-abstract");
|
|
5
|
+
var intl_localematcher_1 = require("@formatjs/intl-localematcher");
|
|
4
6
|
function validateInstance(instance, method) {
|
|
5
7
|
if (!(instance instanceof ListFormat)) {
|
|
6
8
|
throw new TypeError("Method Intl.ListFormat.prototype.".concat(method, " called on incompatible receiver ").concat(String(instance)));
|
|
@@ -30,7 +32,7 @@ function createPartsFromList(internalSlotMap, lf, list) {
|
|
|
30
32
|
return [];
|
|
31
33
|
}
|
|
32
34
|
if (size === 2) {
|
|
33
|
-
var pattern = getInternalSlot(internalSlotMap, lf, 'templatePair');
|
|
35
|
+
var pattern = (0, ecma402_abstract_1.getInternalSlot)(internalSlotMap, lf, 'templatePair');
|
|
34
36
|
var first = { type: 'element', value: list[0] };
|
|
35
37
|
var second = { type: 'element', value: list[1] };
|
|
36
38
|
return deconstructPattern(pattern, { '0': first, '1': second });
|
|
@@ -44,13 +46,13 @@ function createPartsFromList(internalSlotMap, lf, list) {
|
|
|
44
46
|
while (i >= 0) {
|
|
45
47
|
var pattern = void 0;
|
|
46
48
|
if (i === 0) {
|
|
47
|
-
pattern = getInternalSlot(internalSlotMap, lf, 'templateStart');
|
|
49
|
+
pattern = (0, ecma402_abstract_1.getInternalSlot)(internalSlotMap, lf, 'templateStart');
|
|
48
50
|
}
|
|
49
51
|
else if (i < size - 2) {
|
|
50
|
-
pattern = getInternalSlot(internalSlotMap, lf, 'templateMiddle');
|
|
52
|
+
pattern = (0, ecma402_abstract_1.getInternalSlot)(internalSlotMap, lf, 'templateMiddle');
|
|
51
53
|
}
|
|
52
54
|
else {
|
|
53
|
-
pattern = getInternalSlot(internalSlotMap, lf, 'templateEnd');
|
|
55
|
+
pattern = (0, ecma402_abstract_1.getInternalSlot)(internalSlotMap, lf, 'templateEnd');
|
|
54
56
|
}
|
|
55
57
|
var head = { type: 'element', value: list[i] };
|
|
56
58
|
parts = deconstructPattern(pattern, { '0': head, '1': parts });
|
|
@@ -59,19 +61,19 @@ function createPartsFromList(internalSlotMap, lf, list) {
|
|
|
59
61
|
return parts;
|
|
60
62
|
}
|
|
61
63
|
function deconstructPattern(pattern, placeables) {
|
|
62
|
-
var patternParts = PartitionPattern(pattern);
|
|
64
|
+
var patternParts = (0, ecma402_abstract_1.PartitionPattern)(pattern);
|
|
63
65
|
var result = [];
|
|
64
66
|
for (var _i = 0, patternParts_1 = patternParts; _i < patternParts_1.length; _i++) {
|
|
65
67
|
var patternPart = patternParts_1[_i];
|
|
66
68
|
var part = patternPart.type;
|
|
67
|
-
if (isLiteralPart(patternPart)) {
|
|
69
|
+
if ((0, ecma402_abstract_1.isLiteralPart)(patternPart)) {
|
|
68
70
|
result.push({
|
|
69
71
|
type: 'literal',
|
|
70
72
|
value: patternPart.value,
|
|
71
73
|
});
|
|
72
74
|
}
|
|
73
75
|
else {
|
|
74
|
-
invariant(part in placeables, "".concat(part, " is missing from placables"));
|
|
76
|
+
(0, ecma402_abstract_1.invariant)(part in placeables, "".concat(part, " is missing from placables"));
|
|
75
77
|
var subst = placeables[part];
|
|
76
78
|
if (Array.isArray(subst)) {
|
|
77
79
|
result.push.apply(result, subst);
|
|
@@ -91,28 +93,28 @@ var ListFormat = /** @class */ (function () {
|
|
|
91
93
|
if (!newTarget) {
|
|
92
94
|
throw new TypeError("Intl.ListFormat must be called with 'new'");
|
|
93
95
|
}
|
|
94
|
-
setInternalSlot(ListFormat.__INTERNAL_SLOT_MAP__, this, 'initializedListFormat', true);
|
|
95
|
-
var requestedLocales = CanonicalizeLocaleList(locales);
|
|
96
|
+
(0, ecma402_abstract_1.setInternalSlot)(ListFormat.__INTERNAL_SLOT_MAP__, this, 'initializedListFormat', true);
|
|
97
|
+
var requestedLocales = (0, ecma402_abstract_1.CanonicalizeLocaleList)(locales);
|
|
96
98
|
var opt = Object.create(null);
|
|
97
|
-
var opts = GetOptionsObject(options);
|
|
98
|
-
var matcher = GetOption(opts, 'localeMatcher', 'string', ['best fit', 'lookup'], 'best fit');
|
|
99
|
+
var opts = (0, ecma402_abstract_1.GetOptionsObject)(options);
|
|
100
|
+
var matcher = (0, ecma402_abstract_1.GetOption)(opts, 'localeMatcher', 'string', ['best fit', 'lookup'], 'best fit');
|
|
99
101
|
opt.localeMatcher = matcher;
|
|
100
102
|
var localeData = ListFormat.localeData;
|
|
101
|
-
var r = ResolveLocale(ListFormat.availableLocales, requestedLocales, opt, ListFormat.relevantExtensionKeys, localeData, ListFormat.getDefaultLocale);
|
|
102
|
-
setInternalSlot(ListFormat.__INTERNAL_SLOT_MAP__, this, 'locale', r.locale);
|
|
103
|
-
var type = GetOption(opts, 'type', 'string', ['conjunction', 'disjunction', 'unit'], 'conjunction');
|
|
104
|
-
setInternalSlot(ListFormat.__INTERNAL_SLOT_MAP__, this, 'type', type);
|
|
105
|
-
var style = GetOption(opts, 'style', 'string', ['long', 'short', 'narrow'], 'long');
|
|
106
|
-
setInternalSlot(ListFormat.__INTERNAL_SLOT_MAP__, this, 'style', style);
|
|
103
|
+
var r = (0, intl_localematcher_1.ResolveLocale)(ListFormat.availableLocales, requestedLocales, opt, ListFormat.relevantExtensionKeys, localeData, ListFormat.getDefaultLocale);
|
|
104
|
+
(0, ecma402_abstract_1.setInternalSlot)(ListFormat.__INTERNAL_SLOT_MAP__, this, 'locale', r.locale);
|
|
105
|
+
var type = (0, ecma402_abstract_1.GetOption)(opts, 'type', 'string', ['conjunction', 'disjunction', 'unit'], 'conjunction');
|
|
106
|
+
(0, ecma402_abstract_1.setInternalSlot)(ListFormat.__INTERNAL_SLOT_MAP__, this, 'type', type);
|
|
107
|
+
var style = (0, ecma402_abstract_1.GetOption)(opts, 'style', 'string', ['long', 'short', 'narrow'], 'long');
|
|
108
|
+
(0, ecma402_abstract_1.setInternalSlot)(ListFormat.__INTERNAL_SLOT_MAP__, this, 'style', style);
|
|
107
109
|
var dataLocale = r.dataLocale;
|
|
108
110
|
var dataLocaleData = localeData[dataLocale];
|
|
109
|
-
invariant(!!dataLocaleData, "Missing locale data for ".concat(dataLocale));
|
|
111
|
+
(0, ecma402_abstract_1.invariant)(!!dataLocaleData, "Missing locale data for ".concat(dataLocale));
|
|
110
112
|
var dataLocaleTypes = dataLocaleData[type];
|
|
111
113
|
var templates = dataLocaleTypes[style];
|
|
112
|
-
setInternalSlot(ListFormat.__INTERNAL_SLOT_MAP__, this, 'templatePair', templates.pair);
|
|
113
|
-
setInternalSlot(ListFormat.__INTERNAL_SLOT_MAP__, this, 'templateStart', templates.start);
|
|
114
|
-
setInternalSlot(ListFormat.__INTERNAL_SLOT_MAP__, this, 'templateMiddle', templates.middle);
|
|
115
|
-
setInternalSlot(ListFormat.__INTERNAL_SLOT_MAP__, this, 'templateEnd', templates.end);
|
|
114
|
+
(0, ecma402_abstract_1.setInternalSlot)(ListFormat.__INTERNAL_SLOT_MAP__, this, 'templatePair', templates.pair);
|
|
115
|
+
(0, ecma402_abstract_1.setInternalSlot)(ListFormat.__INTERNAL_SLOT_MAP__, this, 'templateStart', templates.start);
|
|
116
|
+
(0, ecma402_abstract_1.setInternalSlot)(ListFormat.__INTERNAL_SLOT_MAP__, this, 'templateMiddle', templates.middle);
|
|
117
|
+
(0, ecma402_abstract_1.setInternalSlot)(ListFormat.__INTERNAL_SLOT_MAP__, this, 'templateEnd', templates.end);
|
|
116
118
|
}
|
|
117
119
|
ListFormat.prototype.format = function (elements) {
|
|
118
120
|
validateInstance(this, 'format');
|
|
@@ -136,21 +138,21 @@ var ListFormat = /** @class */ (function () {
|
|
|
136
138
|
var result = [];
|
|
137
139
|
for (var _i = 0, parts_2 = parts; _i < parts_2.length; _i++) {
|
|
138
140
|
var part = parts_2[_i];
|
|
139
|
-
result.push(__assign({}, part));
|
|
141
|
+
result.push(tslib_1.__assign({}, part));
|
|
140
142
|
}
|
|
141
143
|
return result;
|
|
142
144
|
};
|
|
143
145
|
ListFormat.prototype.resolvedOptions = function () {
|
|
144
146
|
validateInstance(this, 'resolvedOptions');
|
|
145
147
|
return {
|
|
146
|
-
locale: getInternalSlot(ListFormat.__INTERNAL_SLOT_MAP__, this, 'locale'),
|
|
147
|
-
type: getInternalSlot(ListFormat.__INTERNAL_SLOT_MAP__, this, 'type'),
|
|
148
|
-
style: getInternalSlot(ListFormat.__INTERNAL_SLOT_MAP__, this, 'style'),
|
|
148
|
+
locale: (0, ecma402_abstract_1.getInternalSlot)(ListFormat.__INTERNAL_SLOT_MAP__, this, 'locale'),
|
|
149
|
+
type: (0, ecma402_abstract_1.getInternalSlot)(ListFormat.__INTERNAL_SLOT_MAP__, this, 'type'),
|
|
150
|
+
style: (0, ecma402_abstract_1.getInternalSlot)(ListFormat.__INTERNAL_SLOT_MAP__, this, 'style'),
|
|
149
151
|
};
|
|
150
152
|
};
|
|
151
153
|
ListFormat.supportedLocalesOf = function (locales, options) {
|
|
152
154
|
// test262/test/intl402/ListFormat/constructor/supportedLocalesOf/result-type.js
|
|
153
|
-
return SupportedLocales(ListFormat.availableLocales, CanonicalizeLocaleList(locales), options);
|
|
155
|
+
return (0, ecma402_abstract_1.SupportedLocales)(ListFormat.availableLocales, (0, ecma402_abstract_1.CanonicalizeLocaleList)(locales), options);
|
|
154
156
|
};
|
|
155
157
|
ListFormat.__addLocaleData = function () {
|
|
156
158
|
var data = [];
|
|
@@ -181,7 +183,7 @@ var ListFormat = /** @class */ (function () {
|
|
|
181
183
|
ListFormat.__INTERNAL_SLOT_MAP__ = new WeakMap();
|
|
182
184
|
return ListFormat;
|
|
183
185
|
}());
|
|
184
|
-
|
|
186
|
+
exports.default = ListFormat;
|
|
185
187
|
try {
|
|
186
188
|
// IE11 does not have Symbol
|
|
187
189
|
if (typeof Symbol !== 'undefined') {
|
package/lib/polyfill-force.js
CHANGED
|
@@ -1,6 +1,9 @@
|
|
|
1
|
-
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
var tslib_1 = require("tslib");
|
|
4
|
+
var _1 = tslib_1.__importDefault(require("./"));
|
|
2
5
|
Object.defineProperty(Intl, 'ListFormat', {
|
|
3
|
-
value:
|
|
6
|
+
value: _1.default,
|
|
4
7
|
writable: true,
|
|
5
8
|
enumerable: false,
|
|
6
9
|
configurable: true,
|
package/lib/polyfill.js
CHANGED
|
@@ -1,8 +1,11 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
var tslib_1 = require("tslib");
|
|
4
|
+
var _1 = tslib_1.__importDefault(require("./"));
|
|
5
|
+
var should_polyfill_1 = require("./should-polyfill");
|
|
6
|
+
if ((0, should_polyfill_1.shouldPolyfill)()) {
|
|
4
7
|
Object.defineProperty(Intl, 'ListFormat', {
|
|
5
|
-
value:
|
|
8
|
+
value: _1.default,
|
|
6
9
|
writable: true,
|
|
7
10
|
enumerable: false,
|
|
8
11
|
configurable: true,
|
package/lib/should-polyfill.js
CHANGED
|
@@ -1,5 +1,8 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.shouldPolyfill = void 0;
|
|
4
|
+
var intl_localematcher_1 = require("@formatjs/intl-localematcher");
|
|
5
|
+
var supported_locales_generated_1 = require("./supported-locales.generated");
|
|
3
6
|
function supportedLocalesOf(locale) {
|
|
4
7
|
if (!locale) {
|
|
5
8
|
return true;
|
|
@@ -8,9 +11,10 @@ function supportedLocalesOf(locale) {
|
|
|
8
11
|
return (Intl.ListFormat.supportedLocalesOf(locales).length ===
|
|
9
12
|
locales.length);
|
|
10
13
|
}
|
|
11
|
-
|
|
14
|
+
function shouldPolyfill(locale) {
|
|
12
15
|
if (locale === void 0) { locale = 'en'; }
|
|
13
16
|
if (!('ListFormat' in Intl) || !supportedLocalesOf(locale)) {
|
|
14
|
-
return locale ? match([locale], supportedLocales, 'en') : undefined;
|
|
17
|
+
return locale ? (0, intl_localematcher_1.match)([locale], supported_locales_generated_1.supportedLocales, 'en') : undefined;
|
|
15
18
|
}
|
|
16
19
|
}
|
|
20
|
+
exports.shouldPolyfill = shouldPolyfill;
|
|
@@ -1 +1,4 @@
|
|
|
1
|
-
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.supportedLocales = void 0;
|
|
4
|
+
exports.supportedLocales = ["af", "af-NA", "agq", "ak", "am", "ar", "ar-AE", "ar-BH", "ar-DJ", "ar-DZ", "ar-EG", "ar-EH", "ar-ER", "ar-IL", "ar-IQ", "ar-JO", "ar-KM", "ar-KW", "ar-LB", "ar-LY", "ar-MA", "ar-MR", "ar-OM", "ar-PS", "ar-QA", "ar-SA", "ar-SD", "ar-SO", "ar-SS", "ar-SY", "ar-TD", "ar-TN", "ar-YE", "as", "asa", "ast", "az", "az-Cyrl", "az-Latn", "bas", "be", "be-tarask", "bem", "bez", "bg", "bm", "bn", "bn-IN", "bo", "bo-IN", "br", "brx", "bs", "bs-Cyrl", "bs-Latn", "ca", "ca-AD", "ca-ES-valencia", "ca-FR", "ca-IT", "ccp", "ccp-IN", "ce", "ceb", "cgg", "chr", "ckb", "ckb-IR", "cs", "cy", "da", "da-GL", "dav", "de", "de-AT", "de-BE", "de-CH", "de-IT", "de-LI", "de-LU", "dje", "doi", "dsb", "dua", "dyo", "dz", "ebu", "ee", "ee-TG", "el", "el-CY", "en", "en-001", "en-150", "en-AE", "en-AG", "en-AI", "en-AS", "en-AT", "en-AU", "en-BB", "en-BE", "en-BI", "en-BM", "en-BS", "en-BW", "en-BZ", "en-CA", "en-CC", "en-CH", "en-CK", "en-CM", "en-CX", "en-CY", "en-DE", "en-DG", "en-DK", "en-DM", "en-ER", "en-FI", "en-FJ", "en-FK", "en-FM", "en-GB", "en-GD", "en-GG", "en-GH", "en-GI", "en-GM", "en-GU", "en-GY", "en-HK", "en-IE", "en-IL", "en-IM", "en-IN", "en-IO", "en-JE", "en-JM", "en-KE", "en-KI", "en-KN", "en-KY", "en-LC", "en-LR", "en-LS", "en-MG", "en-MH", "en-MO", "en-MP", "en-MS", "en-MT", "en-MU", "en-MW", "en-MY", "en-NA", "en-NF", "en-NG", "en-NL", "en-NR", "en-NU", "en-NZ", "en-PG", "en-PH", "en-PK", "en-PN", "en-PR", "en-PW", "en-RW", "en-SB", "en-SC", "en-SD", "en-SE", "en-SG", "en-SH", "en-SI", "en-SL", "en-SS", "en-SX", "en-SZ", "en-TC", "en-TK", "en-TO", "en-TT", "en-TV", "en-TZ", "en-UG", "en-UM", "en-VC", "en-VG", "en-VI", "en-VU", "en-WS", "en-ZA", "en-ZM", "en-ZW", "eo", "es", "es-419", "es-AR", "es-BO", "es-BR", "es-BZ", "es-CL", "es-CO", "es-CR", "es-CU", "es-DO", "es-EA", "es-EC", "es-GQ", "es-GT", "es-HN", "es-IC", "es-MX", "es-NI", "es-PA", "es-PE", "es-PH", "es-PR", "es-PY", "es-SV", "es-US", "es-UY", "es-VE", "et", "eu", "ewo", "fa", "fa-AF", "ff", "ff-Adlm", "ff-Adlm-BF", "ff-Adlm-CM", "ff-Adlm-GH", "ff-Adlm-GM", "ff-Adlm-GW", "ff-Adlm-LR", "ff-Adlm-MR", "ff-Adlm-NE", "ff-Adlm-NG", "ff-Adlm-SL", "ff-Adlm-SN", "ff-Latn", "ff-Latn-BF", "ff-Latn-CM", "ff-Latn-GH", "ff-Latn-GM", "ff-Latn-GN", "ff-Latn-GW", "ff-Latn-LR", "ff-Latn-MR", "ff-Latn-NE", "ff-Latn-NG", "ff-Latn-SL", "fi", "fil", "fo", "fo-DK", "fr", "fr-BE", "fr-BF", "fr-BI", "fr-BJ", "fr-BL", "fr-CA", "fr-CD", "fr-CF", "fr-CG", "fr-CH", "fr-CI", "fr-CM", "fr-DJ", "fr-DZ", "fr-GA", "fr-GF", "fr-GN", "fr-GP", "fr-GQ", "fr-HT", "fr-KM", "fr-LU", "fr-MA", "fr-MC", "fr-MF", "fr-MG", "fr-ML", "fr-MQ", "fr-MR", "fr-MU", "fr-NC", "fr-NE", "fr-PF", "fr-PM", "fr-RE", "fr-RW", "fr-SC", "fr-SN", "fr-SY", "fr-TD", "fr-TG", "fr-TN", "fr-VU", "fr-WF", "fr-YT", "fur", "fy", "ga", "ga-GB", "gd", "gl", "gsw", "gsw-FR", "gsw-LI", "gu", "guz", "gv", "ha", "ha-GH", "ha-NE", "haw", "he", "hi", "hr", "hr-BA", "hsb", "hu", "hy", "ia", "id", "ig", "ii", "is", "it", "it-CH", "it-SM", "it-VA", "ja", "jgo", "jmc", "jv", "ka", "kab", "kam", "kde", "kea", "kgp", "khq", "ki", "kk", "kkj", "kl", "kln", "km", "kn", "ko", "ko-KP", "kok", "ks", "ks-Arab", "ksb", "ksf", "ksh", "ku", "kw", "ky", "lag", "lb", "lg", "lkt", "ln", "ln-AO", "ln-CF", "ln-CG", "lo", "lrc", "lrc-IQ", "lt", "lu", "luo", "luy", "lv", "mai", "mas", "mas-TZ", "mer", "mfe", "mg", "mgh", "mgo", "mi", "mk", "ml", "mn", "mni", "mni-Beng", "mr", "ms", "ms-BN", "ms-ID", "ms-SG", "mt", "mua", "my", "mzn", "naq", "nb", "nb-SJ", "nd", "nds", "nds-NL", "ne", "ne-IN", "nl", "nl-AW", "nl-BE", "nl-BQ", "nl-CW", "nl-SR", "nl-SX", "nmg", "nn", "nnh", "no", "nus", "nyn", "om", "om-KE", "or", "os", "os-RU", "pa", "pa-Arab", "pa-Guru", "pcm", "pl", "ps", "ps-PK", "pt", "pt-AO", "pt-CH", "pt-CV", "pt-GQ", "pt-GW", "pt-LU", "pt-MO", "pt-MZ", "pt-PT", "pt-ST", "pt-TL", "qu", "qu-BO", "qu-EC", "rm", "rn", "ro", "ro-MD", "rof", "ru", "ru-BY", "ru-KG", "ru-KZ", "ru-MD", "ru-UA", "rw", "rwk", "sa", "sah", "saq", "sat", "sat-Olck", "sbp", "sc", "sd", "sd-Arab", "sd-Deva", "se", "se-FI", "se-SE", "seh", "ses", "sg", "shi", "shi-Latn", "shi-Tfng", "si", "sk", "sl", "smn", "sn", "so", "so-DJ", "so-ET", "so-KE", "sq", "sq-MK", "sq-XK", "sr", "sr-Cyrl", "sr-Cyrl-BA", "sr-Cyrl-ME", "sr-Cyrl-XK", "sr-Latn", "sr-Latn-BA", "sr-Latn-ME", "sr-Latn-XK", "su", "su-Latn", "sv", "sv-AX", "sv-FI", "sw", "sw-CD", "sw-KE", "sw-UG", "ta", "ta-LK", "ta-MY", "ta-SG", "te", "teo", "teo-KE", "tg", "th", "ti", "ti-ER", "tk", "to", "tr", "tr-CY", "tt", "twq", "tzm", "ug", "uk", "und", "ur", "ur-IN", "uz", "uz-Arab", "uz-Cyrl", "uz-Latn", "vai", "vai-Latn", "vai-Vaii", "vi", "vun", "wae", "wo", "xh", "xog", "yav", "yi", "yo", "yo-BJ", "yrl", "yrl-CO", "yrl-VE", "yue", "yue-Hans", "yue-Hant", "zgh", "zh", "zh-Hans", "zh-Hans-HK", "zh-Hans-MO", "zh-Hans-SG", "zh-Hant", "zh-Hant-HK", "zh-Hant-MO", "zu"];
|
package/locale-data/brx.js
CHANGED
|
@@ -5,21 +5,21 @@ if (Intl.ListFormat && typeof Intl.ListFormat.__addLocaleData === 'function') {
|
|
|
5
5
|
"data": {
|
|
6
6
|
"conjunction": {
|
|
7
7
|
"long": {
|
|
8
|
-
"end": "{0}, {1}",
|
|
8
|
+
"end": "{0}, आरो {1}",
|
|
9
9
|
"middle": "{0}, {1}",
|
|
10
|
-
"pair": "{0}
|
|
10
|
+
"pair": "{0} आरो {1}",
|
|
11
11
|
"start": "{0}, {1}"
|
|
12
12
|
},
|
|
13
13
|
"narrow": {
|
|
14
|
-
"end": "{0}, {1}",
|
|
14
|
+
"end": "{0}, आरो {1}",
|
|
15
15
|
"middle": "{0}, {1}",
|
|
16
|
-
"pair": "{0}
|
|
16
|
+
"pair": "{0} आरो {1}",
|
|
17
17
|
"start": "{0}, {1}"
|
|
18
18
|
},
|
|
19
19
|
"short": {
|
|
20
|
-
"end": "{0}, {1}",
|
|
20
|
+
"end": "{0}, आरो {1}",
|
|
21
21
|
"middle": "{0}, {1}",
|
|
22
|
-
"pair": "{0}
|
|
22
|
+
"pair": "{0} आरो {1}",
|
|
23
23
|
"start": "{0}, {1}"
|
|
24
24
|
}
|
|
25
25
|
},
|
|
@@ -45,21 +45,21 @@ if (Intl.ListFormat && typeof Intl.ListFormat.__addLocaleData === 'function') {
|
|
|
45
45
|
},
|
|
46
46
|
"unit": {
|
|
47
47
|
"long": {
|
|
48
|
-
"end": "{0}, {1}",
|
|
48
|
+
"end": "{0}, आरो {1}",
|
|
49
49
|
"middle": "{0}, {1}",
|
|
50
|
-
"pair": "{0}
|
|
50
|
+
"pair": "{0} आरो {1}",
|
|
51
51
|
"start": "{0}, {1}"
|
|
52
52
|
},
|
|
53
53
|
"narrow": {
|
|
54
|
-
"end": "{0}, {1}",
|
|
54
|
+
"end": "{0}, आरो {1}",
|
|
55
55
|
"middle": "{0}, {1}",
|
|
56
|
-
"pair": "{0}
|
|
56
|
+
"pair": "{0} आरो {1}",
|
|
57
57
|
"start": "{0}, {1}"
|
|
58
58
|
},
|
|
59
59
|
"short": {
|
|
60
|
-
"end": "{0}, {1}",
|
|
60
|
+
"end": "{0}, आरो {1}",
|
|
61
61
|
"middle": "{0}, {1}",
|
|
62
|
-
"pair": "{0}
|
|
62
|
+
"pair": "{0} आरो {1}",
|
|
63
63
|
"start": "{0}, {1}"
|
|
64
64
|
}
|
|
65
65
|
}
|
package/locale-data/ca-AD.js
CHANGED
|
@@ -11,9 +11,9 @@ if (Intl.ListFormat && typeof Intl.ListFormat.__addLocaleData === 'function') {
|
|
|
11
11
|
"start": "{0}, {1}"
|
|
12
12
|
},
|
|
13
13
|
"narrow": {
|
|
14
|
-
"end": "{0}
|
|
14
|
+
"end": "{0} i {1}",
|
|
15
15
|
"middle": "{0}, {1}",
|
|
16
|
-
"pair": "{0}
|
|
16
|
+
"pair": "{0} i {1}",
|
|
17
17
|
"start": "{0}, {1}"
|
|
18
18
|
},
|
|
19
19
|
"short": {
|
|
@@ -11,9 +11,9 @@ if (Intl.ListFormat && typeof Intl.ListFormat.__addLocaleData === 'function') {
|
|
|
11
11
|
"start": "{0}, {1}"
|
|
12
12
|
},
|
|
13
13
|
"narrow": {
|
|
14
|
-
"end": "{0}
|
|
14
|
+
"end": "{0} i {1}",
|
|
15
15
|
"middle": "{0}, {1}",
|
|
16
|
-
"pair": "{0}
|
|
16
|
+
"pair": "{0} i {1}",
|
|
17
17
|
"start": "{0}, {1}"
|
|
18
18
|
},
|
|
19
19
|
"short": {
|
package/locale-data/ca-FR.js
CHANGED
|
@@ -11,9 +11,9 @@ if (Intl.ListFormat && typeof Intl.ListFormat.__addLocaleData === 'function') {
|
|
|
11
11
|
"start": "{0}, {1}"
|
|
12
12
|
},
|
|
13
13
|
"narrow": {
|
|
14
|
-
"end": "{0}
|
|
14
|
+
"end": "{0} i {1}",
|
|
15
15
|
"middle": "{0}, {1}",
|
|
16
|
-
"pair": "{0}
|
|
16
|
+
"pair": "{0} i {1}",
|
|
17
17
|
"start": "{0}, {1}"
|
|
18
18
|
},
|
|
19
19
|
"short": {
|
package/locale-data/ca-IT.js
CHANGED
|
@@ -11,9 +11,9 @@ if (Intl.ListFormat && typeof Intl.ListFormat.__addLocaleData === 'function') {
|
|
|
11
11
|
"start": "{0}, {1}"
|
|
12
12
|
},
|
|
13
13
|
"narrow": {
|
|
14
|
-
"end": "{0}
|
|
14
|
+
"end": "{0} i {1}",
|
|
15
15
|
"middle": "{0}, {1}",
|
|
16
|
-
"pair": "{0}
|
|
16
|
+
"pair": "{0} i {1}",
|
|
17
17
|
"start": "{0}, {1}"
|
|
18
18
|
},
|
|
19
19
|
"short": {
|
package/locale-data/ca.js
CHANGED
|
@@ -11,9 +11,9 @@ if (Intl.ListFormat && typeof Intl.ListFormat.__addLocaleData === 'function') {
|
|
|
11
11
|
"start": "{0}, {1}"
|
|
12
12
|
},
|
|
13
13
|
"narrow": {
|
|
14
|
-
"end": "{0}
|
|
14
|
+
"end": "{0} i {1}",
|
|
15
15
|
"middle": "{0}, {1}",
|
|
16
|
-
"pair": "{0}
|
|
16
|
+
"pair": "{0} i {1}",
|
|
17
17
|
"start": "{0}, {1}"
|
|
18
18
|
},
|
|
19
19
|
"short": {
|
package/locale-data/cs.js
CHANGED
|
@@ -5,9 +5,9 @@ if (Intl.ListFormat && typeof Intl.ListFormat.__addLocaleData === 'function') {
|
|
|
5
5
|
"data": {
|
|
6
6
|
"conjunction": {
|
|
7
7
|
"long": {
|
|
8
|
-
"end": "{0} a
|
|
8
|
+
"end": "{0} a {1}",
|
|
9
9
|
"middle": "{0}, {1}",
|
|
10
|
-
"pair": "{0} a
|
|
10
|
+
"pair": "{0} a {1}",
|
|
11
11
|
"start": "{0}, {1}"
|
|
12
12
|
},
|
|
13
13
|
"narrow": {
|
|
@@ -17,9 +17,9 @@ if (Intl.ListFormat && typeof Intl.ListFormat.__addLocaleData === 'function') {
|
|
|
17
17
|
"start": "{0}, {1}"
|
|
18
18
|
},
|
|
19
19
|
"short": {
|
|
20
|
-
"end": "{0} a
|
|
20
|
+
"end": "{0} a {1}",
|
|
21
21
|
"middle": "{0}, {1}",
|
|
22
|
-
"pair": "{0} a
|
|
22
|
+
"pair": "{0} a {1}",
|
|
23
23
|
"start": "{0}, {1}"
|
|
24
24
|
}
|
|
25
25
|
},
|
|
@@ -45,9 +45,9 @@ if (Intl.ListFormat && typeof Intl.ListFormat.__addLocaleData === 'function') {
|
|
|
45
45
|
},
|
|
46
46
|
"unit": {
|
|
47
47
|
"long": {
|
|
48
|
-
"end": "{0} a
|
|
48
|
+
"end": "{0} a {1}",
|
|
49
49
|
"middle": "{0}, {1}",
|
|
50
|
-
"pair": "{0} a
|
|
50
|
+
"pair": "{0} a {1}",
|
|
51
51
|
"start": "{0}, {1}"
|
|
52
52
|
},
|
|
53
53
|
"narrow": {
|
|
@@ -57,7 +57,7 @@ if (Intl.ListFormat && typeof Intl.ListFormat.__addLocaleData === 'function') {
|
|
|
57
57
|
"start": "{0} {1}"
|
|
58
58
|
},
|
|
59
59
|
"short": {
|
|
60
|
-
"end": "{0} a
|
|
60
|
+
"end": "{0} a {1}",
|
|
61
61
|
"middle": "{0}, {1}",
|
|
62
62
|
"pair": "{0}, {1}",
|
|
63
63
|
"start": "{0}, {1}"
|
|
@@ -5,7 +5,7 @@ if (Intl.ListFormat && typeof Intl.ListFormat.__addLocaleData === 'function') {
|
|
|
5
5
|
"data": {
|
|
6
6
|
"conjunction": {
|
|
7
7
|
"long": {
|
|
8
|
-
"end": "{0}⹁ {1}",
|
|
8
|
+
"end": "{0}⹁ 𞤫 {1}",
|
|
9
9
|
"middle": "{0}⹁ {1}",
|
|
10
10
|
"pair": "{0} 𞤫 {1}",
|
|
11
11
|
"start": "{0}⹁ {1}"
|
|
@@ -25,21 +25,21 @@ if (Intl.ListFormat && typeof Intl.ListFormat.__addLocaleData === 'function') {
|
|
|
25
25
|
},
|
|
26
26
|
"disjunction": {
|
|
27
27
|
"long": {
|
|
28
|
-
"end": "{0}⹁
|
|
28
|
+
"end": "{0}⹁ 𞤥𞤢𞥄𞤯𞤵𞤲 {1}",
|
|
29
29
|
"middle": "{0}⹁ {1}",
|
|
30
|
-
"pair": "{0}
|
|
30
|
+
"pair": "{0} 𞤥𞤢𞥄𞤯𞤵𞤲 {1}",
|
|
31
31
|
"start": "{0}⹁ {1}"
|
|
32
32
|
},
|
|
33
33
|
"narrow": {
|
|
34
|
-
"end": "{0}⹁
|
|
34
|
+
"end": "{0}⹁ 𞤥𞤢𞥄𞤯𞤵𞤲 {1}",
|
|
35
35
|
"middle": "{0}⹁ {1}",
|
|
36
|
-
"pair": "{0}
|
|
36
|
+
"pair": "{0} 𞤥𞤢𞥄𞤯𞤵𞤲 {1}",
|
|
37
37
|
"start": "{0}⹁ {1}"
|
|
38
38
|
},
|
|
39
39
|
"short": {
|
|
40
|
-
"end": "{0}⹁
|
|
40
|
+
"end": "{0}⹁ 𞤥𞤢𞥄𞤯𞤵𞤲 {1}",
|
|
41
41
|
"middle": "{0}⹁ {1}",
|
|
42
|
-
"pair": "{0}
|
|
42
|
+
"pair": "{0} 𞤥𞤢𞥄𞤯𞤵𞤲 {1}",
|
|
43
43
|
"start": "{0}⹁ {1}"
|
|
44
44
|
}
|
|
45
45
|
},
|
|
@@ -51,10 +51,10 @@ if (Intl.ListFormat && typeof Intl.ListFormat.__addLocaleData === 'function') {
|
|
|
51
51
|
"start": "{0}⹁ {1}"
|
|
52
52
|
},
|
|
53
53
|
"narrow": {
|
|
54
|
-
"end": "{0}
|
|
55
|
-
"middle": "{0}
|
|
54
|
+
"end": "{0} {1}",
|
|
55
|
+
"middle": "{0} {1}",
|
|
56
56
|
"pair": "{0} {1}",
|
|
57
|
-
"start": "{0}
|
|
57
|
+
"start": "{0} {1}"
|
|
58
58
|
},
|
|
59
59
|
"short": {
|
|
60
60
|
"end": "{0}, {1}",
|
|
@@ -5,7 +5,7 @@ if (Intl.ListFormat && typeof Intl.ListFormat.__addLocaleData === 'function') {
|
|
|
5
5
|
"data": {
|
|
6
6
|
"conjunction": {
|
|
7
7
|
"long": {
|
|
8
|
-
"end": "{0}⹁ {1}",
|
|
8
|
+
"end": "{0}⹁ 𞤫 {1}",
|
|
9
9
|
"middle": "{0}⹁ {1}",
|
|
10
10
|
"pair": "{0} 𞤫 {1}",
|
|
11
11
|
"start": "{0}⹁ {1}"
|
|
@@ -25,21 +25,21 @@ if (Intl.ListFormat && typeof Intl.ListFormat.__addLocaleData === 'function') {
|
|
|
25
25
|
},
|
|
26
26
|
"disjunction": {
|
|
27
27
|
"long": {
|
|
28
|
-
"end": "{0}⹁
|
|
28
|
+
"end": "{0}⹁ 𞤥𞤢𞥄𞤯𞤵𞤲 {1}",
|
|
29
29
|
"middle": "{0}⹁ {1}",
|
|
30
|
-
"pair": "{0}
|
|
30
|
+
"pair": "{0} 𞤥𞤢𞥄𞤯𞤵𞤲 {1}",
|
|
31
31
|
"start": "{0}⹁ {1}"
|
|
32
32
|
},
|
|
33
33
|
"narrow": {
|
|
34
|
-
"end": "{0}⹁
|
|
34
|
+
"end": "{0}⹁ 𞤥𞤢𞥄𞤯𞤵𞤲 {1}",
|
|
35
35
|
"middle": "{0}⹁ {1}",
|
|
36
|
-
"pair": "{0}
|
|
36
|
+
"pair": "{0} 𞤥𞤢𞥄𞤯𞤵𞤲 {1}",
|
|
37
37
|
"start": "{0}⹁ {1}"
|
|
38
38
|
},
|
|
39
39
|
"short": {
|
|
40
|
-
"end": "{0}⹁
|
|
40
|
+
"end": "{0}⹁ 𞤥𞤢𞥄𞤯𞤵𞤲 {1}",
|
|
41
41
|
"middle": "{0}⹁ {1}",
|
|
42
|
-
"pair": "{0}
|
|
42
|
+
"pair": "{0} 𞤥𞤢𞥄𞤯𞤵𞤲 {1}",
|
|
43
43
|
"start": "{0}⹁ {1}"
|
|
44
44
|
}
|
|
45
45
|
},
|
|
@@ -51,10 +51,10 @@ if (Intl.ListFormat && typeof Intl.ListFormat.__addLocaleData === 'function') {
|
|
|
51
51
|
"start": "{0}⹁ {1}"
|
|
52
52
|
},
|
|
53
53
|
"narrow": {
|
|
54
|
-
"end": "{0}
|
|
55
|
-
"middle": "{0}
|
|
54
|
+
"end": "{0} {1}",
|
|
55
|
+
"middle": "{0} {1}",
|
|
56
56
|
"pair": "{0} {1}",
|
|
57
|
-
"start": "{0}
|
|
57
|
+
"start": "{0} {1}"
|
|
58
58
|
},
|
|
59
59
|
"short": {
|
|
60
60
|
"end": "{0}, {1}",
|
|
@@ -5,7 +5,7 @@ if (Intl.ListFormat && typeof Intl.ListFormat.__addLocaleData === 'function') {
|
|
|
5
5
|
"data": {
|
|
6
6
|
"conjunction": {
|
|
7
7
|
"long": {
|
|
8
|
-
"end": "{0}⹁ {1}",
|
|
8
|
+
"end": "{0}⹁ 𞤫 {1}",
|
|
9
9
|
"middle": "{0}⹁ {1}",
|
|
10
10
|
"pair": "{0} 𞤫 {1}",
|
|
11
11
|
"start": "{0}⹁ {1}"
|
|
@@ -25,21 +25,21 @@ if (Intl.ListFormat && typeof Intl.ListFormat.__addLocaleData === 'function') {
|
|
|
25
25
|
},
|
|
26
26
|
"disjunction": {
|
|
27
27
|
"long": {
|
|
28
|
-
"end": "{0}⹁
|
|
28
|
+
"end": "{0}⹁ 𞤥𞤢𞥄𞤯𞤵𞤲 {1}",
|
|
29
29
|
"middle": "{0}⹁ {1}",
|
|
30
|
-
"pair": "{0}
|
|
30
|
+
"pair": "{0} 𞤥𞤢𞥄𞤯𞤵𞤲 {1}",
|
|
31
31
|
"start": "{0}⹁ {1}"
|
|
32
32
|
},
|
|
33
33
|
"narrow": {
|
|
34
|
-
"end": "{0}⹁
|
|
34
|
+
"end": "{0}⹁ 𞤥𞤢𞥄𞤯𞤵𞤲 {1}",
|
|
35
35
|
"middle": "{0}⹁ {1}",
|
|
36
|
-
"pair": "{0}
|
|
36
|
+
"pair": "{0} 𞤥𞤢𞥄𞤯𞤵𞤲 {1}",
|
|
37
37
|
"start": "{0}⹁ {1}"
|
|
38
38
|
},
|
|
39
39
|
"short": {
|
|
40
|
-
"end": "{0}⹁
|
|
40
|
+
"end": "{0}⹁ 𞤥𞤢𞥄𞤯𞤵𞤲 {1}",
|
|
41
41
|
"middle": "{0}⹁ {1}",
|
|
42
|
-
"pair": "{0}
|
|
42
|
+
"pair": "{0} 𞤥𞤢𞥄𞤯𞤵𞤲 {1}",
|
|
43
43
|
"start": "{0}⹁ {1}"
|
|
44
44
|
}
|
|
45
45
|
},
|
|
@@ -51,10 +51,10 @@ if (Intl.ListFormat && typeof Intl.ListFormat.__addLocaleData === 'function') {
|
|
|
51
51
|
"start": "{0}⹁ {1}"
|
|
52
52
|
},
|
|
53
53
|
"narrow": {
|
|
54
|
-
"end": "{0}
|
|
55
|
-
"middle": "{0}
|
|
54
|
+
"end": "{0} {1}",
|
|
55
|
+
"middle": "{0} {1}",
|
|
56
56
|
"pair": "{0} {1}",
|
|
57
|
-
"start": "{0}
|
|
57
|
+
"start": "{0} {1}"
|
|
58
58
|
},
|
|
59
59
|
"short": {
|
|
60
60
|
"end": "{0}, {1}",
|
|
@@ -5,7 +5,7 @@ if (Intl.ListFormat && typeof Intl.ListFormat.__addLocaleData === 'function') {
|
|
|
5
5
|
"data": {
|
|
6
6
|
"conjunction": {
|
|
7
7
|
"long": {
|
|
8
|
-
"end": "{0}⹁ {1}",
|
|
8
|
+
"end": "{0}⹁ 𞤫 {1}",
|
|
9
9
|
"middle": "{0}⹁ {1}",
|
|
10
10
|
"pair": "{0} 𞤫 {1}",
|
|
11
11
|
"start": "{0}⹁ {1}"
|
|
@@ -25,21 +25,21 @@ if (Intl.ListFormat && typeof Intl.ListFormat.__addLocaleData === 'function') {
|
|
|
25
25
|
},
|
|
26
26
|
"disjunction": {
|
|
27
27
|
"long": {
|
|
28
|
-
"end": "{0}⹁
|
|
28
|
+
"end": "{0}⹁ 𞤥𞤢𞥄𞤯𞤵𞤲 {1}",
|
|
29
29
|
"middle": "{0}⹁ {1}",
|
|
30
|
-
"pair": "{0}
|
|
30
|
+
"pair": "{0} 𞤥𞤢𞥄𞤯𞤵𞤲 {1}",
|
|
31
31
|
"start": "{0}⹁ {1}"
|
|
32
32
|
},
|
|
33
33
|
"narrow": {
|
|
34
|
-
"end": "{0}⹁
|
|
34
|
+
"end": "{0}⹁ 𞤥𞤢𞥄𞤯𞤵𞤲 {1}",
|
|
35
35
|
"middle": "{0}⹁ {1}",
|
|
36
|
-
"pair": "{0}
|
|
36
|
+
"pair": "{0} 𞤥𞤢𞥄𞤯𞤵𞤲 {1}",
|
|
37
37
|
"start": "{0}⹁ {1}"
|
|
38
38
|
},
|
|
39
39
|
"short": {
|
|
40
|
-
"end": "{0}⹁
|
|
40
|
+
"end": "{0}⹁ 𞤥𞤢𞥄𞤯𞤵𞤲 {1}",
|
|
41
41
|
"middle": "{0}⹁ {1}",
|
|
42
|
-
"pair": "{0}
|
|
42
|
+
"pair": "{0} 𞤥𞤢𞥄𞤯𞤵𞤲 {1}",
|
|
43
43
|
"start": "{0}⹁ {1}"
|
|
44
44
|
}
|
|
45
45
|
},
|
|
@@ -51,10 +51,10 @@ if (Intl.ListFormat && typeof Intl.ListFormat.__addLocaleData === 'function') {
|
|
|
51
51
|
"start": "{0}⹁ {1}"
|
|
52
52
|
},
|
|
53
53
|
"narrow": {
|
|
54
|
-
"end": "{0}
|
|
55
|
-
"middle": "{0}
|
|
54
|
+
"end": "{0} {1}",
|
|
55
|
+
"middle": "{0} {1}",
|
|
56
56
|
"pair": "{0} {1}",
|
|
57
|
-
"start": "{0}
|
|
57
|
+
"start": "{0} {1}"
|
|
58
58
|
},
|
|
59
59
|
"short": {
|
|
60
60
|
"end": "{0}, {1}",
|