@pie-lib/translator 2.3.1 → 2.4.0-beta.2
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 +26 -28
- package/NEXT.CHANGELOG.json +1 -0
- package/package.json +2 -2
- package/src/en.js +17 -2
- package/src/es.js +17 -2
- package/src/index.js +23 -24
- package/lib/en.js +0 -79
- package/lib/en.js.map +0 -1
- package/lib/es.js +0 -79
- package/lib/es.js.map +0 -1
- package/lib/index.js +0 -69
- package/lib/index.js.map +0 -1
package/CHANGELOG.md
CHANGED
|
@@ -3,88 +3,86 @@
|
|
|
3
3
|
All notable changes to this project will be documented in this file.
|
|
4
4
|
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
5
5
|
|
|
6
|
-
|
|
6
|
+
# [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)
|
|
7
7
|
|
|
8
|
+
**Note:** Version bump only for package @pie-lib/translator
|
|
8
9
|
|
|
9
|
-
### Bug Fixes
|
|
10
10
|
|
|
11
|
-
* test build and release ([31a9b76](https://github.com/pie-framework/pie-lib/commit/31a9b76728649254df36964823ce47abcd850d14))
|
|
12
11
|
|
|
13
12
|
|
|
14
13
|
|
|
14
|
+
# [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)
|
|
15
15
|
|
|
16
|
+
**Note:** Version bump only for package @pie-lib/translator
|
|
16
17
|
|
|
17
|
-
# [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)
|
|
18
18
|
|
|
19
19
|
|
|
20
|
-
### Features
|
|
21
20
|
|
|
22
|
-
* **translator, text-select:** add translations for new text-select legend PD-3162 ([20ee2c1](https://github.com/pie-framework/pie-lib/commit/20ee2c17873985fa06b4b58cf781742a5923b532))
|
|
23
21
|
|
|
22
|
+
# [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)
|
|
24
23
|
|
|
24
|
+
**Note:** Version bump only for package @pie-lib/translator
|
|
25
25
|
|
|
26
26
|
|
|
27
27
|
|
|
28
|
-
# [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)
|
|
29
28
|
|
|
30
29
|
|
|
31
|
-
|
|
30
|
+
# [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)
|
|
32
31
|
|
|
33
|
-
|
|
32
|
+
**Note:** Version bump only for package @pie-lib/translator
|
|
34
33
|
|
|
35
34
|
|
|
36
35
|
|
|
37
36
|
|
|
38
37
|
|
|
39
|
-
|
|
38
|
+
# [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)
|
|
40
39
|
|
|
41
40
|
**Note:** Version bump only for package @pie-lib/translator
|
|
42
41
|
|
|
42
|
+
# [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)
|
|
43
43
|
|
|
44
|
+
**Note:** Version bump only for package @pie-lib/translator
|
|
44
45
|
|
|
46
|
+
# [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)
|
|
45
47
|
|
|
48
|
+
### Features
|
|
46
49
|
|
|
47
|
-
|
|
50
|
+
- **translator, text-select:** add translations for new text-select legend PD-3162 ([20ee2c1](https://github.com/pie-framework/pie-lib/commit/20ee2c17873985fa06b4b58cf781742a5923b532))
|
|
48
51
|
|
|
52
|
+
# [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)
|
|
49
53
|
|
|
50
54
|
### Features
|
|
51
55
|
|
|
52
|
-
|
|
56
|
+
- **correct-answer-toggle:** add translations PD-2802 ([b53b653](https://github.com/pie-framework/pie-lib/commit/b53b653246deea3f67328b37feeb17787181e590))
|
|
53
57
|
|
|
58
|
+
## [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)
|
|
54
59
|
|
|
60
|
+
**Note:** Version bump only for package @pie-lib/translator
|
|
55
61
|
|
|
62
|
+
# [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)
|
|
63
|
+
|
|
64
|
+
### Features
|
|
56
65
|
|
|
66
|
+
- **charting, translator:** add translator to charting. add missing text in translator ([2c722a2](https://github.com/pie-framework/pie-lib/commit/2c722a241deb1ad4b51aa22c6eba74a0ec8a5ec0))
|
|
57
67
|
|
|
58
68
|
# [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)
|
|
59
69
|
|
|
60
|
-
|
|
61
70
|
### Features
|
|
62
71
|
|
|
63
|
-
|
|
64
|
-
|
|
72
|
+
- expanded translator by exposing languageOptions PD-2795 ([4d3167b](https://github.com/pie-framework/pie-lib/commit/4d3167bcdc106bc87f05c3ff0fafab7800be7a1d))
|
|
65
73
|
|
|
66
74
|
### BREAKING CHANGES
|
|
67
75
|
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
76
|
+
- The translator is now inside the returned object, not the object itself.
|
|
73
77
|
|
|
74
78
|
# [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)
|
|
75
79
|
|
|
76
|
-
|
|
77
80
|
### Features
|
|
78
81
|
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
82
|
+
- added translator package for graphing PD-1208 ([99d1ad7](https://github.com/pie-framework/pie-lib/commit/99d1ad796707d2d613c4776df7d06e94c33fe07c))
|
|
84
83
|
|
|
85
84
|
# 1.1.0 (2023-06-05)
|
|
86
85
|
|
|
87
|
-
|
|
88
86
|
### Features
|
|
89
87
|
|
|
90
|
-
|
|
88
|
+
- added translator package PD-2527 ([6797c71](https://github.com/pie-framework/pie-lib/commit/6797c71dec3fc973ebf696701aae5e8d1db537f9))
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
[]
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@pie-lib/translator",
|
|
3
|
-
"version": "2.
|
|
3
|
+
"version": "2.4.0-beta.2",
|
|
4
4
|
"publishConfig": {
|
|
5
5
|
"access": "public"
|
|
6
6
|
},
|
|
@@ -14,5 +14,5 @@
|
|
|
14
14
|
"react": "^16.8.1",
|
|
15
15
|
"react-dom": "^16.9.0"
|
|
16
16
|
},
|
|
17
|
-
"gitHead": "
|
|
17
|
+
"gitHead": "e2aa3ddac60f49bcb8c2562370f496323642f453"
|
|
18
18
|
}
|
package/src/en.js
CHANGED
|
@@ -1,5 +1,11 @@
|
|
|
1
1
|
export default {
|
|
2
2
|
translation: {
|
|
3
|
+
categorize: {
|
|
4
|
+
limitMaxChoicesPerCategory:
|
|
5
|
+
"You've reached the limit of {{maxChoicesPerCategory}} responses per area. To add another response, one must first be removed.",
|
|
6
|
+
maxChoicesPerCategoryRestriction:
|
|
7
|
+
'To change this value to {{maxChoicesPerCategory}}, each category must have {{maxChoicesPerCategory}} or fewer answer choice[s].',
|
|
8
|
+
},
|
|
3
9
|
ebsr: {
|
|
4
10
|
part: 'Part {{index}}',
|
|
5
11
|
},
|
|
@@ -11,8 +17,7 @@ export default {
|
|
|
11
17
|
imageClozeAssociation: {
|
|
12
18
|
reachedLimit_one:
|
|
13
19
|
'You’ve reached the limit of {{count}} response per area. To add another response, one must first be removed.',
|
|
14
|
-
reachedLimit_other:
|
|
15
|
-
'You’ve reached the limit of {{count}} responses per area. To add another response, one must first be removed.',
|
|
20
|
+
reachedLimit_other: 'Full',
|
|
16
21
|
},
|
|
17
22
|
drawingResponse: {
|
|
18
23
|
fillColor: 'Fill color',
|
|
@@ -40,6 +45,8 @@ export default {
|
|
|
40
45
|
circle: 'Circle',
|
|
41
46
|
line: 'Line',
|
|
42
47
|
parabola: 'Parabola',
|
|
48
|
+
absolute: 'Absolute Value',
|
|
49
|
+
exponential: 'Exponential',
|
|
43
50
|
polygon: 'Polygon',
|
|
44
51
|
ray: 'Ray',
|
|
45
52
|
segment: 'Segment',
|
|
@@ -53,6 +60,13 @@ export default {
|
|
|
53
60
|
primaryCorrectWithAlternates:
|
|
54
61
|
'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.',
|
|
55
62
|
},
|
|
63
|
+
multipleChoice: {
|
|
64
|
+
minSelections: 'Select at least {{minSelections}}.',
|
|
65
|
+
maxSelections_one: 'Only {{maxSelections}} answer is allowed.',
|
|
66
|
+
maxSelections_other: 'Only {{maxSelections}} answers are allowed.',
|
|
67
|
+
minmaxSelections_equal: 'Select {{minSelections}}.',
|
|
68
|
+
minmaxSelections_range: 'Select between {{minSelections}} and {{maxSelections}}.',
|
|
69
|
+
},
|
|
56
70
|
selectText: {
|
|
57
71
|
correctAnswerSelected: 'Correct answer selected',
|
|
58
72
|
correctAnswerNotSelected: 'Correct answer not selected',
|
|
@@ -71,5 +85,6 @@ export default {
|
|
|
71
85
|
warning: 'Warning',
|
|
72
86
|
showNote: 'Show Note',
|
|
73
87
|
hideNote: 'Hide Note',
|
|
88
|
+
cancel: 'Cancel',
|
|
74
89
|
},
|
|
75
90
|
};
|
package/src/es.js
CHANGED
|
@@ -1,5 +1,11 @@
|
|
|
1
1
|
export default {
|
|
2
2
|
translation: {
|
|
3
|
+
categorize: {
|
|
4
|
+
limitMaxChoicesPerCategory:
|
|
5
|
+
'Has alcanzado el límite de {{maxChoicesPerCategory}} respuestas por área. Para agregar otra respuesta, primero se debe eliminar una respuesta.',
|
|
6
|
+
maxChoicesPerCategoryRestriction:
|
|
7
|
+
'Para cambiar este valor a {{maxChoicesPerCategory}}, cada categoría debe tener {{maxChoicesPerCategory}} o menos opciones de respuesta',
|
|
8
|
+
},
|
|
3
9
|
ebsr: {
|
|
4
10
|
part: 'Parte {{index}}',
|
|
5
11
|
},
|
|
@@ -11,8 +17,7 @@ export default {
|
|
|
11
17
|
imageClozeAssociation: {
|
|
12
18
|
reachedLimit_one:
|
|
13
19
|
'Has alcanzado el límite de {{count}} respuesta por área. Para agregar otra respuesta, primero se debe eliminar una respuesta.',
|
|
14
|
-
reachedLimit_other:
|
|
15
|
-
'Has alcanzado el límite de {{count}} respuestas por área. Para agregar otra respuesta, primero se debe eliminar una respuesta.',
|
|
20
|
+
reachedLimit_other: 'Lleno',
|
|
16
21
|
},
|
|
17
22
|
drawingResponse: {
|
|
18
23
|
fillColor: 'Color de relleno',
|
|
@@ -40,6 +45,8 @@ export default {
|
|
|
40
45
|
circle: 'Circulo',
|
|
41
46
|
line: 'Línea',
|
|
42
47
|
parabola: 'Parábola',
|
|
48
|
+
absolute: 'Valor absoluto',
|
|
49
|
+
exponential: 'Exponencial',
|
|
43
50
|
polygon: 'Polígono',
|
|
44
51
|
ray: 'Semirrecta',
|
|
45
52
|
segment: 'Segmento ',
|
|
@@ -53,6 +60,13 @@ export default {
|
|
|
53
60
|
primaryCorrectWithAlternates:
|
|
54
61
|
'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.',
|
|
55
62
|
},
|
|
63
|
+
multipleChoice: {
|
|
64
|
+
minSelections: 'Seleccione al menos {{minSelections}}.',
|
|
65
|
+
maxSelections_one: 'Sólo se permite {{maxSelections}} respuesta.',
|
|
66
|
+
maxSelections_other: 'Sólo se permiten {{maxSelections}} respuestas.',
|
|
67
|
+
minmaxSelections_equal: 'Seleccione {{minSelections}}.',
|
|
68
|
+
minmaxSelections_range: 'Seleccione entre {{minSelections}} y {{maxSelections}}.',
|
|
69
|
+
},
|
|
56
70
|
selectText: {
|
|
57
71
|
correctAnswerSelected: 'Respuesta correcta seleccionada',
|
|
58
72
|
correctAnswerNotSelected: 'Respuesta correcta no seleccionada',
|
|
@@ -71,5 +85,6 @@ export default {
|
|
|
71
85
|
warning: 'Advertencia',
|
|
72
86
|
showNote: 'Mostrar Nota',
|
|
73
87
|
hideNote: 'Ocultar Nota',
|
|
88
|
+
cancel: 'Cancelar',
|
|
74
89
|
},
|
|
75
90
|
};
|
package/src/index.js
CHANGED
|
@@ -1,18 +1,17 @@
|
|
|
1
|
-
import i18next from
|
|
2
|
-
import en from
|
|
3
|
-
import es from
|
|
1
|
+
import i18next from 'i18next';
|
|
2
|
+
import en from './en';
|
|
3
|
+
import es from './es';
|
|
4
|
+
|
|
5
|
+
i18next.init({
|
|
6
|
+
fallbackLng: 'en',
|
|
7
|
+
lng: 'en',
|
|
8
|
+
debug: true,
|
|
9
|
+
resources: {
|
|
10
|
+
en: en,
|
|
11
|
+
es: es,
|
|
12
|
+
},
|
|
13
|
+
});
|
|
4
14
|
|
|
5
|
-
i18next.init(
|
|
6
|
-
{
|
|
7
|
-
fallbackLng: "en",
|
|
8
|
-
lng: "en",
|
|
9
|
-
debug: true,
|
|
10
|
-
resources: {
|
|
11
|
-
en: en,
|
|
12
|
-
es: es
|
|
13
|
-
}
|
|
14
|
-
}
|
|
15
|
-
);
|
|
16
15
|
export default {
|
|
17
16
|
translator: {
|
|
18
17
|
...i18next,
|
|
@@ -21,15 +20,15 @@ export default {
|
|
|
21
20
|
|
|
22
21
|
switch (lng) {
|
|
23
22
|
// these keys don't work with plurals, don't know why, so I added a workaround to convert them to the correct lng
|
|
24
|
-
case
|
|
25
|
-
case
|
|
26
|
-
options.lng =
|
|
23
|
+
case 'en_US':
|
|
24
|
+
case 'en-US':
|
|
25
|
+
options.lng = 'en';
|
|
27
26
|
break;
|
|
28
|
-
case
|
|
29
|
-
case
|
|
30
|
-
case
|
|
31
|
-
case
|
|
32
|
-
options.lng =
|
|
27
|
+
case 'es_ES':
|
|
28
|
+
case 'es-ES':
|
|
29
|
+
case 'es_MX':
|
|
30
|
+
case 'es-MX':
|
|
31
|
+
options.lng = 'es';
|
|
33
32
|
break;
|
|
34
33
|
default:
|
|
35
34
|
break;
|
|
@@ -38,7 +37,7 @@ export default {
|
|
|
38
37
|
},
|
|
39
38
|
},
|
|
40
39
|
languageOptions: [
|
|
41
|
-
{ value:
|
|
42
|
-
{ value:
|
|
40
|
+
{ value: 'en_US', label: 'English (US)' },
|
|
41
|
+
{ value: 'es_ES', label: 'Spanish' },
|
|
43
42
|
],
|
|
44
43
|
};
|
package/lib/en.js
DELETED
|
@@ -1,79 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
|
|
3
|
-
Object.defineProperty(exports, "__esModule", {
|
|
4
|
-
value: true
|
|
5
|
-
});
|
|
6
|
-
exports["default"] = void 0;
|
|
7
|
-
var _default = {
|
|
8
|
-
translation: {
|
|
9
|
-
ebsr: {
|
|
10
|
-
part: 'Part {{index}}'
|
|
11
|
-
},
|
|
12
|
-
numberLine: {
|
|
13
|
-
addElementLimit_one: 'You can only add {{count}} element',
|
|
14
|
-
addElementLimit_other: 'You can only add {{count}} elements',
|
|
15
|
-
clearAll: 'Clear all'
|
|
16
|
-
},
|
|
17
|
-
imageClozeAssociation: {
|
|
18
|
-
reachedLimit_one: 'You’ve reached the limit of {{count}} response per area. To add another response, one must first be removed.',
|
|
19
|
-
reachedLimit_other: 'You’ve reached the limit of {{count}} responses per area. To add another response, one must first be removed.'
|
|
20
|
-
},
|
|
21
|
-
drawingResponse: {
|
|
22
|
-
fillColor: 'Fill color',
|
|
23
|
-
outlineColor: 'Outline color',
|
|
24
|
-
noFill: 'No fill',
|
|
25
|
-
lightblue: 'Light blue',
|
|
26
|
-
lightyellow: 'Light yellow',
|
|
27
|
-
red: 'Red',
|
|
28
|
-
orange: 'Orange',
|
|
29
|
-
yellow: 'Yellow',
|
|
30
|
-
violet: 'Violet',
|
|
31
|
-
blue: 'Blue',
|
|
32
|
-
green: 'Green',
|
|
33
|
-
white: 'White',
|
|
34
|
-
black: 'Black',
|
|
35
|
-
onDoubleClick: 'Double click to edit this text. Press Enter to submit.'
|
|
36
|
-
},
|
|
37
|
-
charting: {
|
|
38
|
-
addCategory: 'Add category',
|
|
39
|
-
newLabel: 'New label',
|
|
40
|
-
reachedLimit_other: "There can't be more than {{count}} categories."
|
|
41
|
-
},
|
|
42
|
-
graphing: {
|
|
43
|
-
point: 'Point',
|
|
44
|
-
circle: 'Circle',
|
|
45
|
-
line: 'Line',
|
|
46
|
-
parabola: 'Parabola',
|
|
47
|
-
polygon: 'Polygon',
|
|
48
|
-
ray: 'Ray',
|
|
49
|
-
segment: 'Segment',
|
|
50
|
-
sine: 'Sine',
|
|
51
|
-
vector: 'Vector',
|
|
52
|
-
label: 'Label',
|
|
53
|
-
redo: 'Redo',
|
|
54
|
-
reset: 'Reset'
|
|
55
|
-
},
|
|
56
|
-
mathInline: {
|
|
57
|
-
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.'
|
|
58
|
-
},
|
|
59
|
-
selectText: {
|
|
60
|
-
correctAnswerSelected: 'Correct answer selected',
|
|
61
|
-
correctAnswerNotSelected: 'Correct answer not selected',
|
|
62
|
-
incorrectSelection: 'Incorrect selection'
|
|
63
|
-
}
|
|
64
|
-
},
|
|
65
|
-
common: {
|
|
66
|
-
undo: 'Undo',
|
|
67
|
-
clearAll: 'Clear all',
|
|
68
|
-
correct: 'Correct',
|
|
69
|
-
incorrect: 'Incorrect',
|
|
70
|
-
showCorrectAnswer: 'Show correct answer',
|
|
71
|
-
hideCorrectAnswer: 'Hide correct answer',
|
|
72
|
-
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.',
|
|
73
|
-
warning: 'Warning',
|
|
74
|
-
showNote: 'Show Note',
|
|
75
|
-
hideNote: 'Hide Note'
|
|
76
|
-
}
|
|
77
|
-
};
|
|
78
|
-
exports["default"] = _default;
|
|
79
|
-
//# sourceMappingURL=en.js.map
|
package/lib/en.js.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"sources":["../src/en.js"],"names":["translation","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","newLabel","graphing","point","circle","line","parabola","polygon","ray","segment","sine","vector","label","redo","reset","mathInline","primaryCorrectWithAlternates","selectText","correctAnswerSelected","correctAnswerNotSelected","incorrectSelection","common","undo","correct","incorrect","showCorrectAnswer","hideCorrectAnswer","commonCorrectAnswerWithAlternates","warning","showNote","hideNote"],"mappings":";;;;;;eAAe;AACbA,EAAAA,WAAW,EAAE;AACXC,IAAAA,IAAI,EAAE;AACJC,MAAAA,IAAI,EAAE;AADF,KADK;AAIXC,IAAAA,UAAU,EAAE;AACVC,MAAAA,mBAAmB,EAAE,oCADX;AAEVC,MAAAA,qBAAqB,EAAE,qCAFb;AAGVC,MAAAA,QAAQ,EAAE;AAHA,KAJD;AASXC,IAAAA,qBAAqB,EAAE;AACrBC,MAAAA,gBAAgB,EACd,8GAFmB;AAGrBC,MAAAA,kBAAkB,EAChB;AAJmB,KATZ;AAeXC,IAAAA,eAAe,EAAE;AACfC,MAAAA,SAAS,EAAE,YADI;AAEfC,MAAAA,YAAY,EAAE,eAFC;AAGfC,MAAAA,MAAM,EAAE,SAHO;AAIfC,MAAAA,SAAS,EAAE,YAJI;AAKfC,MAAAA,WAAW,EAAE,cALE;AAMfC,MAAAA,GAAG,EAAE,KANU;AAOfC,MAAAA,MAAM,EAAE,QAPO;AAQfC,MAAAA,MAAM,EAAE,QARO;AASfC,MAAAA,MAAM,EAAE,QATO;AAUfC,MAAAA,IAAI,EAAE,MAVS;AAWfC,MAAAA,KAAK,EAAE,OAXQ;AAYfC,MAAAA,KAAK,EAAE,OAZQ;AAafC,MAAAA,KAAK,EAAE,OAbQ;AAcfC,MAAAA,aAAa,EAAE;AAdA,KAfN;AA+BXC,IAAAA,QAAQ,EAAE;AACRC,MAAAA,WAAW,EAAE,cADL;AAERC,MAAAA,QAAQ,EAAE,WAFF;AAGRlB,MAAAA,kBAAkB,EAAE;AAHZ,KA/BC;AAoCXmB,IAAAA,QAAQ,EAAE;AACRC,MAAAA,KAAK,EAAE,OADC;AAERC,MAAAA,MAAM,EAAE,QAFA;AAGRC,MAAAA,IAAI,EAAE,MAHE;AAIRC,MAAAA,QAAQ,EAAE,UAJF;AAKRC,MAAAA,OAAO,EAAE,SALD;AAMRC,MAAAA,GAAG,EAAE,KANG;AAORC,MAAAA,OAAO,EAAE,SAPD;AAQRC,MAAAA,IAAI,EAAE,MARE;AASRC,MAAAA,MAAM,EAAE,QATA;AAURC,MAAAA,KAAK,EAAE,OAVC;AAWRC,MAAAA,IAAI,EAAE,MAXE;AAYRC,MAAAA,KAAK,EAAE;AAZC,KApCC;AAkDXC,IAAAA,UAAU,EAAE;AACVC,MAAAA,4BAA4B,EAC1B;AAFQ,KAlDD;AAsDXC,IAAAA,UAAU,EAAE;AACVC,MAAAA,qBAAqB,EAAE,yBADb;AAEVC,MAAAA,wBAAwB,EAAE,6BAFhB;AAGVC,MAAAA,kBAAkB,EAAE;AAHV;AAtDD,GADA;AA6DbC,EAAAA,MAAM,EAAE;AACNC,IAAAA,IAAI,EAAE,MADA;AAEN1C,IAAAA,QAAQ,EAAE,WAFJ;AAGN2C,IAAAA,OAAO,EAAE,SAHH;AAINC,IAAAA,SAAS,EAAE,WAJL;AAKNC,IAAAA,iBAAiB,EAAE,qBALb;AAMNC,IAAAA,iBAAiB,EAAE,qBANb;AAONC,IAAAA,iCAAiC,EAC/B,gLARI;AASNC,IAAAA,OAAO,EAAE,SATH;AAUNC,IAAAA,QAAQ,EAAE,WAVJ;AAWNC,IAAAA,QAAQ,EAAE;AAXJ;AA7DK,C","sourcesContent":["export default {\n translation: {\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:\n 'You’ve reached the limit of {{count}} responses per area. To add another response, one must first be removed.',\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 newLabel: 'New label',\n reachedLimit_other: \"There can't be more than {{count}} categories.\",\n },\n graphing: {\n point: 'Point',\n circle: 'Circle',\n line: 'Line',\n parabola: 'Parabola',\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 selectText: {\n correctAnswerSelected: 'Correct answer selected',\n correctAnswerNotSelected: 'Correct answer not selected',\n incorrectSelection: 'Incorrect selection',\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 },\n};\n"],"file":"en.js"}
|
package/lib/es.js
DELETED
|
@@ -1,79 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
|
|
3
|
-
Object.defineProperty(exports, "__esModule", {
|
|
4
|
-
value: true
|
|
5
|
-
});
|
|
6
|
-
exports["default"] = void 0;
|
|
7
|
-
var _default = {
|
|
8
|
-
translation: {
|
|
9
|
-
ebsr: {
|
|
10
|
-
part: 'Parte {{index}}'
|
|
11
|
-
},
|
|
12
|
-
numberLine: {
|
|
13
|
-
addElementLimit_one: 'Solo puedes agregar {{count}} elemento',
|
|
14
|
-
addElementLimit_other: 'Solo puedes agregar {{count}} elementos',
|
|
15
|
-
clearAll: 'Borrar todo'
|
|
16
|
-
},
|
|
17
|
-
imageClozeAssociation: {
|
|
18
|
-
reachedLimit_one: 'Has alcanzado el límite de {{count}} respuesta por área. Para agregar otra respuesta, primero se debe eliminar una respuesta.',
|
|
19
|
-
reachedLimit_other: 'Has alcanzado el límite de {{count}} respuestas por área. Para agregar otra respuesta, primero se debe eliminar una respuesta.'
|
|
20
|
-
},
|
|
21
|
-
drawingResponse: {
|
|
22
|
-
fillColor: 'Color de relleno',
|
|
23
|
-
outlineColor: 'Color del contorno',
|
|
24
|
-
noFill: 'Sin relleno',
|
|
25
|
-
lightblue: 'Azul claro',
|
|
26
|
-
lightyellow: 'Amarillo claro',
|
|
27
|
-
red: 'Rojo',
|
|
28
|
-
orange: 'Naranja',
|
|
29
|
-
yellow: 'Amarillo',
|
|
30
|
-
violet: 'Violeta',
|
|
31
|
-
blue: 'Azul',
|
|
32
|
-
green: 'Verde',
|
|
33
|
-
white: 'Blanco',
|
|
34
|
-
black: 'Negro',
|
|
35
|
-
onDoubleClick: 'Haz doble clic para revisar este texto. Presiona el botón de ingreso para enviar'
|
|
36
|
-
},
|
|
37
|
-
charting: {
|
|
38
|
-
addCategory: 'Añadir categoría',
|
|
39
|
-
newLabel: 'Nueva etiqueta',
|
|
40
|
-
reachedLimit_other: 'No puede haber más de {{count}} categorías.'
|
|
41
|
-
},
|
|
42
|
-
graphing: {
|
|
43
|
-
point: 'Punto',
|
|
44
|
-
circle: 'Circulo',
|
|
45
|
-
line: 'Línea',
|
|
46
|
-
parabola: 'Parábola',
|
|
47
|
-
polygon: 'Polígono',
|
|
48
|
-
ray: 'Semirrecta',
|
|
49
|
-
segment: 'Segmento ',
|
|
50
|
-
sine: 'Seno',
|
|
51
|
-
vector: 'Vector',
|
|
52
|
-
label: 'Etiqueta',
|
|
53
|
-
redo: 'Rehacer',
|
|
54
|
-
reset: 'Reiniciar'
|
|
55
|
-
},
|
|
56
|
-
mathInline: {
|
|
57
|
-
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.'
|
|
58
|
-
},
|
|
59
|
-
selectText: {
|
|
60
|
-
correctAnswerSelected: 'Respuesta correcta seleccionada',
|
|
61
|
-
correctAnswerNotSelected: 'Respuesta correcta no seleccionada',
|
|
62
|
-
incorrectSelection: 'Selección incorrecta'
|
|
63
|
-
}
|
|
64
|
-
},
|
|
65
|
-
common: {
|
|
66
|
-
undo: 'Deshacer',
|
|
67
|
-
clearAll: 'Borrar todo',
|
|
68
|
-
correct: 'Correct',
|
|
69
|
-
incorrect: 'Incorrect',
|
|
70
|
-
showCorrectAnswer: 'Mostrar respuesta correcta',
|
|
71
|
-
hideCorrectAnswer: 'Ocultar respuesta correcta',
|
|
72
|
-
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.',
|
|
73
|
-
warning: 'Advertencia',
|
|
74
|
-
showNote: 'Mostrar Nota',
|
|
75
|
-
hideNote: 'Ocultar Nota'
|
|
76
|
-
}
|
|
77
|
-
};
|
|
78
|
-
exports["default"] = _default;
|
|
79
|
-
//# sourceMappingURL=es.js.map
|
package/lib/es.js.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"sources":["../src/es.js"],"names":["translation","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","newLabel","graphing","point","circle","line","parabola","polygon","ray","segment","sine","vector","label","redo","reset","mathInline","primaryCorrectWithAlternates","selectText","correctAnswerSelected","correctAnswerNotSelected","incorrectSelection","common","undo","correct","incorrect","showCorrectAnswer","hideCorrectAnswer","commonCorrectAnswerWithAlternates","warning","showNote","hideNote"],"mappings":";;;;;;eAAe;AACbA,EAAAA,WAAW,EAAE;AACXC,IAAAA,IAAI,EAAE;AACJC,MAAAA,IAAI,EAAE;AADF,KADK;AAIXC,IAAAA,UAAU,EAAE;AACVC,MAAAA,mBAAmB,EAAE,wCADX;AAEVC,MAAAA,qBAAqB,EAAE,yCAFb;AAGVC,MAAAA,QAAQ,EAAE;AAHA,KAJD;AASXC,IAAAA,qBAAqB,EAAE;AACrBC,MAAAA,gBAAgB,EACd,+HAFmB;AAGrBC,MAAAA,kBAAkB,EAChB;AAJmB,KATZ;AAeXC,IAAAA,eAAe,EAAE;AACfC,MAAAA,SAAS,EAAE,kBADI;AAEfC,MAAAA,YAAY,EAAE,oBAFC;AAGfC,MAAAA,MAAM,EAAE,aAHO;AAIfC,MAAAA,SAAS,EAAE,YAJI;AAKfC,MAAAA,WAAW,EAAE,gBALE;AAMfC,MAAAA,GAAG,EAAE,MANU;AAOfC,MAAAA,MAAM,EAAE,SAPO;AAQfC,MAAAA,MAAM,EAAE,UARO;AASfC,MAAAA,MAAM,EAAE,SATO;AAUfC,MAAAA,IAAI,EAAE,MAVS;AAWfC,MAAAA,KAAK,EAAE,OAXQ;AAYfC,MAAAA,KAAK,EAAE,QAZQ;AAafC,MAAAA,KAAK,EAAE,OAbQ;AAcfC,MAAAA,aAAa,EAAE;AAdA,KAfN;AA+BXC,IAAAA,QAAQ,EAAE;AACRC,MAAAA,WAAW,EAAE,kBADL;AAERC,MAAAA,QAAQ,EAAE,gBAFF;AAGRlB,MAAAA,kBAAkB,EAAE;AAHZ,KA/BC;AAoCXmB,IAAAA,QAAQ,EAAE;AACRC,MAAAA,KAAK,EAAE,OADC;AAERC,MAAAA,MAAM,EAAE,SAFA;AAGRC,MAAAA,IAAI,EAAE,OAHE;AAIRC,MAAAA,QAAQ,EAAE,UAJF;AAKRC,MAAAA,OAAO,EAAE,UALD;AAMRC,MAAAA,GAAG,EAAE,YANG;AAORC,MAAAA,OAAO,EAAE,WAPD;AAQRC,MAAAA,IAAI,EAAE,MARE;AASRC,MAAAA,MAAM,EAAE,QATA;AAURC,MAAAA,KAAK,EAAE,UAVC;AAWRC,MAAAA,IAAI,EAAE,SAXE;AAYRC,MAAAA,KAAK,EAAE;AAZC,KApCC;AAkDXC,IAAAA,UAAU,EAAE;AACVC,MAAAA,4BAA4B,EAC1B;AAFQ,KAlDD;AAsDXC,IAAAA,UAAU,EAAE;AACVC,MAAAA,qBAAqB,EAAE,iCADb;AAEVC,MAAAA,wBAAwB,EAAE,oCAFhB;AAGVC,MAAAA,kBAAkB,EAAE;AAHV;AAtDD,GADA;AA6DbC,EAAAA,MAAM,EAAE;AACNC,IAAAA,IAAI,EAAE,UADA;AAEN1C,IAAAA,QAAQ,EAAE,aAFJ;AAGN2C,IAAAA,OAAO,EAAE,SAHH;AAINC,IAAAA,SAAS,EAAE,WAJL;AAKNC,IAAAA,iBAAiB,EAAE,4BALb;AAMNC,IAAAA,iBAAiB,EAAE,4BANb;AAONC,IAAAA,iCAAiC,EAC/B,yMARI;AASNC,IAAAA,OAAO,EAAE,aATH;AAUNC,IAAAA,QAAQ,EAAE,cAVJ;AAWNC,IAAAA,QAAQ,EAAE;AAXJ;AA7DK,C","sourcesContent":["export default {\n translation: {\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:\n 'Has alcanzado el límite de {{count}} respuestas por área. Para agregar otra respuesta, primero se debe eliminar una respuesta.',\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 newLabel: 'Nueva etiqueta',\n reachedLimit_other: 'No puede haber más de {{count}} categorías.',\n },\n graphing: {\n point: 'Punto',\n circle: 'Circulo',\n line: 'Línea',\n parabola: 'Parábola',\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 selectText: {\n correctAnswerSelected: 'Respuesta correcta seleccionada',\n correctAnswerNotSelected: 'Respuesta correcta no seleccionada',\n incorrectSelection: 'Selección incorrecta',\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 },\n};\n"],"file":"es.js"}
|
package/lib/index.js
DELETED
|
@@ -1,69 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
|
|
3
|
-
var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
|
|
4
|
-
|
|
5
|
-
Object.defineProperty(exports, "__esModule", {
|
|
6
|
-
value: true
|
|
7
|
-
});
|
|
8
|
-
exports["default"] = void 0;
|
|
9
|
-
|
|
10
|
-
var _defineProperty2 = _interopRequireDefault(require("@babel/runtime/helpers/defineProperty"));
|
|
11
|
-
|
|
12
|
-
var _i18next = _interopRequireDefault(require("i18next"));
|
|
13
|
-
|
|
14
|
-
var _en = _interopRequireDefault(require("./en"));
|
|
15
|
-
|
|
16
|
-
var _es = _interopRequireDefault(require("./es"));
|
|
17
|
-
|
|
18
|
-
function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }
|
|
19
|
-
|
|
20
|
-
function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys(Object(source), !0).forEach(function (key) { (0, _defineProperty2["default"])(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
|
|
21
|
-
|
|
22
|
-
_i18next["default"].init({
|
|
23
|
-
fallbackLng: "en",
|
|
24
|
-
lng: "en",
|
|
25
|
-
debug: true,
|
|
26
|
-
resources: {
|
|
27
|
-
en: _en["default"],
|
|
28
|
-
es: _es["default"]
|
|
29
|
-
}
|
|
30
|
-
});
|
|
31
|
-
|
|
32
|
-
var _default = {
|
|
33
|
-
translator: _objectSpread(_objectSpread({}, _i18next["default"]), {}, {
|
|
34
|
-
t: function t(key, options) {
|
|
35
|
-
var lng = options.lng;
|
|
36
|
-
|
|
37
|
-
switch (lng) {
|
|
38
|
-
// these keys don't work with plurals, don't know why, so I added a workaround to convert them to the correct lng
|
|
39
|
-
case "en_US":
|
|
40
|
-
case "en-US":
|
|
41
|
-
options.lng = "en";
|
|
42
|
-
break;
|
|
43
|
-
|
|
44
|
-
case "es_ES":
|
|
45
|
-
case "es-ES":
|
|
46
|
-
case "es_MX":
|
|
47
|
-
case "es-MX":
|
|
48
|
-
options.lng = "es";
|
|
49
|
-
break;
|
|
50
|
-
|
|
51
|
-
default:
|
|
52
|
-
break;
|
|
53
|
-
}
|
|
54
|
-
|
|
55
|
-
return _i18next["default"].t(key, _objectSpread({
|
|
56
|
-
lng: lng
|
|
57
|
-
}, options));
|
|
58
|
-
}
|
|
59
|
-
}),
|
|
60
|
-
languageOptions: [{
|
|
61
|
-
value: "en_US",
|
|
62
|
-
label: "English (US)"
|
|
63
|
-
}, {
|
|
64
|
-
value: "es_ES",
|
|
65
|
-
label: "Spanish"
|
|
66
|
-
}]
|
|
67
|
-
};
|
|
68
|
-
exports["default"] = _default;
|
|
69
|
-
//# sourceMappingURL=index.js.map
|
package/lib/index.js.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"sources":["../src/index.js"],"names":["i18next","init","fallbackLng","lng","debug","resources","en","es","translator","t","key","options","languageOptions","value","label"],"mappings":";;;;;;;;;;;AAAA;;AACA;;AACA;;;;;;AAEAA,oBAAQC,IAAR,CACE;AACEC,EAAAA,WAAW,EAAE,IADf;AAEEC,EAAAA,GAAG,EAAE,IAFP;AAGEC,EAAAA,KAAK,EAAE,IAHT;AAIEC,EAAAA,SAAS,EAAE;AACTC,IAAAA,EAAE,EAAEA,cADK;AAETC,IAAAA,EAAE,EAAEA;AAFK;AAJb,CADF;;eAWe;AACbC,EAAAA,UAAU,kCACLR,mBADK;AAERS,IAAAA,CAAC,EAAE,WAACC,GAAD,EAAMC,OAAN,EAAkB;AACnB,UAAQR,GAAR,GAAgBQ,OAAhB,CAAQR,GAAR;;AAEA,cAAQA,GAAR;AACE;AACA,aAAK,OAAL;AACA,aAAK,OAAL;AACEQ,UAAAA,OAAO,CAACR,GAAR,GAAc,IAAd;AACA;;AACF,aAAK,OAAL;AACA,aAAK,OAAL;AACA,aAAK,OAAL;AACA,aAAK,OAAL;AACEQ,UAAAA,OAAO,CAACR,GAAR,GAAc,IAAd;AACA;;AACF;AACE;AAbJ;;AAeA,aAAOH,oBAAQS,CAAR,CAAUC,GAAV;AAAiBP,QAAAA,GAAG,EAAHA;AAAjB,SAAyBQ,OAAzB,EAAP;AACD;AArBO,IADG;AAwBbC,EAAAA,eAAe,EAAE,CACf;AAAEC,IAAAA,KAAK,EAAE,OAAT;AAAkBC,IAAAA,KAAK,EAAE;AAAzB,GADe,EAEf;AAAED,IAAAA,KAAK,EAAE,OAAT;AAAkBC,IAAAA,KAAK,EAAE;AAAzB,GAFe;AAxBJ,C","sourcesContent":["import i18next from \"i18next\";\nimport en from \"./en\";\nimport es from \"./es\";\n\ni18next.init(\n {\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"],"file":"index.js"}
|