@d3plus/locales 3.0.16 → 3.1.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/LICENSE +21 -0
- package/README.md +144 -12
- package/es/src/dictionaries/formatLocale.js +40 -39
- package/es/src/dictionaries/timeLocale.js +107 -106
- package/es/src/dictionaries/translateLocale.js +55 -54
- package/es/src/findLocale.js +3 -5
- package/es/src/utils/iso-codes.js +1540 -1539
- package/es/src/utils/lookup.js +3584 -3583
- package/package.json +14 -5
- package/types/index.d.ts +7 -0
- package/types/src/dictionaries/formatLocale.d.ts +16 -0
- package/types/src/dictionaries/timeLocale.d.ts +39 -0
- package/types/src/dictionaries/translateLocale.d.ts +21 -0
- package/types/src/findLocale.d.ts +5 -0
- package/types/src/utils/iso-codes.d.ts +8 -0
- package/types/src/utils/lookup.d.ts +9 -0
- package/umd/d3plus-locales.full.js +5330 -5436
- package/umd/d3plus-locales.full.js.map +1 -1
- package/umd/d3plus-locales.full.min.js +7 -9
- package/umd/d3plus-locales.js +5330 -5436
- package/umd/d3plus-locales.js.map +1 -1
- package/umd/d3plus-locales.min.js +7 -9
package/LICENSE
ADDED
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
MIT License
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2026 D3plus
|
|
4
|
+
|
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
+
in the Software without restriction, including without limitation the rights
|
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
+
furnished to do so, subject to the following conditions:
|
|
11
|
+
|
|
12
|
+
The above copyright notice and this permission notice shall be included in all
|
|
13
|
+
copies or substantial portions of the Software.
|
|
14
|
+
|
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
+
SOFTWARE.
|
package/README.md
CHANGED
|
@@ -1,5 +1,8 @@
|
|
|
1
1
|
# @d3plus/locales
|
|
2
|
-
|
|
2
|
+
|
|
3
|
+
[](https://www.npmjs.com/package/@d3plus/locales)
|
|
4
|
+
[](https://codecov.io/gh/d3plus/d3plus/flags)
|
|
5
|
+
|
|
3
6
|
International localizations for number, date, and UI labels.
|
|
4
7
|
|
|
5
8
|
## Installing
|
|
@@ -7,10 +10,10 @@ International localizations for number, date, and UI labels.
|
|
|
7
10
|
If using npm, `npm install @d3plus/locales`. Otherwise, you can download the [latest release from GitHub](https://github.com/d3plus/d3plus/releases/latest) or load from a [CDN](https://cdn.jsdelivr.net/npm/@d3plus/locales).
|
|
8
11
|
|
|
9
12
|
```js
|
|
10
|
-
import
|
|
13
|
+
import {*} from "@d3plus/locales";
|
|
11
14
|
```
|
|
12
15
|
|
|
13
|
-
In vanilla
|
|
16
|
+
In a vanilla environment, a `d3plus` global is exported from the pre-bundled version:
|
|
14
17
|
|
|
15
18
|
```html
|
|
16
19
|
<script src="https://cdn.jsdelivr.net/npm/@d3plus/locales"></script>
|
|
@@ -21,22 +24,151 @@ In vanilla JavaScript, a `d3plus` global is exported from the pre-bundled versio
|
|
|
21
24
|
|
|
22
25
|
## Examples
|
|
23
26
|
|
|
24
|
-
Live examples can be found on [d3plus.org](https://d3plus.org/), which includes a collection of example visualizations using @d3plus/react.
|
|
27
|
+
Live examples can be found on [d3plus.org](https://d3plus.org/), which includes a collection of example visualizations using [@d3plus/react](https://github.com/d3plus/d3plus/tree/main/packages/react).
|
|
25
28
|
|
|
26
29
|
## API Reference
|
|
27
30
|
|
|
28
|
-
|
|
29
|
-
|
|
31
|
+
| Functions | Description |
|
|
32
|
+
| --- | --- |
|
|
33
|
+
| [`findLocale`](#findlocale) | Converts a 2-letter language code into a full language-region locale string (e.g., "en" to "en-US"). |
|
|
30
34
|
|
|
31
|
-
|
|
35
|
+
| Variables | Description |
|
|
36
|
+
| --- | --- |
|
|
37
|
+
| [`formatLocale`](#formatlocale) | |
|
|
38
|
+
| [`locale`](#locale) | |
|
|
39
|
+
| [`translateLocale`](#translatelocale) | |
|
|
32
40
|
|
|
33
|
-
|
|
34
|
-
|
|
41
|
+
| Interfaces | Description |
|
|
42
|
+
| --- | --- |
|
|
43
|
+
| [`FormatLocaleDefinition`](#formatlocaledefinition) | formatLocale |
|
|
44
|
+
| [`TimeLocaleDefinition`](#timelocaledefinition) | |
|
|
45
|
+
| [`TranslationStrings`](#translationstrings) | |
|
|
35
46
|
|
|
36
|
-
|
|
47
|
+
## Functions
|
|
48
|
+
|
|
49
|
+
<a id="findlocale"></a>
|
|
50
|
+
|
|
51
|
+
### findLocale()
|
|
52
|
+
|
|
53
|
+
> **findLocale**(`locale`: `string`): `string`
|
|
54
|
+
|
|
55
|
+
Defined in: [findLocale.ts:49](https://github.com/d3plus/d3plus/blob/fe174c3153bf379a226e4a41b6a8492a86c3a1b7/packages/locales/src/findLocale.ts#L49)
|
|
56
|
+
|
|
57
|
+
Converts a 2-letter language code into a full language-region locale string (e.g., "en" to "en-US").
|
|
58
|
+
|
|
59
|
+
#### Parameters
|
|
60
|
+
|
|
61
|
+
| Parameter | Type | Description |
|
|
62
|
+
| ------ | ------ | ------ |
|
|
63
|
+
| `locale` | `string` | A 2-letter language code (e.g., "en", "fr"). |
|
|
64
|
+
|
|
65
|
+
#### Returns
|
|
66
|
+
|
|
67
|
+
`string`
|
|
68
|
+
|
|
69
|
+
## Variables
|
|
70
|
+
|
|
71
|
+
<a id="formatlocale"></a>
|
|
72
|
+
|
|
73
|
+
### formatLocale
|
|
74
|
+
|
|
75
|
+
> `const` **formatLocale**: `Record`\<`string`, [`FormatLocaleDefinition`](#formatlocaledefinition)\>
|
|
37
76
|
|
|
77
|
+
Defined in: [dictionaries/formatLocale.ts:17](https://github.com/d3plus/d3plus/blob/fe174c3153bf379a226e4a41b6a8492a86c3a1b7/packages/locales/src/dictionaries/formatLocale.ts#L17)
|
|
38
78
|
|
|
39
|
-
|
|
79
|
+
***
|
|
40
80
|
|
|
41
|
-
|
|
81
|
+
<a id="locale"></a>
|
|
82
|
+
|
|
83
|
+
### locale
|
|
84
|
+
|
|
85
|
+
> `const` **locale**: `Record`\<`string`, [`TimeLocaleDefinition`](#timelocaledefinition)\>
|
|
86
|
+
|
|
87
|
+
Defined in: [dictionaries/timeLocale.ts:39](https://github.com/d3plus/d3plus/blob/fe174c3153bf379a226e4a41b6a8492a86c3a1b7/packages/locales/src/dictionaries/timeLocale.ts#L39)
|
|
88
|
+
|
|
89
|
+
***
|
|
90
|
+
|
|
91
|
+
<a id="translatelocale"></a>
|
|
92
|
+
|
|
93
|
+
### translateLocale
|
|
94
|
+
|
|
95
|
+
> `const` **translateLocale**: `Record`\<`string`, [`TranslationStrings`](#translationstrings)\>
|
|
96
|
+
|
|
97
|
+
Defined in: [dictionaries/translateLocale.ts:21](https://github.com/d3plus/d3plus/blob/fe174c3153bf379a226e4a41b6a8492a86c3a1b7/packages/locales/src/dictionaries/translateLocale.ts#L21)
|
|
98
|
+
|
|
99
|
+
## Interfaces
|
|
100
|
+
|
|
101
|
+
<a id="formatlocaledefinition"></a>
|
|
102
|
+
|
|
103
|
+
### FormatLocaleDefinition
|
|
104
|
+
|
|
105
|
+
Defined in: [dictionaries/formatLocale.ts:6](https://github.com/d3plus/d3plus/blob/fe174c3153bf379a226e4a41b6a8492a86c3a1b7/packages/locales/src/dictionaries/formatLocale.ts#L6)
|
|
106
|
+
|
|
107
|
+
**`Namespace`**
|
|
108
|
+
|
|
109
|
+
formatLocale
|
|
110
|
+
A set of default locale formatters used when assigning suffixes and currency in numbers.
|
|
42
111
|
|
|
112
|
+
#### Properties
|
|
113
|
+
|
|
114
|
+
| Property | Type | Defined in |
|
|
115
|
+
| ------ | ------ | ------ |
|
|
116
|
+
| <a id="property-currency"></a> `currency` | \[`string`, `string`\] | [dictionaries/formatLocale.ts:14](https://github.com/d3plus/d3plus/blob/fe174c3153bf379a226e4a41b6a8492a86c3a1b7/packages/locales/src/dictionaries/formatLocale.ts#L14) |
|
|
117
|
+
| <a id="property-delimiters"></a> `delimiters` | `object` | [dictionaries/formatLocale.ts:10](https://github.com/d3plus/d3plus/blob/fe174c3153bf379a226e4a41b6a8492a86c3a1b7/packages/locales/src/dictionaries/formatLocale.ts#L10) |
|
|
118
|
+
| `delimiters.decimal` | `string` | [dictionaries/formatLocale.ts:12](https://github.com/d3plus/d3plus/blob/fe174c3153bf379a226e4a41b6a8492a86c3a1b7/packages/locales/src/dictionaries/formatLocale.ts#L12) |
|
|
119
|
+
| `delimiters.thousands` | `string` | [dictionaries/formatLocale.ts:11](https://github.com/d3plus/d3plus/blob/fe174c3153bf379a226e4a41b6a8492a86c3a1b7/packages/locales/src/dictionaries/formatLocale.ts#L11) |
|
|
120
|
+
| <a id="property-grouping"></a> `grouping` | `number`[] | [dictionaries/formatLocale.ts:9](https://github.com/d3plus/d3plus/blob/fe174c3153bf379a226e4a41b6a8492a86c3a1b7/packages/locales/src/dictionaries/formatLocale.ts#L9) |
|
|
121
|
+
| <a id="property-separator"></a> `separator?` | `string` | [dictionaries/formatLocale.ts:7](https://github.com/d3plus/d3plus/blob/fe174c3153bf379a226e4a41b6a8492a86c3a1b7/packages/locales/src/dictionaries/formatLocale.ts#L7) |
|
|
122
|
+
| <a id="property-suffixes"></a> `suffixes` | `string`[] | [dictionaries/formatLocale.ts:8](https://github.com/d3plus/d3plus/blob/fe174c3153bf379a226e4a41b6a8492a86c3a1b7/packages/locales/src/dictionaries/formatLocale.ts#L8) |
|
|
123
|
+
|
|
124
|
+
***
|
|
125
|
+
|
|
126
|
+
<a id="timelocaledefinition"></a>
|
|
127
|
+
|
|
128
|
+
### TimeLocaleDefinition
|
|
129
|
+
|
|
130
|
+
Defined in: [dictionaries/timeLocale.ts:1](https://github.com/d3plus/d3plus/blob/fe174c3153bf379a226e4a41b6a8492a86c3a1b7/packages/locales/src/dictionaries/timeLocale.ts#L1)
|
|
131
|
+
|
|
132
|
+
#### Properties
|
|
133
|
+
|
|
134
|
+
| Property | Type | Defined in |
|
|
135
|
+
| ------ | ------ | ------ |
|
|
136
|
+
| <a id="property-date"></a> `date` | `string` | [dictionaries/timeLocale.ts:3](https://github.com/d3plus/d3plus/blob/fe174c3153bf379a226e4a41b6a8492a86c3a1b7/packages/locales/src/dictionaries/timeLocale.ts#L3) |
|
|
137
|
+
| <a id="property-datetime"></a> `dateTime` | `string` | [dictionaries/timeLocale.ts:2](https://github.com/d3plus/d3plus/blob/fe174c3153bf379a226e4a41b6a8492a86c3a1b7/packages/locales/src/dictionaries/timeLocale.ts#L2) |
|
|
138
|
+
| <a id="property-days"></a> `days` | \[`string`, `string`, `string`, `string`, `string`, `string`, `string`\] | [dictionaries/timeLocale.ts:7](https://github.com/d3plus/d3plus/blob/fe174c3153bf379a226e4a41b6a8492a86c3a1b7/packages/locales/src/dictionaries/timeLocale.ts#L7) |
|
|
139
|
+
| <a id="property-months"></a> `months` | \[`string`, `string`, `string`, `string`, `string`, `string`, `string`, `string`, `string`, `string`, `string`, `string`\] | [dictionaries/timeLocale.ts:9](https://github.com/d3plus/d3plus/blob/fe174c3153bf379a226e4a41b6a8492a86c3a1b7/packages/locales/src/dictionaries/timeLocale.ts#L9) |
|
|
140
|
+
| <a id="property-periods"></a> `periods` | \[`string`, `string`\] | [dictionaries/timeLocale.ts:6](https://github.com/d3plus/d3plus/blob/fe174c3153bf379a226e4a41b6a8492a86c3a1b7/packages/locales/src/dictionaries/timeLocale.ts#L6) |
|
|
141
|
+
| <a id="property-quarter"></a> `quarter` | `string` | [dictionaries/timeLocale.ts:5](https://github.com/d3plus/d3plus/blob/fe174c3153bf379a226e4a41b6a8492a86c3a1b7/packages/locales/src/dictionaries/timeLocale.ts#L5) |
|
|
142
|
+
| <a id="property-shortdays"></a> `shortDays` | \[`string`, `string`, `string`, `string`, `string`, `string`, `string`\] | [dictionaries/timeLocale.ts:8](https://github.com/d3plus/d3plus/blob/fe174c3153bf379a226e4a41b6a8492a86c3a1b7/packages/locales/src/dictionaries/timeLocale.ts#L8) |
|
|
143
|
+
| <a id="property-shortmonths"></a> `shortMonths` | \[`string`, `string`, `string`, `string`, `string`, `string`, `string`, `string`, `string`, `string`, `string`, `string`\] | [dictionaries/timeLocale.ts:23](https://github.com/d3plus/d3plus/blob/fe174c3153bf379a226e4a41b6a8492a86c3a1b7/packages/locales/src/dictionaries/timeLocale.ts#L23) |
|
|
144
|
+
| <a id="property-time"></a> `time` | `string` | [dictionaries/timeLocale.ts:4](https://github.com/d3plus/d3plus/blob/fe174c3153bf379a226e4a41b6a8492a86c3a1b7/packages/locales/src/dictionaries/timeLocale.ts#L4) |
|
|
145
|
+
|
|
146
|
+
***
|
|
147
|
+
|
|
148
|
+
<a id="translationstrings"></a>
|
|
149
|
+
|
|
150
|
+
### TranslationStrings
|
|
151
|
+
|
|
152
|
+
Defined in: [dictionaries/translateLocale.ts:1](https://github.com/d3plus/d3plus/blob/fe174c3153bf379a226e4a41b6a8492a86c3a1b7/packages/locales/src/dictionaries/translateLocale.ts#L1)
|
|
153
|
+
|
|
154
|
+
#### Properties
|
|
155
|
+
|
|
156
|
+
| Property | Type | Defined in |
|
|
157
|
+
| ------ | ------ | ------ |
|
|
158
|
+
| <a id="property-and"></a> `and` | `string` | [dictionaries/translateLocale.ts:2](https://github.com/d3plus/d3plus/blob/fe174c3153bf379a226e4a41b6a8492a86c3a1b7/packages/locales/src/dictionaries/translateLocale.ts#L2) |
|
|
159
|
+
| <a id="property-back"></a> `Back` | `string` | [dictionaries/translateLocale.ts:3](https://github.com/d3plus/d3plus/blob/fe174c3153bf379a226e4a41b6a8492a86c3a1b7/packages/locales/src/dictionaries/translateLocale.ts#L3) |
|
|
160
|
+
| <a id="property-click-to-expand"></a> `Click to Expand` | `string` | [dictionaries/translateLocale.ts:4](https://github.com/d3plus/d3plus/blob/fe174c3153bf379a226e4a41b6a8492a86c3a1b7/packages/locales/src/dictionaries/translateLocale.ts#L4) |
|
|
161
|
+
| <a id="property-click-to-hide"></a> `Click to Hide` | `string` | [dictionaries/translateLocale.ts:5](https://github.com/d3plus/d3plus/blob/fe174c3153bf379a226e4a41b6a8492a86c3a1b7/packages/locales/src/dictionaries/translateLocale.ts#L5) |
|
|
162
|
+
| <a id="property-click-to-highlight"></a> `Click to Highlight` | `string` | [dictionaries/translateLocale.ts:6](https://github.com/d3plus/d3plus/blob/fe174c3153bf379a226e4a41b6a8492a86c3a1b7/packages/locales/src/dictionaries/translateLocale.ts#L6) |
|
|
163
|
+
| <a id="property-click-to-show"></a> `Click to Show` | `string` | [dictionaries/translateLocale.ts:7](https://github.com/d3plus/d3plus/blob/fe174c3153bf379a226e4a41b6a8492a86c3a1b7/packages/locales/src/dictionaries/translateLocale.ts#L7) |
|
|
164
|
+
| <a id="property-click-to-show-all"></a> `Click to Show All` | `string` | [dictionaries/translateLocale.ts:8](https://github.com/d3plus/d3plus/blob/fe174c3153bf379a226e4a41b6a8492a86c3a1b7/packages/locales/src/dictionaries/translateLocale.ts#L8) |
|
|
165
|
+
| <a id="property-download"></a> `Download` | `string` | [dictionaries/translateLocale.ts:9](https://github.com/d3plus/d3plus/blob/fe174c3153bf379a226e4a41b6a8492a86c3a1b7/packages/locales/src/dictionaries/translateLocale.ts#L9) |
|
|
166
|
+
| <a id="property-loading-visualization"></a> `Loading Visualization` | `string` | [dictionaries/translateLocale.ts:10](https://github.com/d3plus/d3plus/blob/fe174c3153bf379a226e4a41b6a8492a86c3a1b7/packages/locales/src/dictionaries/translateLocale.ts#L10) |
|
|
167
|
+
| <a id="property-more"></a> `more` | `string` | [dictionaries/translateLocale.ts:11](https://github.com/d3plus/d3plus/blob/fe174c3153bf379a226e4a41b6a8492a86c3a1b7/packages/locales/src/dictionaries/translateLocale.ts#L11) |
|
|
168
|
+
| <a id="property-no-data-available"></a> `No Data Available` | `string` | [dictionaries/translateLocale.ts:12](https://github.com/d3plus/d3plus/blob/fe174c3153bf379a226e4a41b6a8492a86c3a1b7/packages/locales/src/dictionaries/translateLocale.ts#L12) |
|
|
169
|
+
| <a id="property-powered-by-d3plus"></a> `Powered by D3plus` | `string` | [dictionaries/translateLocale.ts:13](https://github.com/d3plus/d3plus/blob/fe174c3153bf379a226e4a41b6a8492a86c3a1b7/packages/locales/src/dictionaries/translateLocale.ts#L13) |
|
|
170
|
+
| <a id="property-share"></a> `Share` | `string` | [dictionaries/translateLocale.ts:14](https://github.com/d3plus/d3plus/blob/fe174c3153bf379a226e4a41b6a8492a86c3a1b7/packages/locales/src/dictionaries/translateLocale.ts#L14) |
|
|
171
|
+
| <a id="property-shiftclick-to-hide"></a> `Shift+Click to Hide` | `string` | [dictionaries/translateLocale.ts:15](https://github.com/d3plus/d3plus/blob/fe174c3153bf379a226e4a41b6a8492a86c3a1b7/packages/locales/src/dictionaries/translateLocale.ts#L15) |
|
|
172
|
+
| <a id="property-shiftclick-to-highlight"></a> `Shift+Click to Highlight` | `string` | [dictionaries/translateLocale.ts:16](https://github.com/d3plus/d3plus/blob/fe174c3153bf379a226e4a41b6a8492a86c3a1b7/packages/locales/src/dictionaries/translateLocale.ts#L16) |
|
|
173
|
+
| <a id="property-total"></a> `Total` | `string` | [dictionaries/translateLocale.ts:17](https://github.com/d3plus/d3plus/blob/fe174c3153bf379a226e4a41b6a8492a86c3a1b7/packages/locales/src/dictionaries/translateLocale.ts#L17) |
|
|
174
|
+
| <a id="property-values"></a> `Values` | `string` | [dictionaries/translateLocale.ts:18](https://github.com/d3plus/d3plus/blob/fe174c3153bf379a226e4a41b6a8492a86c3a1b7/packages/locales/src/dictionaries/translateLocale.ts#L18) |
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/**
|
|
2
2
|
@namespace {Object} formatLocale
|
|
3
|
-
|
|
4
|
-
*/
|
|
3
|
+
A set of default locale formatters used when assigning suffixes and currency in numbers.
|
|
4
|
+
*/ var formatLocale = {
|
|
5
5
|
"ar-SA": {
|
|
6
6
|
separator: "",
|
|
7
7
|
suffixes: [
|
|
@@ -11,17 +11,17 @@
|
|
|
11
11
|
"f",
|
|
12
12
|
"p",
|
|
13
13
|
"n",
|
|
14
|
-
"
|
|
14
|
+
"\u00b5",
|
|
15
15
|
"m",
|
|
16
16
|
"",
|
|
17
|
-
"
|
|
18
|
-
"
|
|
19
|
-
"
|
|
20
|
-
"
|
|
21
|
-
"
|
|
22
|
-
"
|
|
23
|
-
"
|
|
24
|
-
"
|
|
17
|
+
" \u0623\u0644\u0641",
|
|
18
|
+
" \u0645\u0644\u064a\u0648\u0646",
|
|
19
|
+
" \u0628\u0644\u064a\u0648\u0646",
|
|
20
|
+
" \u062a\u0631\u064a\u0644\u064a\u0648\u0646",
|
|
21
|
+
" \u0643\u0648\u0627\u062f\u0631\u064a\u0644\u064a\u0648\u0646",
|
|
22
|
+
" \u0643\u0648\u064a\u0646\u062a\u064a\u0644\u064a\u0648\u0646",
|
|
23
|
+
" \u0633\u0643\u0633\u062a\u0644\u064a\u0648\u0646",
|
|
24
|
+
"\u0633\u0628\u062a\u064a\u0644\u064a\u0648\u0646"
|
|
25
25
|
],
|
|
26
26
|
grouping: [
|
|
27
27
|
3
|
|
@@ -44,7 +44,7 @@
|
|
|
44
44
|
"f",
|
|
45
45
|
"p",
|
|
46
46
|
"n",
|
|
47
|
-
"
|
|
47
|
+
"\u00b5",
|
|
48
48
|
"m",
|
|
49
49
|
"",
|
|
50
50
|
"k",
|
|
@@ -64,7 +64,7 @@
|
|
|
64
64
|
decimal: "."
|
|
65
65
|
},
|
|
66
66
|
currency: [
|
|
67
|
-
"
|
|
67
|
+
"\u00a3",
|
|
68
68
|
""
|
|
69
69
|
]
|
|
70
70
|
},
|
|
@@ -77,7 +77,7 @@
|
|
|
77
77
|
"f",
|
|
78
78
|
"p",
|
|
79
79
|
"n",
|
|
80
|
-
"
|
|
80
|
+
"\u00b5",
|
|
81
81
|
"m",
|
|
82
82
|
"",
|
|
83
83
|
"k",
|
|
@@ -110,7 +110,7 @@
|
|
|
110
110
|
"f",
|
|
111
111
|
"p",
|
|
112
112
|
"n",
|
|
113
|
-
"
|
|
113
|
+
"\u00b5",
|
|
114
114
|
"m",
|
|
115
115
|
"",
|
|
116
116
|
" thousand",
|
|
@@ -143,7 +143,7 @@
|
|
|
143
143
|
"f",
|
|
144
144
|
"p",
|
|
145
145
|
"n",
|
|
146
|
-
"
|
|
146
|
+
"\u00b5",
|
|
147
147
|
"m",
|
|
148
148
|
"",
|
|
149
149
|
"k",
|
|
@@ -176,7 +176,7 @@
|
|
|
176
176
|
"f",
|
|
177
177
|
"p",
|
|
178
178
|
"n",
|
|
179
|
-
"
|
|
179
|
+
"\u00b5",
|
|
180
180
|
"m",
|
|
181
181
|
"",
|
|
182
182
|
"k",
|
|
@@ -209,7 +209,7 @@
|
|
|
209
209
|
"f",
|
|
210
210
|
"p",
|
|
211
211
|
"n",
|
|
212
|
-
"
|
|
212
|
+
"\u00b5",
|
|
213
213
|
"m",
|
|
214
214
|
"",
|
|
215
215
|
"k",
|
|
@@ -229,7 +229,7 @@
|
|
|
229
229
|
decimal: ","
|
|
230
230
|
},
|
|
231
231
|
currency: [
|
|
232
|
-
"
|
|
232
|
+
"\u20ac",
|
|
233
233
|
""
|
|
234
234
|
]
|
|
235
235
|
},
|
|
@@ -242,7 +242,7 @@
|
|
|
242
242
|
"f",
|
|
243
243
|
"p",
|
|
244
244
|
"n",
|
|
245
|
-
"
|
|
245
|
+
"\u00b5",
|
|
246
246
|
"m",
|
|
247
247
|
"",
|
|
248
248
|
"tuhat",
|
|
@@ -274,7 +274,7 @@
|
|
|
274
274
|
"f",
|
|
275
275
|
"p",
|
|
276
276
|
"n",
|
|
277
|
-
"
|
|
277
|
+
"\u00b5",
|
|
278
278
|
"m",
|
|
279
279
|
"",
|
|
280
280
|
"k",
|
|
@@ -294,30 +294,30 @@
|
|
|
294
294
|
decimal: ","
|
|
295
295
|
},
|
|
296
296
|
currency: [
|
|
297
|
-
"
|
|
297
|
+
"\u20ac",
|
|
298
298
|
""
|
|
299
299
|
]
|
|
300
300
|
},
|
|
301
301
|
"zh-CN": {
|
|
302
302
|
separator: "",
|
|
303
303
|
suffixes: [
|
|
304
|
-
"
|
|
305
|
-
"
|
|
306
|
-
"
|
|
307
|
-
"
|
|
308
|
-
"
|
|
309
|
-
"
|
|
310
|
-
"
|
|
311
|
-
"
|
|
304
|
+
"\u5e7a",
|
|
305
|
+
"\u4ed4",
|
|
306
|
+
"\u963f",
|
|
307
|
+
"\u98de",
|
|
308
|
+
"\u76ae",
|
|
309
|
+
"\u7eb3",
|
|
310
|
+
"\u5fae",
|
|
311
|
+
"\u6beb",
|
|
312
312
|
"",
|
|
313
|
-
"
|
|
314
|
-
"
|
|
315
|
-
"
|
|
316
|
-
"
|
|
317
|
-
"
|
|
318
|
-
"
|
|
319
|
-
"
|
|
320
|
-
"
|
|
313
|
+
"\u5343",
|
|
314
|
+
"\u5146",
|
|
315
|
+
"\u5409",
|
|
316
|
+
"\u592a",
|
|
317
|
+
"\u62cd",
|
|
318
|
+
"\u827e",
|
|
319
|
+
"\u6cfd",
|
|
320
|
+
"\u5c27"
|
|
321
321
|
],
|
|
322
322
|
grouping: [
|
|
323
323
|
3
|
|
@@ -327,8 +327,9 @@
|
|
|
327
327
|
decimal: "."
|
|
328
328
|
},
|
|
329
329
|
currency: [
|
|
330
|
-
"
|
|
330
|
+
"\u00a5",
|
|
331
331
|
""
|
|
332
332
|
]
|
|
333
333
|
}
|
|
334
334
|
};
|
|
335
|
+
export default formatLocale;
|