@d3plus/locales 3.1.5 → 4.0.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/README.md +68 -40
- package/es/index.js +1 -0
- package/es/index.js.map +1 -1
- package/es/src/dictionaries/titleCaseLocale.js +670 -0
- package/es/src/dictionaries/titleCaseLocale.js.map +1 -0
- package/package.json +1 -1
- package/types/index.d.ts +2 -0
- package/types/src/dictionaries/titleCaseLocale.d.ts +26 -0
- package/umd/d3plus-locales.full.js +654 -1
- package/umd/d3plus-locales.full.js.map +1 -1
- package/umd/d3plus-locales.full.min.js +20 -4
- package/umd/d3plus-locales.js +654 -1
- package/umd/d3plus-locales.js.map +1 -1
- package/umd/d3plus-locales.min.js +20 -4
package/README.md
CHANGED
|
@@ -36,12 +36,14 @@ Live examples can be found on [d3plus.org](https://d3plus.org/), which includes
|
|
|
36
36
|
| --- | --- |
|
|
37
37
|
| [`formatLocale`](#formatlocale) | |
|
|
38
38
|
| [`locale`](#locale) | |
|
|
39
|
+
| [`titleCaseLocale`](#titlecaselocale) | |
|
|
39
40
|
| [`translateLocale`](#translatelocale) | |
|
|
40
41
|
|
|
41
42
|
| Interfaces | Description |
|
|
42
43
|
| --- | --- |
|
|
43
44
|
| [`FormatLocaleDefinition`](#formatlocaledefinition) | formatLocale |
|
|
44
45
|
| [`TimeLocaleDefinition`](#timelocaledefinition) | |
|
|
46
|
+
| [`TitleCaseRules`](#titlecaserules) | |
|
|
45
47
|
| [`TranslationStrings`](#translationstrings) | |
|
|
46
48
|
|
|
47
49
|
## Functions
|
|
@@ -52,7 +54,7 @@ Live examples can be found on [d3plus.org](https://d3plus.org/), which includes
|
|
|
52
54
|
|
|
53
55
|
> **findLocale**(`locale`: `string`): `string`
|
|
54
56
|
|
|
55
|
-
Defined in: [findLocale.ts:49](https://github.com/d3plus/d3plus/blob/
|
|
57
|
+
Defined in: [findLocale.ts:49](https://github.com/d3plus/d3plus/blob/main/packages/locales/src/findLocale.ts#L49)
|
|
56
58
|
|
|
57
59
|
Converts a 2-letter language code into a full language-region locale string (e.g., "en" to "en-US").
|
|
58
60
|
|
|
@@ -74,7 +76,7 @@ Converts a 2-letter language code into a full language-region locale string (e.g
|
|
|
74
76
|
|
|
75
77
|
> `const` **formatLocale**: `Record`\<`string`, [`FormatLocaleDefinition`](#formatlocaledefinition)\>
|
|
76
78
|
|
|
77
|
-
Defined in: [dictionaries/formatLocale.ts:17](https://github.com/d3plus/d3plus/blob/
|
|
79
|
+
Defined in: [dictionaries/formatLocale.ts:17](https://github.com/d3plus/d3plus/blob/main/packages/locales/src/dictionaries/formatLocale.ts#L17)
|
|
78
80
|
|
|
79
81
|
***
|
|
80
82
|
|
|
@@ -84,7 +86,17 @@ Defined in: [dictionaries/formatLocale.ts:17](https://github.com/d3plus/d3plus/b
|
|
|
84
86
|
|
|
85
87
|
> `const` **locale**: `Record`\<`string`, [`TimeLocaleDefinition`](#timelocaledefinition)\>
|
|
86
88
|
|
|
87
|
-
Defined in: [dictionaries/timeLocale.ts:39](https://github.com/d3plus/d3plus/blob/
|
|
89
|
+
Defined in: [dictionaries/timeLocale.ts:39](https://github.com/d3plus/d3plus/blob/main/packages/locales/src/dictionaries/timeLocale.ts#L39)
|
|
90
|
+
|
|
91
|
+
***
|
|
92
|
+
|
|
93
|
+
<a id="titlecaselocale"></a>
|
|
94
|
+
|
|
95
|
+
### titleCaseLocale
|
|
96
|
+
|
|
97
|
+
> `const` **titleCaseLocale**: `Record`\<`string`, [`TitleCaseRules`](#titlecaserules)\>
|
|
98
|
+
|
|
99
|
+
Defined in: [dictionaries/titleCaseLocale.ts:35](https://github.com/d3plus/d3plus/blob/main/packages/locales/src/dictionaries/titleCaseLocale.ts#L35)
|
|
88
100
|
|
|
89
101
|
***
|
|
90
102
|
|
|
@@ -94,7 +106,7 @@ Defined in: [dictionaries/timeLocale.ts:39](https://github.com/d3plus/d3plus/blo
|
|
|
94
106
|
|
|
95
107
|
> `const` **translateLocale**: `Record`\<`string`, [`TranslationStrings`](#translationstrings)\>
|
|
96
108
|
|
|
97
|
-
Defined in: [dictionaries/translateLocale.ts:21](https://github.com/d3plus/d3plus/blob/
|
|
109
|
+
Defined in: [dictionaries/translateLocale.ts:21](https://github.com/d3plus/d3plus/blob/main/packages/locales/src/dictionaries/translateLocale.ts#L21)
|
|
98
110
|
|
|
99
111
|
## Interfaces
|
|
100
112
|
|
|
@@ -102,7 +114,7 @@ Defined in: [dictionaries/translateLocale.ts:21](https://github.com/d3plus/d3plu
|
|
|
102
114
|
|
|
103
115
|
### FormatLocaleDefinition
|
|
104
116
|
|
|
105
|
-
Defined in: [dictionaries/formatLocale.ts:6](https://github.com/d3plus/d3plus/blob/
|
|
117
|
+
Defined in: [dictionaries/formatLocale.ts:6](https://github.com/d3plus/d3plus/blob/main/packages/locales/src/dictionaries/formatLocale.ts#L6)
|
|
106
118
|
|
|
107
119
|
**`Namespace`**
|
|
108
120
|
|
|
@@ -113,13 +125,13 @@ A set of default locale formatters used when assigning suffixes and currency in
|
|
|
113
125
|
|
|
114
126
|
| Property | Type | Defined in |
|
|
115
127
|
| ------ | ------ | ------ |
|
|
116
|
-
| <a id="property-currency"></a> `currency` | \[`string`, `string`\] | [dictionaries/formatLocale.ts:14](https://github.com/d3plus/d3plus/blob/
|
|
117
|
-
| <a id="property-delimiters"></a> `delimiters` | `object` | [dictionaries/formatLocale.ts:10](https://github.com/d3plus/d3plus/blob/
|
|
118
|
-
| `delimiters.decimal` | `string` | [dictionaries/formatLocale.ts:12](https://github.com/d3plus/d3plus/blob/
|
|
119
|
-
| `delimiters.thousands` | `string` | [dictionaries/formatLocale.ts:11](https://github.com/d3plus/d3plus/blob/
|
|
120
|
-
| <a id="property-grouping"></a> `grouping` | `number`[] | [dictionaries/formatLocale.ts:9](https://github.com/d3plus/d3plus/blob/
|
|
121
|
-
| <a id="property-separator"></a> `separator?` | `string` | [dictionaries/formatLocale.ts:7](https://github.com/d3plus/d3plus/blob/
|
|
122
|
-
| <a id="property-suffixes"></a> `suffixes` | `string`[] | [dictionaries/formatLocale.ts:8](https://github.com/d3plus/d3plus/blob/
|
|
128
|
+
| <a id="property-currency"></a> `currency` | \[`string`, `string`\] | [dictionaries/formatLocale.ts:14](https://github.com/d3plus/d3plus/blob/main/packages/locales/src/dictionaries/formatLocale.ts#L14) |
|
|
129
|
+
| <a id="property-delimiters"></a> `delimiters` | `object` | [dictionaries/formatLocale.ts:10](https://github.com/d3plus/d3plus/blob/main/packages/locales/src/dictionaries/formatLocale.ts#L10) |
|
|
130
|
+
| `delimiters.decimal` | `string` | [dictionaries/formatLocale.ts:12](https://github.com/d3plus/d3plus/blob/main/packages/locales/src/dictionaries/formatLocale.ts#L12) |
|
|
131
|
+
| `delimiters.thousands` | `string` | [dictionaries/formatLocale.ts:11](https://github.com/d3plus/d3plus/blob/main/packages/locales/src/dictionaries/formatLocale.ts#L11) |
|
|
132
|
+
| <a id="property-grouping"></a> `grouping` | `number`[] | [dictionaries/formatLocale.ts:9](https://github.com/d3plus/d3plus/blob/main/packages/locales/src/dictionaries/formatLocale.ts#L9) |
|
|
133
|
+
| <a id="property-separator"></a> `separator?` | `string` | [dictionaries/formatLocale.ts:7](https://github.com/d3plus/d3plus/blob/main/packages/locales/src/dictionaries/formatLocale.ts#L7) |
|
|
134
|
+
| <a id="property-suffixes"></a> `suffixes` | `string`[] | [dictionaries/formatLocale.ts:8](https://github.com/d3plus/d3plus/blob/main/packages/locales/src/dictionaries/formatLocale.ts#L8) |
|
|
123
135
|
|
|
124
136
|
***
|
|
125
137
|
|
|
@@ -127,21 +139,37 @@ A set of default locale formatters used when assigning suffixes and currency in
|
|
|
127
139
|
|
|
128
140
|
### TimeLocaleDefinition
|
|
129
141
|
|
|
130
|
-
Defined in: [dictionaries/timeLocale.ts:1](https://github.com/d3plus/d3plus/blob/
|
|
142
|
+
Defined in: [dictionaries/timeLocale.ts:1](https://github.com/d3plus/d3plus/blob/main/packages/locales/src/dictionaries/timeLocale.ts#L1)
|
|
131
143
|
|
|
132
144
|
#### Properties
|
|
133
145
|
|
|
134
146
|
| Property | Type | Defined in |
|
|
135
147
|
| ------ | ------ | ------ |
|
|
136
|
-
| <a id="property-date"></a> `date` | `string` | [dictionaries/timeLocale.ts:3](https://github.com/d3plus/d3plus/blob/
|
|
137
|
-
| <a id="property-datetime"></a> `dateTime` | `string` | [dictionaries/timeLocale.ts:2](https://github.com/d3plus/d3plus/blob/
|
|
138
|
-
| <a id="property-days"></a> `days` | \[`string`, `string`, `string`, `string`, `string`, `string`, `string`\] | [dictionaries/timeLocale.ts:7](https://github.com/d3plus/d3plus/blob/
|
|
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/
|
|
140
|
-
| <a id="property-periods"></a> `periods` | \[`string`, `string`\] | [dictionaries/timeLocale.ts:6](https://github.com/d3plus/d3plus/blob/
|
|
141
|
-
| <a id="property-quarter"></a> `quarter` | `string` | [dictionaries/timeLocale.ts:5](https://github.com/d3plus/d3plus/blob/
|
|
142
|
-
| <a id="property-shortdays"></a> `shortDays` | \[`string`, `string`, `string`, `string`, `string`, `string`, `string`\] | [dictionaries/timeLocale.ts:8](https://github.com/d3plus/d3plus/blob/
|
|
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/
|
|
144
|
-
| <a id="property-time"></a> `time` | `string` | [dictionaries/timeLocale.ts:4](https://github.com/d3plus/d3plus/blob/
|
|
148
|
+
| <a id="property-date"></a> `date` | `string` | [dictionaries/timeLocale.ts:3](https://github.com/d3plus/d3plus/blob/main/packages/locales/src/dictionaries/timeLocale.ts#L3) |
|
|
149
|
+
| <a id="property-datetime"></a> `dateTime` | `string` | [dictionaries/timeLocale.ts:2](https://github.com/d3plus/d3plus/blob/main/packages/locales/src/dictionaries/timeLocale.ts#L2) |
|
|
150
|
+
| <a id="property-days"></a> `days` | \[`string`, `string`, `string`, `string`, `string`, `string`, `string`\] | [dictionaries/timeLocale.ts:7](https://github.com/d3plus/d3plus/blob/main/packages/locales/src/dictionaries/timeLocale.ts#L7) |
|
|
151
|
+
| <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/main/packages/locales/src/dictionaries/timeLocale.ts#L9) |
|
|
152
|
+
| <a id="property-periods"></a> `periods` | \[`string`, `string`\] | [dictionaries/timeLocale.ts:6](https://github.com/d3plus/d3plus/blob/main/packages/locales/src/dictionaries/timeLocale.ts#L6) |
|
|
153
|
+
| <a id="property-quarter"></a> `quarter` | `string` | [dictionaries/timeLocale.ts:5](https://github.com/d3plus/d3plus/blob/main/packages/locales/src/dictionaries/timeLocale.ts#L5) |
|
|
154
|
+
| <a id="property-shortdays"></a> `shortDays` | \[`string`, `string`, `string`, `string`, `string`, `string`, `string`\] | [dictionaries/timeLocale.ts:8](https://github.com/d3plus/d3plus/blob/main/packages/locales/src/dictionaries/timeLocale.ts#L8) |
|
|
155
|
+
| <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/main/packages/locales/src/dictionaries/timeLocale.ts#L23) |
|
|
156
|
+
| <a id="property-time"></a> `time` | `string` | [dictionaries/timeLocale.ts:4](https://github.com/d3plus/d3plus/blob/main/packages/locales/src/dictionaries/timeLocale.ts#L4) |
|
|
157
|
+
|
|
158
|
+
***
|
|
159
|
+
|
|
160
|
+
<a id="titlecaserules"></a>
|
|
161
|
+
|
|
162
|
+
### TitleCaseRules
|
|
163
|
+
|
|
164
|
+
Defined in: [dictionaries/titleCaseLocale.ts:1](https://github.com/d3plus/d3plus/blob/main/packages/locales/src/dictionaries/titleCaseLocale.ts#L1)
|
|
165
|
+
|
|
166
|
+
#### Properties
|
|
167
|
+
|
|
168
|
+
| Property | Type | Description | Defined in |
|
|
169
|
+
| ------ | ------ | ------ | ------ |
|
|
170
|
+
| <a id="property-acronyms"></a> `acronyms?` | `string`[] | Acronyms / initialisms emitted in the given canonical casing (matched case-insensitively, so "ceo" and "CEO" both become "CEO"). Mixed-case forms ("iOS", "GmbH", "PhD") are preserved as written. Plurals ("TVs") are derived automatically — so forms whose plural collides with a real word (e.g. "IDE" → "ides") are intentionally omitted. | [dictionaries/titleCaseLocale.ts:23](https://github.com/d3plus/d3plus/blob/main/packages/locales/src/dictionaries/titleCaseLocale.ts#L23) |
|
|
171
|
+
| <a id="property-lowercase"></a> `lowercase?` | `string`[] | Short function words (articles, conjunctions, prepositions, contractions) kept lowercase in the MIDDLE of a title. Matched case-insensitively and against the punctuation-stripped token, so "v" also covers "v." and "vs" covers "vs.". | [dictionaries/titleCaseLocale.ts:15](https://github.com/d3plus/d3plus/blob/main/packages/locales/src/dictionaries/titleCaseLocale.ts#L15) |
|
|
172
|
+
| <a id="property-style"></a> `style` | `"title"` \| `"sentence"` | "title" capitalizes each significant word, lowercasing the minor words in the middle (the English convention). "sentence" capitalizes only the first word. Acronyms are forced uppercase under both styles; the `lowercase` list is consulted only for "title". | [dictionaries/titleCaseLocale.ts:8](https://github.com/d3plus/d3plus/blob/main/packages/locales/src/dictionaries/titleCaseLocale.ts#L8) |
|
|
145
173
|
|
|
146
174
|
***
|
|
147
175
|
|
|
@@ -149,26 +177,26 @@ Defined in: [dictionaries/timeLocale.ts:1](https://github.com/d3plus/d3plus/blob
|
|
|
149
177
|
|
|
150
178
|
### TranslationStrings
|
|
151
179
|
|
|
152
|
-
Defined in: [dictionaries/translateLocale.ts:1](https://github.com/d3plus/d3plus/blob/
|
|
180
|
+
Defined in: [dictionaries/translateLocale.ts:1](https://github.com/d3plus/d3plus/blob/main/packages/locales/src/dictionaries/translateLocale.ts#L1)
|
|
153
181
|
|
|
154
182
|
#### Properties
|
|
155
183
|
|
|
156
184
|
| Property | Type | Defined in |
|
|
157
185
|
| ------ | ------ | ------ |
|
|
158
|
-
| <a id="property-and"></a> `and` | `string` | [dictionaries/translateLocale.ts:2](https://github.com/d3plus/d3plus/blob/
|
|
159
|
-
| <a id="property-back"></a> `Back` | `string` | [dictionaries/translateLocale.ts:3](https://github.com/d3plus/d3plus/blob/
|
|
160
|
-
| <a id="property-click-to-expand"></a> `Click to Expand` | `string` | [dictionaries/translateLocale.ts:4](https://github.com/d3plus/d3plus/blob/
|
|
161
|
-
| <a id="property-click-to-hide"></a> `Click to Hide` | `string` | [dictionaries/translateLocale.ts:5](https://github.com/d3plus/d3plus/blob/
|
|
162
|
-
| <a id="property-click-to-highlight"></a> `Click to Highlight` | `string` | [dictionaries/translateLocale.ts:6](https://github.com/d3plus/d3plus/blob/
|
|
163
|
-
| <a id="property-click-to-show"></a> `Click to Show` | `string` | [dictionaries/translateLocale.ts:7](https://github.com/d3plus/d3plus/blob/
|
|
164
|
-
| <a id="property-click-to-show-all"></a> `Click to Show All` | `string` | [dictionaries/translateLocale.ts:8](https://github.com/d3plus/d3plus/blob/
|
|
165
|
-
| <a id="property-download"></a> `Download` | `string` | [dictionaries/translateLocale.ts:9](https://github.com/d3plus/d3plus/blob/
|
|
166
|
-
| <a id="property-loading-visualization"></a> `Loading Visualization` | `string` | [dictionaries/translateLocale.ts:10](https://github.com/d3plus/d3plus/blob/
|
|
167
|
-
| <a id="property-more"></a> `more` | `string` | [dictionaries/translateLocale.ts:11](https://github.com/d3plus/d3plus/blob/
|
|
168
|
-
| <a id="property-no-data-available"></a> `No Data Available` | `string` | [dictionaries/translateLocale.ts:12](https://github.com/d3plus/d3plus/blob/
|
|
169
|
-
| <a id="property-powered-by-d3plus"></a> `Powered by D3plus` | `string` | [dictionaries/translateLocale.ts:13](https://github.com/d3plus/d3plus/blob/
|
|
170
|
-
| <a id="property-share"></a> `Share` | `string` | [dictionaries/translateLocale.ts:14](https://github.com/d3plus/d3plus/blob/
|
|
171
|
-
| <a id="property-shiftclick-to-hide"></a> `Shift+Click to Hide` | `string` | [dictionaries/translateLocale.ts:15](https://github.com/d3plus/d3plus/blob/
|
|
172
|
-
| <a id="property-shiftclick-to-highlight"></a> `Shift+Click to Highlight` | `string` | [dictionaries/translateLocale.ts:16](https://github.com/d3plus/d3plus/blob/
|
|
173
|
-
| <a id="property-total"></a> `Total` | `string` | [dictionaries/translateLocale.ts:17](https://github.com/d3plus/d3plus/blob/
|
|
174
|
-
| <a id="property-values"></a> `Values` | `string` | [dictionaries/translateLocale.ts:18](https://github.com/d3plus/d3plus/blob/
|
|
186
|
+
| <a id="property-and"></a> `and` | `string` | [dictionaries/translateLocale.ts:2](https://github.com/d3plus/d3plus/blob/main/packages/locales/src/dictionaries/translateLocale.ts#L2) |
|
|
187
|
+
| <a id="property-back"></a> `Back` | `string` | [dictionaries/translateLocale.ts:3](https://github.com/d3plus/d3plus/blob/main/packages/locales/src/dictionaries/translateLocale.ts#L3) |
|
|
188
|
+
| <a id="property-click-to-expand"></a> `Click to Expand` | `string` | [dictionaries/translateLocale.ts:4](https://github.com/d3plus/d3plus/blob/main/packages/locales/src/dictionaries/translateLocale.ts#L4) |
|
|
189
|
+
| <a id="property-click-to-hide"></a> `Click to Hide` | `string` | [dictionaries/translateLocale.ts:5](https://github.com/d3plus/d3plus/blob/main/packages/locales/src/dictionaries/translateLocale.ts#L5) |
|
|
190
|
+
| <a id="property-click-to-highlight"></a> `Click to Highlight` | `string` | [dictionaries/translateLocale.ts:6](https://github.com/d3plus/d3plus/blob/main/packages/locales/src/dictionaries/translateLocale.ts#L6) |
|
|
191
|
+
| <a id="property-click-to-show"></a> `Click to Show` | `string` | [dictionaries/translateLocale.ts:7](https://github.com/d3plus/d3plus/blob/main/packages/locales/src/dictionaries/translateLocale.ts#L7) |
|
|
192
|
+
| <a id="property-click-to-show-all"></a> `Click to Show All` | `string` | [dictionaries/translateLocale.ts:8](https://github.com/d3plus/d3plus/blob/main/packages/locales/src/dictionaries/translateLocale.ts#L8) |
|
|
193
|
+
| <a id="property-download"></a> `Download` | `string` | [dictionaries/translateLocale.ts:9](https://github.com/d3plus/d3plus/blob/main/packages/locales/src/dictionaries/translateLocale.ts#L9) |
|
|
194
|
+
| <a id="property-loading-visualization"></a> `Loading Visualization` | `string` | [dictionaries/translateLocale.ts:10](https://github.com/d3plus/d3plus/blob/main/packages/locales/src/dictionaries/translateLocale.ts#L10) |
|
|
195
|
+
| <a id="property-more"></a> `more` | `string` | [dictionaries/translateLocale.ts:11](https://github.com/d3plus/d3plus/blob/main/packages/locales/src/dictionaries/translateLocale.ts#L11) |
|
|
196
|
+
| <a id="property-no-data-available"></a> `No Data Available` | `string` | [dictionaries/translateLocale.ts:12](https://github.com/d3plus/d3plus/blob/main/packages/locales/src/dictionaries/translateLocale.ts#L12) |
|
|
197
|
+
| <a id="property-powered-by-d3plus"></a> `Powered by D3plus` | `string` | [dictionaries/translateLocale.ts:13](https://github.com/d3plus/d3plus/blob/main/packages/locales/src/dictionaries/translateLocale.ts#L13) |
|
|
198
|
+
| <a id="property-share"></a> `Share` | `string` | [dictionaries/translateLocale.ts:14](https://github.com/d3plus/d3plus/blob/main/packages/locales/src/dictionaries/translateLocale.ts#L14) |
|
|
199
|
+
| <a id="property-shiftclick-to-hide"></a> `Shift+Click to Hide` | `string` | [dictionaries/translateLocale.ts:15](https://github.com/d3plus/d3plus/blob/main/packages/locales/src/dictionaries/translateLocale.ts#L15) |
|
|
200
|
+
| <a id="property-shiftclick-to-highlight"></a> `Shift+Click to Highlight` | `string` | [dictionaries/translateLocale.ts:16](https://github.com/d3plus/d3plus/blob/main/packages/locales/src/dictionaries/translateLocale.ts#L16) |
|
|
201
|
+
| <a id="property-total"></a> `Total` | `string` | [dictionaries/translateLocale.ts:17](https://github.com/d3plus/d3plus/blob/main/packages/locales/src/dictionaries/translateLocale.ts#L17) |
|
|
202
|
+
| <a id="property-values"></a> `Values` | `string` | [dictionaries/translateLocale.ts:18](https://github.com/d3plus/d3plus/blob/main/packages/locales/src/dictionaries/translateLocale.ts#L18) |
|
package/es/index.js
CHANGED
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
export { default as translateLocale } from "./src/dictionaries/translateLocale.js";
|
|
2
2
|
export { default as formatLocale } from "./src/dictionaries/formatLocale.js";
|
|
3
|
+
export { default as titleCaseLocale } from "./src/dictionaries/titleCaseLocale.js";
|
|
3
4
|
export { default as locale } from "./src/dictionaries/timeLocale.js";
|
|
4
5
|
export { default as findLocale } from "./src/findLocale.js";
|
|
5
6
|
|
package/es/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../index.ts"],"sourcesContent":["export {default as translateLocale} from \"./src/dictionaries/translateLocale.js\";\nexport {default as formatLocale} from \"./src/dictionaries/formatLocale.js\";\nexport {default as locale} from \"./src/dictionaries/timeLocale.js\";\n\nexport {default as findLocale} from \"./src/findLocale.js\";\n\nexport type {TranslationStrings} from \"./src/dictionaries/translateLocale.js\";\nexport type {FormatLocaleDefinition} from \"./src/dictionaries/formatLocale.js\";\nexport type {TimeLocaleDefinition} from \"./src/dictionaries/timeLocale.js\";\n"],"names":["default","translateLocale","formatLocale","locale","findLocale"],"mappings":"AAAA,SAAQA,WAAWC,eAAe,QAAO,wCAAwC;AACjF,SAAQD,WAAWE,YAAY,QAAO,qCAAqC;AAC3E,SAAQF,WAAWG,MAAM,QAAO,mCAAmC;AAEnE,
|
|
1
|
+
{"version":3,"sources":["../index.ts"],"sourcesContent":["export {default as translateLocale} from \"./src/dictionaries/translateLocale.js\";\nexport {default as formatLocale} from \"./src/dictionaries/formatLocale.js\";\nexport {default as titleCaseLocale} from \"./src/dictionaries/titleCaseLocale.js\";\nexport {default as locale} from \"./src/dictionaries/timeLocale.js\";\n\nexport {default as findLocale} from \"./src/findLocale.js\";\n\nexport type {TranslationStrings} from \"./src/dictionaries/translateLocale.js\";\nexport type {FormatLocaleDefinition} from \"./src/dictionaries/formatLocale.js\";\nexport type {TitleCaseRules} from \"./src/dictionaries/titleCaseLocale.js\";\nexport type {TimeLocaleDefinition} from \"./src/dictionaries/timeLocale.js\";\n"],"names":["default","translateLocale","formatLocale","titleCaseLocale","locale","findLocale"],"mappings":"AAAA,SAAQA,WAAWC,eAAe,QAAO,wCAAwC;AACjF,SAAQD,WAAWE,YAAY,QAAO,qCAAqC;AAC3E,SAAQF,WAAWG,eAAe,QAAO,wCAAwC;AACjF,SAAQH,WAAWI,MAAM,QAAO,mCAAmC;AAEnE,SAAQJ,WAAWK,UAAU,QAAO,sBAAsB"}
|