@pie-lib/translator 2.6.0 → 2.7.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 CHANGED
@@ -3,7 +3,7 @@
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
- # [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)
6
+ # [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)
7
7
 
8
8
  **Note:** Version bump only for package @pie-lib/translator
9
9
 
@@ -11,7 +11,7 @@ See [Conventional Commits](https://conventionalcommits.org) for commit guideline
11
11
 
12
12
 
13
13
 
14
- # [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)
14
+ # [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)
15
15
 
16
16
  **Note:** Version bump only for package @pie-lib/translator
17
17
 
@@ -19,7 +19,7 @@ See [Conventional Commits](https://conventionalcommits.org) for commit guideline
19
19
 
20
20
 
21
21
 
22
- # [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)
22
+ # [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)
23
23
 
24
24
  **Note:** Version bump only for package @pie-lib/translator
25
25
 
@@ -27,142 +27,90 @@ See [Conventional Commits](https://conventionalcommits.org) for commit guideline
27
27
 
28
28
 
29
29
 
30
- # [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)
30
+ # [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)
31
31
 
32
32
  **Note:** Version bump only for package @pie-lib/translator
33
33
 
34
+ # [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)
34
35
 
36
+ **Note:** Version bump only for package @pie-lib/translator
35
37
 
38
+ # [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)
36
39
 
40
+ **Note:** Version bump only for package @pie-lib/translator
37
41
 
38
- # [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)
42
+ # [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)
39
43
 
40
44
  **Note:** Version bump only for package @pie-lib/translator
41
45
 
46
+ # [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)
42
47
 
48
+ **Note:** Version bump only for package @pie-lib/translator
43
49
 
50
+ # [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)
44
51
 
52
+ **Note:** Version bump only for package @pie-lib/translator
45
53
 
46
54
  # [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)
47
55
 
48
56
  **Note:** Version bump only for package @pie-lib/translator
49
57
 
50
-
51
-
52
-
53
-
54
58
  # [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)
55
59
 
56
60
  **Note:** Version bump only for package @pie-lib/translator
57
61
 
58
-
59
-
60
-
61
-
62
62
  # [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)
63
63
 
64
64
  **Note:** Version bump only for package @pie-lib/translator
65
65
 
66
-
67
-
68
-
69
-
70
66
  # [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)
71
67
 
72
68
  **Note:** Version bump only for package @pie-lib/translator
73
69
 
74
-
75
-
76
-
77
-
78
70
  # [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)
79
71
 
80
72
  **Note:** Version bump only for package @pie-lib/translator
81
73
 
82
-
83
-
84
-
85
-
86
74
  # [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)
87
75
 
88
76
  **Note:** Version bump only for package @pie-lib/translator
89
77
 
90
-
91
-
92
-
93
-
94
78
  # [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)
95
79
 
96
80
  **Note:** Version bump only for package @pie-lib/translator
97
81
 
98
-
99
-
100
-
101
-
102
82
  # [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)
103
83
 
104
84
  **Note:** Version bump only for package @pie-lib/translator
105
85
 
106
-
107
-
108
-
109
-
110
86
  # [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)
111
87
 
112
88
  **Note:** Version bump only for package @pie-lib/translator
113
89
 
114
-
115
-
116
-
117
-
118
90
  # [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)
119
91
 
120
92
  **Note:** Version bump only for package @pie-lib/translator
121
93
 
122
-
123
-
124
-
125
-
126
94
  # [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)
127
95
 
128
96
  **Note:** Version bump only for package @pie-lib/translator
129
97
 
130
-
131
-
132
-
133
-
134
98
  # [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)
135
99
 
136
100
  **Note:** Version bump only for package @pie-lib/translator
137
101
 
138
-
139
-
140
-
141
-
142
102
  # [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)
143
103
 
144
104
  **Note:** Version bump only for package @pie-lib/translator
145
105
 
146
-
147
-
148
-
149
-
150
106
  # [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)
151
107
 
152
108
  **Note:** Version bump only for package @pie-lib/translator
153
109
 
154
-
155
-
156
-
157
-
158
110
  # [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)
159
111
 
160
112
  **Note:** Version bump only for package @pie-lib/translator
161
113
 
162
-
163
-
164
-
165
-
166
114
  # [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)
167
115
 
168
116
  **Note:** Version bump only for package @pie-lib/translator
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pie-lib/translator",
3
- "version": "2.6.0",
3
+ "version": "2.7.0",
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": "ecb1ca31aa1c24d23af00d5ad04ce73ed8871057"
17
+ "gitHead": "889a13bfea2c768b8a3a6eabfc6fe7b7725aa832"
18
18
  }
package/lib/en.js DELETED
@@ -1,102 +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
- 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
- exports["default"] = _default;
102
- //# sourceMappingURL=en.js.map
package/lib/en.js.map DELETED
@@ -1 +0,0 @@
1
- {"version":3,"sources":["../src/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"],"mappings":";;;;;;eAAe;AACbA,EAAAA,WAAW,EAAE;AACXC,IAAAA,UAAU,EAAE;AACVC,MAAAA,0BAA0B,EACxB,+HAFQ;AAGVC,MAAAA,gCAAgC,EAC9B;AAJQ,KADD;AAOXC,IAAAA,IAAI,EAAE;AACJC,MAAAA,IAAI,EAAE;AADF,KAPK;AAUXC,IAAAA,UAAU,EAAE;AACVC,MAAAA,mBAAmB,EAAE,oCADX;AAEVC,MAAAA,qBAAqB,EAAE,qCAFb;AAGVC,MAAAA,QAAQ,EAAE;AAHA,KAVD;AAeXC,IAAAA,qBAAqB,EAAE;AACrBC,MAAAA,gBAAgB,EACd,8GAFmB;AAGrBC,MAAAA,kBAAkB,EAAE;AAHC,KAfZ;AAoBXC,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,EAA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BAAsB,EAAE;AALV,KArEL;AA4EXC,IAAAA,UAAU,EAAE;AACVC,MAAAA,qBAAqB,EAAE,SADb;AAEVC,MAAAA,wBAAwB,EAAE,6BAFhB;AAGVC,MAAAA,kBAAkB,EAAE,qBAHV;AAIVC,MAAAA,GAAG,EAAE;AAJK;AA5ED,GADA;AAoFbC,EAAAA,MAAM,EAAE;AACNC,IAAAA,IAAI,EAAE,MADA;AAENzD,IAAAA,QAAQ,EAAE,WAFJ;AAGN0D,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,WAXJ;AAYNC,IAAAA,MAAM,EAAE;AAZF;AApFK,C","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"],"file":"en.js"}
package/lib/es.js DELETED
@@ -1,102 +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
- 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
- exports["default"] = _default;
102
- //# sourceMappingURL=es.js.map
package/lib/es.js.map DELETED
@@ -1 +0,0 @@
1
- {"version":3,"sources":["../src/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"],"mappings":";;;;;;eAAe;AACbA,EAAAA,WAAW,EAAE;AACXC,IAAAA,UAAU,EAAE;AACVC,MAAAA,0BAA0B,EACxB,gJAFQ;AAGVC,MAAAA,gCAAgC,EAC9B;AAJQ,KADD;AAOXC,IAAAA,IAAI,EAAE;AACJC,MAAAA,IAAI,EAAE;AADF,KAPK;AAUXC,IAAAA,UAAU,EAAE;AACVC,MAAAA,mBAAmB,EAAE,wCADX;AAEVC,MAAAA,qBAAqB,EAAE,yCAFb;AAGVC,MAAAA,QAAQ,EAAE;AAHA,KAVD;AAeXC,IAAAA,qBAAqB,EAAE;AACrBC,MAAAA,gBAAgB,EACd,+HAFmB;AAGrBC,MAAAA,kBAAkB,EAAE;AAHC,KAfZ;AAoBXC,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,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VC,MAAAA,qBAAqB,EAAE,oBADb;AAEVC,MAAAA,wBAAwB,EAAE,oCAFhB;AAGVC,MAAAA,kBAAkB,EAAE,sBAHV;AAIVC,MAAAA,GAAG,EAAE;AAJK;AA5ED,GADA;AAoFbC,EAAAA,MAAM,EAAE;AACNC,IAAAA,IAAI,EAAE,UADA;AAENzD,IAAAA,QAAQ,EAAE,aAFJ;AAGN0D,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,cAXJ;AAYNC,IAAAA,MAAM,EAAE;AAZF;AApFK,C","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"],"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,CAAa;AACXC,EAAAA,WAAW,EAAE,IADF;AAEXC,EAAAA,GAAG,EAAE,IAFM;AAGXC,EAAAA,KAAK,EAAE,IAHI;AAIXC,EAAAA,SAAS,EAAE;AACTC,IAAAA,EAAE,EAAEA,cADK;AAETC,IAAAA,EAAE,EAAEA;AAFK;AAJA,CAAb;;eAUe;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 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"}