@pie-lib/translator 4.0.2-next.1 → 4.0.3-next.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/CHANGELOG.md DELETED
@@ -1,304 +0,0 @@
1
- # Change Log
2
-
3
- All notable changes to this project will be documented in this file.
4
- See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
5
-
6
- ## [4.0.2-next.1](https://github.com/pie-framework/pie-lib/compare/@pie-lib/translator@4.0.2-next.0...@pie-lib/translator@4.0.2-next.1) (2026-05-07)
7
-
8
- **Note:** Version bump only for package @pie-lib/translator
9
-
10
- ## [4.0.2-next.0](https://github.com/pie-framework/pie-lib/compare/@pie-lib/translator@3.2.0-next.3...@pie-lib/translator@4.0.2-next.0) (2026-05-06)
11
-
12
- **Note:** Version bump only for package @pie-lib/translator
13
-
14
- ## [4.0.1](https://github.com/pie-framework/pie-lib/compare/@pie-lib/translator@4.0.0...@pie-lib/translator@4.0.1) (2026-04-28)
15
-
16
- **Note:** Version bump only for package @pie-lib/translator
17
-
18
- # [3.2.0-next.3](https://github.com/pie-framework/pie-lib/compare/@pie-lib/translator@3.2.0-next.1...@pie-lib/translator@3.2.0-next.3) (2026-02-26)
19
-
20
- **Note:** Version bump only for package @pie-lib/translator
21
-
22
- # [3.1.0-next.3](https://github.com/pie-framework/pie-lib/compare/@pie-lib/translator@3.1.0-next.1...@pie-lib/translator@3.1.0-next.3) (2026-01-27)
23
-
24
- **Note:** Version bump only for package @pie-lib/translator
25
-
26
- # [3.1.0-next.1](https://github.com/pie-framework/pie-lib/compare/@pie-lib/translator@2.23.1...@pie-lib/translator@3.1.0-next.1) (2026-01-26)
27
-
28
- ### Bug Fixes
29
-
30
- - remove exports and publish ([#2068](https://github.com/pie-framework/pie-lib/issues/2068)) ([60a96cd](https://github.com/pie-framework/pie-lib/commit/60a96cde0ec65f6b1cac0ae329aa33a0abc50d05))
31
-
32
- ### Features
33
-
34
- - bump react and react-dom ([01dc19e](https://github.com/pie-framework/pie-lib/commit/01dc19e88bbc8d372c561d1511df1a82937d45af))
35
- - PD-5258 wip Material-UI migration ([25e60f3](https://github.com/pie-framework/pie-lib/commit/25e60f32602bfd7bfc8b4f9d2dcc3a3cd664e72b))
36
- - sync latest changes from dev ([c936e9c](https://github.com/pie-framework/pie-lib/commit/c936e9c7f9e095e7d9b9805ac2bf72bd271e05f1))
37
-
38
- # [3.0.0-next.0](https://github.com/pie-framework/pie-lib/compare/@pie-lib/translator@2.23.2-next.0...@pie-lib/translator@3.0.0-next.0) (2026-01-19)
39
-
40
- **Note:** Version bump only for package @pie-lib/translator
41
-
42
- ## [2.23.2-next.0](https://github.com/pie-framework/pie-lib/compare/@pie-lib/translator@2.38.0-mui-update.0...@pie-lib/translator@2.23.2-next.0) (2026-01-19)
43
-
44
- **Note:** Version bump only for package @pie-lib/translator
45
-
46
- ## [2.23.1](https://github.com/pie-framework/pie-lib/compare/@pie-lib/translator@2.19.0...@pie-lib/translator@2.23.1) (2025-10-22)
47
-
48
- **Note:** Version bump only for package @pie-lib/translator
49
-
50
- # [2.23.0](https://github.com/pie-framework/pie-lib/compare/@pie-lib/translator@2.19.0...@pie-lib/translator@2.23.0) (2025-10-16)
51
-
52
- **Note:** Version bump only for package @pie-lib/translator
53
-
54
- # [2.22.0](https://github.com/pie-framework/pie-lib/compare/@pie-lib/translator@2.19.0...@pie-lib/translator@2.22.0) (2025-10-16)
55
-
56
- **Note:** Version bump only for package @pie-lib/translator
57
-
58
- # [2.21.0](https://github.com/pie-framework/pie-lib/compare/@pie-lib/translator@2.19.0...@pie-lib/translator@2.21.0) (2025-10-16)
59
-
60
- **Note:** Version bump only for package @pie-lib/translator
61
-
62
- # [2.20.0](https://github.com/pie-framework/pie-lib/compare/@pie-lib/translator@2.19.0...@pie-lib/translator@2.20.0) (2025-10-16)
63
-
64
- **Note:** Version bump only for package @pie-lib/translator
65
-
66
- # [2.19.0](https://github.com/pie-framework/pie-lib/compare/@pie-lib/translator@2.3.0...@pie-lib/translator@2.19.0) (2025-09-25)
67
-
68
- ### Bug Fixes
69
-
70
- - fixed pie-lib/icons import [PD-5126](<[dcb506c](https://github.com/pie-framework/pie-lib/commit/dcb506c914a177f6d88bf73247a023bfe71dac1f)>)
71
-
72
- ### Features
73
-
74
- - split pie-toolbox into multiple packages [PD-5126](<[7d55a25](https://github.com/pie-framework/pie-lib/commit/7d55a2552d084cd3d0d5c00dc77411b2ced2f5e2)>)
75
-
76
- # [2.18.0](https://github.com/pie-framework/pie-lib/compare/@pie-lib/translator@2.17.0...@pie-lib/translator@2.18.0) (2025-09-18)
77
-
78
- **Note:** Version bump only for package @pie-lib/translator
79
-
80
- # [2.17.0](https://github.com/pie-framework/pie-lib/compare/@pie-lib/translator@2.16.0...@pie-lib/translator@2.17.0) (2025-09-18)
81
-
82
- **Note:** Version bump only for package @pie-lib/translator
83
-
84
- # [2.16.0](https://github.com/pie-framework/pie-lib/compare/@pie-lib/translator@2.3.0...@pie-lib/translator@2.16.0) (2025-09-18)
85
-
86
- ### Bug Fixes
87
-
88
- - fixed pie-lib/icons import [PD-5126](<[dcb506c](https://github.com/pie-framework/pie-lib/commit/dcb506c914a177f6d88bf73247a023bfe71dac1f)>)
89
-
90
- ### Features
91
-
92
- - split pie-toolbox into multiple packages [PD-5126](<[7d55a25](https://github.com/pie-framework/pie-lib/commit/7d55a2552d084cd3d0d5c00dc77411b2ced2f5e2)>)
93
-
94
- # [2.15.0](https://github.com/pie-framework/pie-lib/compare/@pie-lib/translator@2.14.0...@pie-lib/translator@2.15.0) (2025-09-17)
95
-
96
- **Note:** Version bump only for package @pie-lib/translator
97
-
98
- # [2.14.0](https://github.com/pie-framework/pie-lib/compare/@pie-lib/translator@2.13.0...@pie-lib/translator@2.14.0) (2025-09-17)
99
-
100
- **Note:** Version bump only for package @pie-lib/translator
101
-
102
- # [2.13.0](https://github.com/pie-framework/pie-lib/compare/@pie-lib/translator@2.12.1...@pie-lib/translator@2.13.0) (2025-09-17)
103
-
104
- **Note:** Version bump only for package @pie-lib/translator
105
-
106
- ## [2.12.1](https://github.com/pie-framework/pie-lib/compare/@pie-lib/translator@2.3.0...@pie-lib/translator@2.12.1) (2025-08-11)
107
-
108
- ### Bug Fixes
109
-
110
- - fixed pie-lib/icons import [PD-5126](<[dcb506c](https://github.com/pie-framework/pie-lib/commit/dcb506c914a177f6d88bf73247a023bfe71dac1f)>)
111
-
112
- ### Features
113
-
114
- - split pie-toolbox into multiple packages [PD-5126](<[7d55a25](https://github.com/pie-framework/pie-lib/commit/7d55a2552d084cd3d0d5c00dc77411b2ced2f5e2)>)
115
-
116
- # [2.12.0](https://github.com/pie-framework/pie-lib/compare/@pie-lib/translator@2.3.0...@pie-lib/translator@2.12.0) (2025-08-07)
117
-
118
- ### Features
119
-
120
- - split pie-toolbox into multiple packages [PD-5126](<[7d55a25](https://github.com/pie-framework/pie-lib/commit/7d55a2552d084cd3d0d5c00dc77411b2ced2f5e2)>)
121
-
122
- # [2.11.0](https://github.com/pie-framework/pie-lib/compare/@pie-lib/translator@2.3.0...@pie-lib/translator@2.11.0) (2025-07-31)
123
-
124
- **Note:** Version bump only for package @pie-lib/translator
125
-
126
- # [2.10.0](https://github.com/pie-framework/pie-lib/compare/@pie-lib/translator@2.3.0...@pie-lib/translator@2.10.0) (2025-07-31)
127
-
128
- **Note:** Version bump only for package @pie-lib/translator
129
-
130
- # [2.9.0](https://github.com/pie-framework/pie-lib/compare/@pie-lib/translator@2.3.0...@pie-lib/translator@2.9.0) (2025-07-31)
131
-
132
- **Note:** Version bump only for package @pie-lib/translator
133
-
134
- # [2.8.0](https://github.com/pie-framework/pie-lib/compare/@pie-lib/translator@2.3.0...@pie-lib/translator@2.8.0) (2025-07-31)
135
-
136
- **Note:** Version bump only for package @pie-lib/translator
137
-
138
- # [2.7.0](https://github.com/pie-framework/pie-lib/compare/@pie-lib/translator@2.3.0...@pie-lib/translator@2.7.0) (2025-07-31)
139
-
140
- **Note:** Version bump only for package @pie-lib/translator
141
-
142
- # [2.6.0](https://github.com/pie-framework/pie-lib/compare/@pie-lib/translator@2.3.0...@pie-lib/translator@2.6.0) (2025-07-31)
143
-
144
- **Note:** Version bump only for package @pie-lib/translator
145
-
146
- # [2.8.0](https://github.com/pie-framework/pie-lib/compare/@pie-lib/translator@2.3.0...@pie-lib/translator@2.8.0) (2025-07-31)
147
-
148
- **Note:** Version bump only for package @pie-lib/translator
149
-
150
- # [2.7.0](https://github.com/pie-framework/pie-lib/compare/@pie-lib/translator@2.3.0...@pie-lib/translator@2.7.0) (2025-07-31)
151
-
152
- **Note:** Version bump only for package @pie-lib/translator
153
-
154
- # [2.6.0](https://github.com/pie-framework/pie-lib/compare/@pie-lib/translator@2.3.0...@pie-lib/translator@2.6.0) (2025-07-31)
155
-
156
- **Note:** Version bump only for package @pie-lib/translator
157
-
158
- # [2.7.0](https://github.com/pie-framework/pie-lib/compare/@pie-lib/translator@2.3.0...@pie-lib/translator@2.7.0) (2025-07-31)
159
-
160
- **Note:** Version bump only for package @pie-lib/translator
161
-
162
- # [2.6.0](https://github.com/pie-framework/pie-lib/compare/@pie-lib/translator@2.3.0...@pie-lib/translator@2.6.0) (2025-07-31)
163
-
164
- **Note:** Version bump only for package @pie-lib/translator
165
-
166
- # [2.5.0](https://github.com/pie-framework/pie-lib/compare/@pie-lib/translator@2.3.0...@pie-lib/translator@2.5.0) (2025-07-31)
167
-
168
- **Note:** Version bump only for package @pie-lib/translator
169
-
170
- # [2.5.0](https://github.com/pie-framework/pie-lib/compare/@pie-lib/translator@2.3.0...@pie-lib/translator@2.5.0) (2025-07-31)
171
-
172
- **Note:** Version bump only for package @pie-lib/translator
173
-
174
- # [2.6.0](https://github.com/pie-framework/pie-lib/compare/@pie-lib/translator@2.3.0...@pie-lib/translator@2.6.0) (2025-07-31)
175
-
176
- **Note:** Version bump only for package @pie-lib/translator
177
-
178
- # [2.5.0](https://github.com/pie-framework/pie-lib/compare/@pie-lib/translator@2.3.0...@pie-lib/translator@2.5.0) (2025-07-31)
179
-
180
- **Note:** Version bump only for package @pie-lib/translator
181
-
182
- # [2.4.0-beta.8](https://github.com/pie-framework/pie-lib/compare/@pie-lib/translator@2.3.0...@pie-lib/translator@2.4.0-beta.8) (2025-07-25)
183
-
184
- **Note:** Version bump only for package @pie-lib/translator
185
-
186
- # [2.4.0-beta.7](https://github.com/pie-framework/pie-lib/compare/@pie-lib/translator@2.3.0...@pie-lib/translator@2.4.0-beta.7) (2025-07-25)
187
-
188
- **Note:** Version bump only for package @pie-lib/translator
189
-
190
- # [2.4.0-beta.7](https://github.com/pie-framework/pie-lib/compare/@pie-lib/translator@2.3.0...@pie-lib/translator@2.4.0-beta.7) (2025-07-25)
191
-
192
- **Note:** Version bump only for package @pie-lib/translator
193
-
194
- # [2.4.0-beta.6](https://github.com/pie-framework/pie-lib/compare/@pie-lib/translator@2.3.0...@pie-lib/translator@2.4.0-beta.6) (2025-07-25)
195
-
196
- **Note:** Version bump only for package @pie-lib/translator
197
-
198
- # [2.4.0-beta.6](https://github.com/pie-framework/pie-lib/compare/@pie-lib/translator@2.3.0...@pie-lib/translator@2.4.0-beta.6) (2025-07-25)
199
-
200
- **Note:** Version bump only for package @pie-lib/translator
201
-
202
- # [2.4.0-beta.5](https://github.com/pie-framework/pie-lib/compare/@pie-lib/translator@2.3.0...@pie-lib/translator@2.4.0-beta.5) (2025-07-25)
203
-
204
- **Note:** Version bump only for package @pie-lib/translator
205
-
206
- # [2.4.0-beta.5](https://github.com/pie-framework/pie-lib/compare/@pie-lib/translator@2.3.0...@pie-lib/translator@2.4.0-beta.5) (2025-07-25)
207
-
208
- **Note:** Version bump only for package @pie-lib/translator
209
-
210
- # [2.4.0-beta.4](https://github.com/pie-framework/pie-lib/compare/@pie-lib/translator@2.3.0...@pie-lib/translator@2.4.0-beta.4) (2025-07-25)
211
-
212
- **Note:** Version bump only for package @pie-lib/translator
213
-
214
- # [2.4.0-beta.3](https://github.com/pie-framework/pie-lib/compare/@pie-lib/translator@2.3.0...@pie-lib/translator@2.4.0-beta.3) (2025-07-25)
215
-
216
- **Note:** Version bump only for package @pie-lib/translator
217
-
218
- # [2.4.0-beta.4](https://github.com/pie-framework/pie-lib/compare/@pie-lib/translator@2.3.0...@pie-lib/translator@2.4.0-beta.4) (2025-07-23)
219
-
220
- **Note:** Version bump only for package @pie-lib/translator
221
-
222
- # [2.4.0-beta.3](https://github.com/pie-framework/pie-lib/compare/@pie-lib/translator@2.3.0...@pie-lib/translator@2.4.0-beta.3) (2025-07-23)
223
-
224
- **Note:** Version bump only for package @pie-lib/translator
225
-
226
- # [2.4.0-beta.3](https://github.com/pie-framework/pie-lib/compare/@pie-lib/translator@2.3.0...@pie-lib/translator@2.4.0-beta.3) (2025-07-20)
227
-
228
- **Note:** Version bump only for package @pie-lib/translator
229
-
230
- # [2.4.0-beta.2](https://github.com/pie-framework/pie-lib/compare/@pie-lib/translator@2.3.0...@pie-lib/translator@2.4.0-beta.2) (2025-07-20)
231
-
232
- **Note:** Version bump only for package @pie-lib/translator
233
-
234
- # [2.4.0-beta.1](https://github.com/pie-framework/pie-lib/compare/@pie-lib/translator@2.3.0...@pie-lib/translator@2.4.0-beta.1) (2025-07-20)
235
-
236
- **Note:** Version bump only for package @pie-lib/translator
237
-
238
- # [2.4.0-beta.2](https://github.com/pie-framework/pie-lib/compare/@pie-lib/translator@2.3.0...@pie-lib/translator@2.4.0-beta.2) (2025-07-20)
239
-
240
- **Note:** Version bump only for package @pie-lib/translator
241
-
242
- # [2.4.0-beta.1](https://github.com/pie-framework/pie-lib/compare/@pie-lib/translator@2.3.0...@pie-lib/translator@2.4.0-beta.1) (2025-07-20)
243
-
244
- **Note:** Version bump only for package @pie-lib/translator
245
-
246
- # [2.4.0-beta.1](https://github.com/pie-framework/pie-lib/compare/@pie-lib/translator@2.3.0...@pie-lib/translator@2.4.0-beta.1) (2025-07-20)
247
-
248
- **Note:** Version bump only for package @pie-lib/translator
249
-
250
- # [2.4.0-beta.0](https://github.com/pie-framework/pie-lib/compare/@pie-lib/translator@2.3.0...@pie-lib/translator@2.4.0-beta.0) (2025-07-20)
251
-
252
- **Note:** Version bump only for package @pie-lib/translator
253
-
254
- # [2.5.0-beta.0](https://github.com/pie-framework/pie-lib/compare/@pie-lib/translator@2.3.0...@pie-lib/translator@2.5.0-beta.0) (2025-07-15)
255
-
256
- **Note:** Version bump only for package @pie-lib/translator
257
-
258
- # [2.4.0-beta.0](https://github.com/pie-framework/pie-lib/compare/@pie-lib/translator@2.3.0...@pie-lib/translator@2.4.0-beta.0) (2025-07-15)
259
-
260
- **Note:** Version bump only for package @pie-lib/translator
261
-
262
- # [2.3.0](https://github.com/pie-framework/pie-lib/compare/@pie-lib/translator@2.2.0...@pie-lib/translator@2.3.0) (2023-09-18)
263
-
264
- ### Features
265
-
266
- - **translator, text-select:** add translations for new text-select legend PD-3162 ([20ee2c1](https://github.com/pie-framework/pie-lib/commit/20ee2c17873985fa06b4b58cf781742a5923b532))
267
-
268
- # [2.2.0](https://github.com/pie-framework/pie-lib/compare/@pie-lib/translator@2.1.1...@pie-lib/translator@2.2.0) (2023-08-07)
269
-
270
- ### Features
271
-
272
- - **correct-answer-toggle:** add translations PD-2802 ([b53b653](https://github.com/pie-framework/pie-lib/commit/b53b653246deea3f67328b37feeb17787181e590))
273
-
274
- ## [2.1.1](https://github.com/pie-framework/pie-lib/compare/@pie-lib/translator@2.1.0...@pie-lib/translator@2.1.1) (2023-06-24)
275
-
276
- **Note:** Version bump only for package @pie-lib/translator
277
-
278
- # [2.1.0](https://github.com/pie-framework/pie-lib/compare/@pie-lib/translator@2.0.0...@pie-lib/translator@2.1.0) (2023-06-13)
279
-
280
- ### Features
281
-
282
- - **charting, translator:** add translator to charting. add missing text in translator ([2c722a2](https://github.com/pie-framework/pie-lib/commit/2c722a241deb1ad4b51aa22c6eba74a0ec8a5ec0))
283
-
284
- # [2.0.0](https://github.com/pie-framework/pie-lib/compare/@pie-lib/translator@1.2.0...@pie-lib/translator@2.0.0) (2023-06-06)
285
-
286
- ### Features
287
-
288
- - expanded translator by exposing languageOptions PD-2795 ([4d3167b](https://github.com/pie-framework/pie-lib/commit/4d3167bcdc106bc87f05c3ff0fafab7800be7a1d))
289
-
290
- ### BREAKING CHANGES
291
-
292
- - The translator is now inside the returned object, not the object itself.
293
-
294
- # [1.2.0](https://github.com/pie-framework/pie-lib/compare/@pie-lib/translator@1.1.0...@pie-lib/translator@1.2.0) (2023-06-06)
295
-
296
- ### Features
297
-
298
- - added translator package for graphing PD-1208 ([99d1ad7](https://github.com/pie-framework/pie-lib/commit/99d1ad796707d2d613c4776df7d06e94c33fe07c))
299
-
300
- # 1.1.0 (2023-06-05)
301
-
302
- ### Features
303
-
304
- - added translator package PD-2527 ([6797c71](https://github.com/pie-framework/pie-lib/commit/6797c71dec3fc973ebf696701aae5e8d1db537f9))
package/LICENSE.md DELETED
@@ -1,5 +0,0 @@
1
- Copyright 2019 CoreSpring Inc
2
-
3
- Permission to use, copy, modify, and/or distribute this software for any purpose with or without fee is hereby granted, provided that the above copyright notice and this permission notice appear in all copies.
4
-
5
- THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
package/lib/en.js DELETED
@@ -1,101 +0,0 @@
1
- "use strict";
2
-
3
- Object.defineProperty(exports, "__esModule", {
4
- value: true
5
- });
6
- exports["default"] = void 0;
7
- var _default = exports["default"] = {
8
- translation: {
9
- categorize: {
10
- limitMaxChoicesPerCategory: 'You\'ve reached the limit of {{maxChoicesPerCategory}} responses per area. To add another response, one must first be removed.',
11
- maxChoicesPerCategoryRestriction: 'To change this value to {{maxChoicesPerCategory}}, each category must have {{maxChoicesPerCategory}} or fewer answer choice[s].'
12
- },
13
- ebsr: {
14
- part: 'Part {{index}}'
15
- },
16
- numberLine: {
17
- addElementLimit_one: 'You can only add {{count}} element',
18
- addElementLimit_other: 'You can only add {{count}} elements',
19
- clearAll: 'Clear all'
20
- },
21
- imageClozeAssociation: {
22
- reachedLimit_one: 'You’ve reached the limit of {{count}} response per area. To add another response, one must first be removed.',
23
- reachedLimit_other: 'Full'
24
- },
25
- drawingResponse: {
26
- fillColor: 'Fill color',
27
- outlineColor: 'Outline color',
28
- noFill: 'No fill',
29
- lightblue: 'Light blue',
30
- lightyellow: 'Light yellow',
31
- red: 'Red',
32
- orange: 'Orange',
33
- yellow: 'Yellow',
34
- violet: 'Violet',
35
- blue: 'Blue',
36
- green: 'Green',
37
- white: 'White',
38
- black: 'Black',
39
- onDoubleClick: 'Double click to edit this text. Press Enter to submit.'
40
- },
41
- charting: {
42
- addCategory: 'Add category',
43
- actions: 'Actions',
44
- add: 'Add',
45
- "delete": 'Delete',
46
- newLabel: 'New label',
47
- reachedLimit_other: "There can't be more than {{count}} categories.",
48
- keyLegend: {
49
- incorrectAnswer: 'Student incorrect answer',
50
- correctAnswer: 'Student correct answer',
51
- correctKeyAnswer: 'Answer key correct'
52
- }
53
- },
54
- graphing: {
55
- point: 'Point',
56
- circle: 'Circle',
57
- line: 'Line',
58
- parabola: 'Parabola',
59
- absolute: 'Absolute Value',
60
- exponential: 'Exponential',
61
- polygon: 'Polygon',
62
- ray: 'Ray',
63
- segment: 'Segment',
64
- sine: 'Sine',
65
- vector: 'Vector',
66
- label: 'Label',
67
- redo: 'Redo',
68
- reset: 'Reset'
69
- },
70
- mathInline: {
71
- primaryCorrectWithAlternates: 'Note: The answer shown above is the primary correct answer specified by the author for this item, but other answers may also be recognized as correct.'
72
- },
73
- multipleChoice: {
74
- minSelections: 'Select at least {{minSelections}}.',
75
- maxSelections_one: 'Only {{maxSelections}} answer is allowed.',
76
- maxSelections_other: 'Only {{maxSelections}} answers are allowed.',
77
- minmaxSelections_equal: 'Select {{minSelections}}.',
78
- minmaxSelections_range: 'Select between {{minSelections}} and {{maxSelections}}.'
79
- },
80
- selectText: {
81
- correctAnswerSelected: 'Correct',
82
- correctAnswerNotSelected: 'Correct Answer Not Selected',
83
- incorrectSelection: 'Incorrect Selection',
84
- key: 'Key'
85
- }
86
- },
87
- common: {
88
- undo: 'Undo',
89
- clearAll: 'Clear all',
90
- correct: 'Correct',
91
- incorrect: 'Incorrect',
92
- showCorrectAnswer: 'Show correct answer',
93
- hideCorrectAnswer: 'Hide correct answer',
94
- commonCorrectAnswerWithAlternates: 'Note: The answer shown above is the most common correct answer for this item. One or more additional correct answers are also defined, and will also be recognized as correct.',
95
- warning: 'Warning',
96
- showNote: 'Show Note',
97
- hideNote: 'Hide Note',
98
- cancel: 'Cancel'
99
- }
100
- };
101
- //# sourceMappingURL=en.js.map
package/lib/en.js.map DELETED
@@ -1 +0,0 @@
1
- {"version":3,"file":"en.js","names":["translation","categorize","limitMaxChoicesPerCategory","maxChoicesPerCategoryRestriction","ebsr","part","numberLine","addElementLimit_one","addElementLimit_other","clearAll","imageClozeAssociation","reachedLimit_one","reachedLimit_other","drawingResponse","fillColor","outlineColor","noFill","lightblue","lightyellow","red","orange","yellow","violet","blue","green","white","black","onDoubleClick","charting","addCategory","actions","add","newLabel","keyLegend","incorrectAnswer","correctAnswer","correctKeyAnswer","graphing","point","circle","line","parabola","absolute","exponential","polygon","ray","segment","sine","vector","label","redo","reset","mathInline","primaryCorrectWithAlternates","multipleChoice","minSelections","maxSelections_one","maxSelections_other","minmaxSelections_equal","minmaxSelections_range","selectText","correctAnswerSelected","correctAnswerNotSelected","incorrectSelection","key","common","undo","correct","incorrect","showCorrectAnswer","hideCorrectAnswer","commonCorrectAnswerWithAlternates","warning","showNote","hideNote","cancel"],"sources":["../src/en.js"],"sourcesContent":["export default {\n translation: {\n categorize: {\n limitMaxChoicesPerCategory:\n 'You\\'ve reached the limit of {{maxChoicesPerCategory}} responses per area. To add another response, one must first be removed.',\n maxChoicesPerCategoryRestriction:\n 'To change this value to {{maxChoicesPerCategory}}, each category must have {{maxChoicesPerCategory}} or fewer answer choice[s].',\n },\n ebsr: {\n part: 'Part {{index}}',\n },\n numberLine: {\n addElementLimit_one: 'You can only add {{count}} element',\n addElementLimit_other: 'You can only add {{count}} elements',\n clearAll: 'Clear all',\n },\n imageClozeAssociation: {\n reachedLimit_one:\n 'You’ve reached the limit of {{count}} response per area. To add another response, one must first be removed.',\n reachedLimit_other: 'Full',\n },\n drawingResponse: {\n fillColor: 'Fill color',\n outlineColor: 'Outline color',\n noFill: 'No fill',\n lightblue: 'Light blue',\n lightyellow: 'Light yellow',\n red: 'Red',\n orange: 'Orange',\n yellow: 'Yellow',\n violet: 'Violet',\n blue: 'Blue',\n green: 'Green',\n white: 'White',\n black: 'Black',\n onDoubleClick: 'Double click to edit this text. Press Enter to submit.',\n },\n charting: {\n addCategory: 'Add category',\n actions: 'Actions',\n add: 'Add',\n delete: 'Delete',\n newLabel: 'New label',\n reachedLimit_other: \"There can't be more than {{count}} categories.\",\n keyLegend: {\n incorrectAnswer: 'Student incorrect answer',\n correctAnswer: 'Student correct answer',\n correctKeyAnswer: 'Answer key correct',\n },\n },\n graphing: {\n point: 'Point',\n circle: 'Circle',\n line: 'Line',\n parabola: 'Parabola',\n absolute: 'Absolute Value',\n exponential: 'Exponential',\n polygon: 'Polygon',\n ray: 'Ray',\n segment: 'Segment',\n sine: 'Sine',\n vector: 'Vector',\n label: 'Label',\n redo: 'Redo',\n reset: 'Reset',\n },\n mathInline: {\n primaryCorrectWithAlternates:\n 'Note: The answer shown above is the primary correct answer specified by the author for this item, but other answers may also be recognized as correct.',\n },\n multipleChoice: {\n minSelections: 'Select at least {{minSelections}}.',\n maxSelections_one: 'Only {{maxSelections}} answer is allowed.',\n maxSelections_other: 'Only {{maxSelections}} answers are allowed.',\n minmaxSelections_equal: 'Select {{minSelections}}.',\n minmaxSelections_range: 'Select between {{minSelections}} and {{maxSelections}}.',\n },\n selectText: {\n correctAnswerSelected: 'Correct',\n correctAnswerNotSelected: 'Correct Answer Not Selected',\n incorrectSelection: 'Incorrect Selection',\n key: 'Key',\n },\n },\n common: {\n undo: 'Undo',\n clearAll: 'Clear all',\n correct: 'Correct',\n incorrect: 'Incorrect',\n showCorrectAnswer: 'Show correct answer',\n hideCorrectAnswer: 'Hide correct answer',\n commonCorrectAnswerWithAlternates:\n 'Note: The answer shown above is the most common correct answer for this item. One or more additional correct answers are also defined, and will also be recognized as correct.',\n warning: 'Warning',\n showNote: 'Show Note',\n hideNote: 'Hide Note',\n cancel: 'Cancel',\n },\n};\n"],"mappings":";;;;;;oCAAe;EACbA,WAAW,EAAE;IACXC,UAAU,EAAE;MACVC,0BAA0B,EACxB,gIAAgI;MAClIC,gCAAgC,EAC9B;IACJ,CAAC;IACDC,IAAI,EAAE;MACJC,IAAI,EAAE;IACR,CAAC;IACDC,UAAU,EAAE;MACVC,mBAAmB,EAAE,oCAAoC;MACzDC,qBAAqB,EAAE,qCAAqC;MAC5DC,QAAQ,EAAE;IACZ,CAAC;IACDC,qBAAqB,EAAE;MACrBC,gBAAgB,EACd,8GAA8G;MAChHC,kBAAkB,EAAE;IACtB,CAAC;IACDC,eAAe,EAAE;MACfC,SAAS,EAAE,YAAY;MACvBC,YAAY,EAAE,eAAe;MAC7BC,MAAM,EAAE,SAAS;MACjBC,SAAS,EAAE,YAAY;MACvBC,WAAW,EAAE,cAAc;MAC3BC,GAAG,EAAE,KAAK;MACVC,MAAM,EAAE,QAAQ;MAChBC,MAAM,EAAE,QAAQ;MAChBC,MAAM,EAAE,QAAQ;MAChBC,IAAI,EAAE,MAAM;MACZC,KAAK,EAAE,OAAO;MACdC,KAAK,EAAE,OAAO;MACdC,KAAK,EAAE,OAAO;MACdC,aAAa,EAAE;IACjB,CAAC;IACDC,QAAQ,EAAE;MACRC,WAAW,EAAE,cAAc;MAC3BC,OAAO,EAAE,SAAS;MAClBC,GAAG,EAAE,KAAK;MACV,UAAQ,QAAQ;MAChBC,QAAQ,EAAE,WAAW;MACrBpB,kBAAkB,EAAE,gDAAgD;MACpEqB,SAAS,EAAE;QACTC,eAAe,EAAE,0BAA0B;QAC3CC,aAAa,EAAE,wBAAwB;QACvCC,gBAAgB,EAAE;MACpB;IACF,CAAC;IACDC,QAAQ,EAAE;MACRC,KAAK,EAAE,OAAO;MACdC,MAAM,EAAE,QAAQ;MAChBC,IAAI,EAAE,MAAM;MACZC,QAAQ,EAAE,UAAU;MACpBC,QAAQ,EAAE,gBAAgB;MAC1BC,WAAW,EAAE,aAAa;MAC1BC,OAAO,EAAE,SAAS;MAClBC,GAAG,EAAE,KAAK;MACVC,OAAO,EAAE,SAAS;MAClBC,IAAI,EAAE,MAAM;MACZC,MAAM,EAAE,QAAQ;MAChBC,KAAK,EAAE,OAAO;MACdC,IAAI,EAAE,MAAM;MACZC,KAAK,EAAE;IACT,CAAC;IACDC,UAAU,EAAE;MACVC,4BAA4B,EAC1B;IACJ,CAAC;IACDC,cAAc,EAAE;MACdC,aAAa,EAAE,oCAAoC;MACnDC,iBAAiB,EAAE,2CAA2C;MAC9DC,mBAAmB,EAAE,6CAA6C;MAClEC,sBAAsB,EAAE,2BAA2B;MACnDC,sBAAsB,EAAE;IAC1B,CAAC;IACDC,UAAU,EAAE;MACVC,qBAAqB,EAAE,SAAS;MAChCC,wBAAwB,EAAE,6BAA6B;MACvDC,kBAAkB,EAAE,qBAAqB;MACzCC,GAAG,EAAE;IACP;EACF,CAAC;EACDC,MAAM,EAAE;IACNC,IAAI,EAAE,MAAM;IACZzD,QAAQ,EAAE,WAAW;IACrB0D,OAAO,EAAE,SAAS;IAClBC,SAAS,EAAE,WAAW;IACtBC,iBAAiB,EAAE,qBAAqB;IACxCC,iBAAiB,EAAE,qBAAqB;IACxCC,iCAAiC,EAC/B,gLAAgL;IAClLC,OAAO,EAAE,SAAS;IAClBC,QAAQ,EAAE,WAAW;IACrBC,QAAQ,EAAE,WAAW;IACrBC,MAAM,EAAE;EACV;AACF,CAAC","ignoreList":[]}
package/lib/es.js DELETED
@@ -1,101 +0,0 @@
1
- "use strict";
2
-
3
- Object.defineProperty(exports, "__esModule", {
4
- value: true
5
- });
6
- exports["default"] = void 0;
7
- var _default = exports["default"] = {
8
- translation: {
9
- categorize: {
10
- limitMaxChoicesPerCategory: 'Has alcanzado el límite de {{maxChoicesPerCategory}} respuestas por área. Para agregar otra respuesta, primero se debe eliminar una respuesta.',
11
- maxChoicesPerCategoryRestriction: 'Para cambiar este valor a {{maxChoicesPerCategory}}, cada categoría debe tener {{maxChoicesPerCategory}} o menos opciones de respuesta'
12
- },
13
- ebsr: {
14
- part: 'Parte {{index}}'
15
- },
16
- numberLine: {
17
- addElementLimit_one: 'Solo puedes agregar {{count}} elemento',
18
- addElementLimit_other: 'Solo puedes agregar {{count}} elementos',
19
- clearAll: 'Borrar todo'
20
- },
21
- imageClozeAssociation: {
22
- reachedLimit_one: 'Has alcanzado el límite de {{count}} respuesta por área. Para agregar otra respuesta, primero se debe eliminar una respuesta.',
23
- reachedLimit_other: 'Lleno'
24
- },
25
- drawingResponse: {
26
- fillColor: 'Color de relleno',
27
- outlineColor: 'Color del contorno',
28
- noFill: 'Sin relleno',
29
- lightblue: 'Azul claro',
30
- lightyellow: 'Amarillo claro',
31
- red: 'Rojo',
32
- orange: 'Naranja',
33
- yellow: 'Amarillo',
34
- violet: 'Violeta',
35
- blue: 'Azul',
36
- green: 'Verde',
37
- white: 'Blanco',
38
- black: 'Negro',
39
- onDoubleClick: 'Haz doble clic para revisar este texto. Presiona el botón de ingreso para enviar'
40
- },
41
- charting: {
42
- addCategory: 'Añadir categoría',
43
- actions: 'Acciones',
44
- add: 'Añadir',
45
- "delete": 'Eliminar',
46
- newLabel: 'Nueva etiqueta',
47
- reachedLimit_other: 'No puede haber más de {{count}} categorías.',
48
- keyLegend: {
49
- incorrectAnswer: 'Respuesta incorrecta del estudiante',
50
- correctAnswer: 'Respuesta correcta del estudiante',
51
- correctKeyAnswer: 'Clave de respuesta correcta'
52
- }
53
- },
54
- graphing: {
55
- point: 'Punto',
56
- circle: 'Circulo',
57
- line: 'Línea',
58
- parabola: 'Parábola',
59
- absolute: 'Valor absoluto',
60
- exponential: 'Exponencial',
61
- polygon: 'Polígono',
62
- ray: 'Semirrecta',
63
- segment: 'Segmento ',
64
- sine: 'Seno',
65
- vector: 'Vector',
66
- label: 'Etiqueta',
67
- redo: 'Rehacer',
68
- reset: 'Reiniciar'
69
- },
70
- mathInline: {
71
- primaryCorrectWithAlternates: 'Nota: La respuesta que se muestra arriba es la respuesta correcta principal especificada por el autor para esta pregunta, pero también se pueden reconocer otras respuestas como correctas.'
72
- },
73
- multipleChoice: {
74
- minSelections: 'Seleccione al menos {{minSelections}}.',
75
- maxSelections_one: 'Sólo se permite {{maxSelections}} respuesta.',
76
- maxSelections_other: 'Sólo se permiten {{maxSelections}} respuestas.',
77
- minmaxSelections_equal: 'Seleccione {{minSelections}}.',
78
- minmaxSelections_range: 'Seleccione entre {{minSelections}} y {{maxSelections}}.'
79
- },
80
- selectText: {
81
- correctAnswerSelected: 'Respuesta Correcta',
82
- correctAnswerNotSelected: 'Respuesta Correcta No Seleccionada',
83
- incorrectSelection: 'Selección Incorrecta',
84
- key: 'Clave'
85
- }
86
- },
87
- common: {
88
- undo: 'Deshacer',
89
- clearAll: 'Borrar todo',
90
- correct: 'Correct',
91
- incorrect: 'Incorrect',
92
- showCorrectAnswer: 'Mostrar respuesta correcta',
93
- hideCorrectAnswer: 'Ocultar respuesta correcta',
94
- commonCorrectAnswerWithAlternates: 'Nota: La respuesta que se muestra arriba es la respuesta correcta más común para esta pregunta. También se definen una o más respuestas correctas adicionales, y también se reconocerán como correctas.',
95
- warning: 'Advertencia',
96
- showNote: 'Mostrar Nota',
97
- hideNote: 'Ocultar Nota',
98
- cancel: 'Cancelar'
99
- }
100
- };
101
- //# sourceMappingURL=es.js.map
package/lib/es.js.map DELETED
@@ -1 +0,0 @@
1
- {"version":3,"file":"es.js","names":["translation","categorize","limitMaxChoicesPerCategory","maxChoicesPerCategoryRestriction","ebsr","part","numberLine","addElementLimit_one","addElementLimit_other","clearAll","imageClozeAssociation","reachedLimit_one","reachedLimit_other","drawingResponse","fillColor","outlineColor","noFill","lightblue","lightyellow","red","orange","yellow","violet","blue","green","white","black","onDoubleClick","charting","addCategory","actions","add","newLabel","keyLegend","incorrectAnswer","correctAnswer","correctKeyAnswer","graphing","point","circle","line","parabola","absolute","exponential","polygon","ray","segment","sine","vector","label","redo","reset","mathInline","primaryCorrectWithAlternates","multipleChoice","minSelections","maxSelections_one","maxSelections_other","minmaxSelections_equal","minmaxSelections_range","selectText","correctAnswerSelected","correctAnswerNotSelected","incorrectSelection","key","common","undo","correct","incorrect","showCorrectAnswer","hideCorrectAnswer","commonCorrectAnswerWithAlternates","warning","showNote","hideNote","cancel"],"sources":["../src/es.js"],"sourcesContent":["export default {\n translation: {\n categorize: {\n limitMaxChoicesPerCategory:\n 'Has alcanzado el límite de {{maxChoicesPerCategory}} respuestas por área. Para agregar otra respuesta, primero se debe eliminar una respuesta.',\n maxChoicesPerCategoryRestriction:\n 'Para cambiar este valor a {{maxChoicesPerCategory}}, cada categoría debe tener {{maxChoicesPerCategory}} o menos opciones de respuesta',\n },\n ebsr: {\n part: 'Parte {{index}}',\n },\n numberLine: {\n addElementLimit_one: 'Solo puedes agregar {{count}} elemento',\n addElementLimit_other: 'Solo puedes agregar {{count}} elementos',\n clearAll: 'Borrar todo',\n },\n imageClozeAssociation: {\n reachedLimit_one:\n 'Has alcanzado el límite de {{count}} respuesta por área. Para agregar otra respuesta, primero se debe eliminar una respuesta.',\n reachedLimit_other: 'Lleno',\n },\n drawingResponse: {\n fillColor: 'Color de relleno',\n outlineColor: 'Color del contorno',\n noFill: 'Sin relleno',\n lightblue: 'Azul claro',\n lightyellow: 'Amarillo claro',\n red: 'Rojo',\n orange: 'Naranja',\n yellow: 'Amarillo',\n violet: 'Violeta',\n blue: 'Azul',\n green: 'Verde',\n white: 'Blanco',\n black: 'Negro',\n onDoubleClick: 'Haz doble clic para revisar este texto. Presiona el botón de ingreso para enviar',\n },\n charting: {\n addCategory: 'Añadir categoría',\n actions: 'Acciones',\n add: 'Añadir',\n delete: 'Eliminar',\n newLabel: 'Nueva etiqueta',\n reachedLimit_other: 'No puede haber más de {{count}} categorías.',\n keyLegend: {\n incorrectAnswer: 'Respuesta incorrecta del estudiante',\n correctAnswer: 'Respuesta correcta del estudiante',\n correctKeyAnswer: 'Clave de respuesta correcta',\n },\n },\n graphing: {\n point: 'Punto',\n circle: 'Circulo',\n line: 'Línea',\n parabola: 'Parábola',\n absolute: 'Valor absoluto',\n exponential: 'Exponencial',\n polygon: 'Polígono',\n ray: 'Semirrecta',\n segment: 'Segmento ',\n sine: 'Seno',\n vector: 'Vector',\n label: 'Etiqueta',\n redo: 'Rehacer',\n reset: 'Reiniciar',\n },\n mathInline: {\n primaryCorrectWithAlternates:\n 'Nota: La respuesta que se muestra arriba es la respuesta correcta principal especificada por el autor para esta pregunta, pero también se pueden reconocer otras respuestas como correctas.',\n },\n multipleChoice: {\n minSelections: 'Seleccione al menos {{minSelections}}.',\n maxSelections_one: 'Sólo se permite {{maxSelections}} respuesta.',\n maxSelections_other: 'Sólo se permiten {{maxSelections}} respuestas.',\n minmaxSelections_equal: 'Seleccione {{minSelections}}.',\n minmaxSelections_range: 'Seleccione entre {{minSelections}} y {{maxSelections}}.',\n },\n selectText: {\n correctAnswerSelected: 'Respuesta Correcta',\n correctAnswerNotSelected: 'Respuesta Correcta No Seleccionada',\n incorrectSelection: 'Selección Incorrecta',\n key: 'Clave',\n },\n },\n common: {\n undo: 'Deshacer',\n clearAll: 'Borrar todo',\n correct: 'Correct',\n incorrect: 'Incorrect',\n showCorrectAnswer: 'Mostrar respuesta correcta',\n hideCorrectAnswer: 'Ocultar respuesta correcta',\n commonCorrectAnswerWithAlternates:\n 'Nota: La respuesta que se muestra arriba es la respuesta correcta más común para esta pregunta. También se definen una o más respuestas correctas adicionales, y también se reconocerán como correctas.',\n warning: 'Advertencia',\n showNote: 'Mostrar Nota',\n hideNote: 'Ocultar Nota',\n cancel: 'Cancelar',\n },\n};\n"],"mappings":";;;;;;oCAAe;EACbA,WAAW,EAAE;IACXC,UAAU,EAAE;MACVC,0BAA0B,EACxB,gJAAgJ;MAClJC,gCAAgC,EAC9B;IACJ,CAAC;IACDC,IAAI,EAAE;MACJC,IAAI,EAAE;IACR,CAAC;IACDC,UAAU,EAAE;MACVC,mBAAmB,EAAE,wCAAwC;MAC7DC,qBAAqB,EAAE,yCAAyC;MAChEC,QAAQ,EAAE;IACZ,CAAC;IACDC,qBAAqB,EAAE;MACrBC,gBAAgB,EACd,+HAA+H;MACjIC,kBAAkB,EAAE;IACtB,CAAC;IACDC,eAAe,EAAE;MACfC,SAAS,EAAE,kBAAkB;MAC7BC,YAAY,EAAE,oBAAoB;MAClCC,MAAM,EAAE,aAAa;MACrBC,SAAS,EAAE,YAAY;MACvBC,WAAW,EAAE,gBAAgB;MAC7BC,GAAG,EAAE,MAAM;MACXC,MAAM,EAAE,SAAS;MACjBC,MAAM,EAAE,UAAU;MAClBC,MAAM,EAAE,SAAS;MACjBC,IAAI,EAAE,MAAM;MACZC,KAAK,EAAE,OAAO;MACdC,KAAK,EAAE,QAAQ;MACfC,KAAK,EAAE,OAAO;MACdC,aAAa,EAAE;IACjB,CAAC;IACDC,QAAQ,EAAE;MACRC,WAAW,EAAE,kBAAkB;MAC/BC,OAAO,EAAE,UAAU;MACnBC,GAAG,EAAE,QAAQ;MACb,UAAQ,UAAU;MAClBC,QAAQ,EAAE,gBAAgB;MAC1BpB,kBAAkB,EAAE,6CAA6C;MACjEqB,SAAS,EAAE;QACTC,eAAe,EAAE,qCAAqC;QACtDC,aAAa,EAAE,mCAAmC;QAClDC,gBAAgB,EAAE;MACpB;IACF,CAAC;IACDC,QAAQ,EAAE;MACRC,KAAK,EAAE,OAAO;MACdC,MAAM,EAAE,SAAS;MACjBC,IAAI,EAAE,OAAO;MACbC,QAAQ,EAAE,UAAU;MACpBC,QAAQ,EAAE,gBAAgB;MAC1BC,WAAW,EAAE,aAAa;MAC1BC,OAAO,EAAE,UAAU;MACnBC,GAAG,EAAE,YAAY;MACjBC,OAAO,EAAE,WAAW;MACpBC,IAAI,EAAE,MAAM;MACZC,MAAM,EAAE,QAAQ;MAChBC,KAAK,EAAE,UAAU;MACjBC,IAAI,EAAE,SAAS;MACfC,KAAK,EAAE;IACT,CAAC;IACDC,UAAU,EAAE;MACVC,4BAA4B,EAC1B;IACJ,CAAC;IACDC,cAAc,EAAE;MACdC,aAAa,EAAE,wCAAwC;MACvDC,iBAAiB,EAAE,8CAA8C;MACjEC,mBAAmB,EAAE,gDAAgD;MACrEC,sBAAsB,EAAE,+BAA+B;MACvDC,sBAAsB,EAAE;IAC1B,CAAC;IACDC,UAAU,EAAE;MACVC,qBAAqB,EAAE,oBAAoB;MAC3CC,wBAAwB,EAAE,oCAAoC;MAC9DC,kBAAkB,EAAE,sBAAsB;MAC1CC,GAAG,EAAE;IACP;EACF,CAAC;EACDC,MAAM,EAAE;IACNC,IAAI,EAAE,UAAU;IAChBzD,QAAQ,EAAE,aAAa;IACvB0D,OAAO,EAAE,SAAS;IAClBC,SAAS,EAAE,WAAW;IACtBC,iBAAiB,EAAE,4BAA4B;IAC/CC,iBAAiB,EAAE,4BAA4B;IAC/CC,iCAAiC,EAC/B,yMAAyM;IAC3MC,OAAO,EAAE,aAAa;IACtBC,QAAQ,EAAE,cAAc;IACxBC,QAAQ,EAAE,cAAc;IACxBC,MAAM,EAAE;EACV;AACF,CAAC","ignoreList":[]}
package/lib/index.js DELETED
@@ -1,55 +0,0 @@
1
- "use strict";
2
-
3
- var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
4
- Object.defineProperty(exports, "__esModule", {
5
- value: true
6
- });
7
- exports["default"] = void 0;
8
- var _defineProperty2 = _interopRequireDefault(require("@babel/runtime/helpers/defineProperty"));
9
- var _i18next = _interopRequireDefault(require("i18next"));
10
- var _en = _interopRequireDefault(require("./en"));
11
- var _es = _interopRequireDefault(require("./es"));
12
- function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
13
- function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { (0, _defineProperty2["default"])(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
14
- _i18next["default"].init({
15
- fallbackLng: 'en',
16
- lng: 'en',
17
- debug: true,
18
- resources: {
19
- en: _en["default"],
20
- es: _es["default"]
21
- }
22
- });
23
- var _default = exports["default"] = {
24
- translator: _objectSpread(_objectSpread({}, _i18next["default"]), {}, {
25
- t: function t(key, options) {
26
- var lng = options.lng;
27
- switch (lng) {
28
- // these keys don't work with plurals, don't know why, so I added a workaround to convert them to the correct lng
29
- case 'en_US':
30
- case 'en-US':
31
- options.lng = 'en';
32
- break;
33
- case 'es_ES':
34
- case 'es-ES':
35
- case 'es_MX':
36
- case 'es-MX':
37
- options.lng = 'es';
38
- break;
39
- default:
40
- break;
41
- }
42
- return _i18next["default"].t(key, _objectSpread({
43
- lng: lng
44
- }, options));
45
- }
46
- }),
47
- languageOptions: [{
48
- value: 'en_US',
49
- label: 'English (US)'
50
- }, {
51
- value: 'es_ES',
52
- label: 'Spanish'
53
- }]
54
- };
55
- //# sourceMappingURL=index.js.map
package/lib/index.js.map DELETED
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.js","names":["_i18next","_interopRequireDefault","require","_en","_es","ownKeys","e","r","t","Object","keys","getOwnPropertySymbols","o","filter","getOwnPropertyDescriptor","enumerable","push","apply","_objectSpread","arguments","length","forEach","_defineProperty2","getOwnPropertyDescriptors","defineProperties","defineProperty","i18next","init","fallbackLng","lng","debug","resources","en","es","_default","exports","translator","key","options","languageOptions","value","label"],"sources":["../src/index.js"],"sourcesContent":["import i18next from 'i18next';\nimport en from './en';\nimport es from './es';\n\ni18next.init({\n fallbackLng: 'en',\n lng: 'en',\n debug: true,\n resources: {\n en: en,\n es: es,\n },\n});\n\nexport default {\n translator: {\n ...i18next,\n t: (key, options) => {\n const { lng } = options;\n\n switch (lng) {\n // these keys don't work with plurals, don't know why, so I added a workaround to convert them to the correct lng\n case 'en_US':\n case 'en-US':\n options.lng = 'en';\n break;\n case 'es_ES':\n case 'es-ES':\n case 'es_MX':\n case 'es-MX':\n options.lng = 'es';\n break;\n default:\n break;\n }\n return i18next.t(key, { lng, ...options });\n },\n },\n languageOptions: [\n { value: 'en_US', label: 'English (US)' },\n { value: 'es_ES', label: 'Spanish' },\n ],\n};\n"],"mappings":";;;;;;;;AAAA,IAAAA,QAAA,GAAAC,sBAAA,CAAAC,OAAA;AACA,IAAAC,GAAA,GAAAF,sBAAA,CAAAC,OAAA;AACA,IAAAE,GAAA,GAAAH,sBAAA,CAAAC,OAAA;AAAsB,SAAAG,QAAAC,CAAA,EAAAC,CAAA,QAAAC,CAAA,GAAAC,MAAA,CAAAC,IAAA,CAAAJ,CAAA,OAAAG,MAAA,CAAAE,qBAAA,QAAAC,CAAA,GAAAH,MAAA,CAAAE,qBAAA,CAAAL,CAAA,GAAAC,CAAA,KAAAK,CAAA,GAAAA,CAAA,CAAAC,MAAA,WAAAN,CAAA,WAAAE,MAAA,CAAAK,wBAAA,CAAAR,CAAA,EAAAC,CAAA,EAAAQ,UAAA,OAAAP,CAAA,CAAAQ,IAAA,CAAAC,KAAA,CAAAT,CAAA,EAAAI,CAAA,YAAAJ,CAAA;AAAA,SAAAU,cAAAZ,CAAA,aAAAC,CAAA,MAAAA,CAAA,GAAAY,SAAA,CAAAC,MAAA,EAAAb,CAAA,UAAAC,CAAA,WAAAW,SAAA,CAAAZ,CAAA,IAAAY,SAAA,CAAAZ,CAAA,QAAAA,CAAA,OAAAF,OAAA,CAAAI,MAAA,CAAAD,CAAA,OAAAa,OAAA,WAAAd,CAAA,QAAAe,gBAAA,aAAAhB,CAAA,EAAAC,CAAA,EAAAC,CAAA,CAAAD,CAAA,SAAAE,MAAA,CAAAc,yBAAA,GAAAd,MAAA,CAAAe,gBAAA,CAAAlB,CAAA,EAAAG,MAAA,CAAAc,yBAAA,CAAAf,CAAA,KAAAH,OAAA,CAAAI,MAAA,CAAAD,CAAA,GAAAa,OAAA,WAAAd,CAAA,IAAAE,MAAA,CAAAgB,cAAA,CAAAnB,CAAA,EAAAC,CAAA,EAAAE,MAAA,CAAAK,wBAAA,CAAAN,CAAA,EAAAD,CAAA,iBAAAD,CAAA;AAEtBoB,mBAAO,CAACC,IAAI,CAAC;EACXC,WAAW,EAAE,IAAI;EACjBC,GAAG,EAAE,IAAI;EACTC,KAAK,EAAE,IAAI;EACXC,SAAS,EAAE;IACTC,EAAE,EAAEA,cAAE;IACNC,EAAE,EAAEA;EACN;AACF,CAAC,CAAC;AAAC,IAAAC,QAAA,GAAAC,OAAA,cAEY;EACbC,UAAU,EAAAlB,aAAA,CAAAA,aAAA,KACLQ,mBAAO;IACVlB,CAAC,EAAE,SAAHA,CAACA,CAAG6B,GAAG,EAAEC,OAAO,EAAK;MACnB,IAAQT,GAAG,GAAKS,OAAO,CAAfT,GAAG;MAEX,QAAQA,GAAG;QACT;QACA,KAAK,OAAO;QACZ,KAAK,OAAO;UACVS,OAAO,CAACT,GAAG,GAAG,IAAI;UAClB;QACF,KAAK,OAAO;QACZ,KAAK,OAAO;QACZ,KAAK,OAAO;QACZ,KAAK,OAAO;UACVS,OAAO,CAACT,GAAG,GAAG,IAAI;UAClB;QACF;UACE;MACJ;MACA,OAAOH,mBAAO,CAAClB,CAAC,CAAC6B,GAAG,EAAAnB,aAAA;QAAIW,GAAG,EAAHA;MAAG,GAAKS,OAAO,CAAE,CAAC;IAC5C;EAAC,EACF;EACDC,eAAe,EAAE,CACf;IAAEC,KAAK,EAAE,OAAO;IAAEC,KAAK,EAAE;EAAe,CAAC,EACzC;IAAED,KAAK,EAAE,OAAO;IAAEC,KAAK,EAAE;EAAU,CAAC;AAExC,CAAC","ignoreList":[]}