@pie-qti/i18n 0.1.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.
Files changed (78) hide show
  1. package/.turbo/turbo-build.log +264 -0
  2. package/README.md +402 -0
  3. package/dist/core/I18n.d.ts +83 -0
  4. package/dist/core/I18n.d.ts.map +1 -0
  5. package/dist/core/I18n.js +203 -0
  6. package/dist/core/I18n.js.map +1 -0
  7. package/dist/core/I18nProvider.d.ts +64 -0
  8. package/dist/core/I18nProvider.d.ts.map +1 -0
  9. package/dist/core/I18nProvider.js +9 -0
  10. package/dist/core/I18nProvider.js.map +1 -0
  11. package/dist/core/types.d.ts +20 -0
  12. package/dist/core/types.d.ts.map +1 -0
  13. package/dist/core/types.js +5 -0
  14. package/dist/core/types.js.map +1 -0
  15. package/dist/index.d.ts +8 -0
  16. package/dist/index.d.ts.map +1 -0
  17. package/dist/index.js +10 -0
  18. package/dist/index.js.map +1 -0
  19. package/dist/locales/ar-SA.d.ts +763 -0
  20. package/dist/locales/ar-SA.d.ts.map +1 -0
  21. package/dist/locales/ar-SA.js +796 -0
  22. package/dist/locales/ar-SA.js.map +1 -0
  23. package/dist/locales/en-US.d.ts +731 -0
  24. package/dist/locales/en-US.d.ts.map +1 -0
  25. package/dist/locales/en-US.js +764 -0
  26. package/dist/locales/en-US.js.map +1 -0
  27. package/dist/locales/es-ES.d.ts +734 -0
  28. package/dist/locales/es-ES.d.ts.map +1 -0
  29. package/dist/locales/es-ES.js +758 -0
  30. package/dist/locales/es-ES.js.map +1 -0
  31. package/dist/locales/fr-FR.d.ts +733 -0
  32. package/dist/locales/fr-FR.d.ts.map +1 -0
  33. package/dist/locales/fr-FR.js +757 -0
  34. package/dist/locales/fr-FR.js.map +1 -0
  35. package/dist/locales/nl-NL.d.ts +733 -0
  36. package/dist/locales/nl-NL.d.ts.map +1 -0
  37. package/dist/locales/nl-NL.js +757 -0
  38. package/dist/locales/nl-NL.js.map +1 -0
  39. package/dist/locales/ro-RO.d.ts +733 -0
  40. package/dist/locales/ro-RO.d.ts.map +1 -0
  41. package/dist/locales/ro-RO.js +757 -0
  42. package/dist/locales/ro-RO.js.map +1 -0
  43. package/dist/locales/th-TH.d.ts +733 -0
  44. package/dist/locales/th-TH.d.ts.map +1 -0
  45. package/dist/locales/th-TH.js +758 -0
  46. package/dist/locales/th-TH.js.map +1 -0
  47. package/dist/locales/zh-CN.d.ts +731 -0
  48. package/dist/locales/zh-CN.d.ts.map +1 -0
  49. package/dist/locales/zh-CN.js +764 -0
  50. package/dist/locales/zh-CN.js.map +1 -0
  51. package/dist/providers/SvelteI18nProvider.d.ts +40 -0
  52. package/dist/providers/SvelteI18nProvider.d.ts.map +1 -0
  53. package/dist/providers/SvelteI18nProvider.js +133 -0
  54. package/dist/providers/SvelteI18nProvider.js.map +1 -0
  55. package/docs/ADVANCED_FEATURES.md +556 -0
  56. package/docs/COMPONENT_PATTERNS.md +896 -0
  57. package/docs/INTEGRATION_GUIDE.md +695 -0
  58. package/package.json +42 -0
  59. package/scripts/check-translations.ts +289 -0
  60. package/scripts/scan-hardcoded-strings.ts +266 -0
  61. package/src/components/LocaleSwitcher.svelte +145 -0
  62. package/src/components/README.md +224 -0
  63. package/src/core/I18n.ts +235 -0
  64. package/src/core/I18nProvider.ts +68 -0
  65. package/src/core/types.ts +45 -0
  66. package/src/index.ts +22 -0
  67. package/src/locales/ar-SA.ts +860 -0
  68. package/src/locales/en-US.ts +828 -0
  69. package/src/locales/es-ES.ts +816 -0
  70. package/src/locales/fr-FR.ts +815 -0
  71. package/src/locales/nl-NL.ts +815 -0
  72. package/src/locales/ro-RO.ts +815 -0
  73. package/src/locales/th-TH.ts +816 -0
  74. package/src/locales/zh-CN.ts +828 -0
  75. package/src/providers/SvelteI18nProvider.ts +170 -0
  76. package/tests/i18n.test.ts +146 -0
  77. package/tsconfig.json +10 -0
  78. package/tsconfig.tsbuildinfo +1 -0
@@ -0,0 +1,731 @@
1
+ /**
2
+ * English (United States) translations
3
+ *
4
+ * Guidelines for translators:
5
+ * - Keep messages concise for UI constraints
6
+ * - Use sentence case for labels, title case for buttons
7
+ * - Maintain consistent terminology across interactions
8
+ * - Variables in {curlyBraces} will be replaced with dynamic values
9
+ */
10
+ declare const _default: {
11
+ readonly common: {
12
+ readonly loading: "Loading...";
13
+ readonly error: "Error";
14
+ readonly success: "Success";
15
+ readonly cancel: "Cancel";
16
+ readonly confirm: "Confirm";
17
+ readonly close: "Close";
18
+ readonly save: "Save";
19
+ readonly delete: "Delete";
20
+ readonly edit: "Edit";
21
+ readonly remove: "Remove";
22
+ readonly add: "Add";
23
+ readonly search: "Search";
24
+ readonly filter: "Filter";
25
+ readonly reset: "Reset";
26
+ readonly clear: "Clear";
27
+ readonly clearAll: "Clear All";
28
+ readonly submit: "Submit";
29
+ readonly next: "Next";
30
+ readonly previous: "Previous";
31
+ readonly back: "Back";
32
+ readonly continue: "Continue";
33
+ readonly finish: "Finish";
34
+ readonly complete: "Complete";
35
+ readonly completed: "Completed";
36
+ readonly status: "Status";
37
+ readonly required: "Required";
38
+ readonly review: "Review";
39
+ readonly selected: "Selected";
40
+ readonly available: "Available";
41
+ readonly showDetails: "Show details";
42
+ readonly hideDetails: "Hide details";
43
+ readonly details: "Details";
44
+ readonly deselected: "{item} deselected";
45
+ readonly selectionCancelled: "Selection cancelled";
46
+ readonly question: "Question";
47
+ readonly of: "of";
48
+ readonly answered: "answered";
49
+ readonly pleaseComplete: "Please complete the required interactions";
50
+ readonly submitting: "Submitting...";
51
+ readonly submitAnswer: "Submit Answer";
52
+ readonly tryAgain: "Try Again";
53
+ readonly errorNoData: "No interaction data provided";
54
+ };
55
+ readonly units: {
56
+ readonly bytes: "{count} bytes";
57
+ readonly kilobytes: "{count} KB";
58
+ readonly megabytes: "{count} MB";
59
+ readonly seconds: "{count} seconds";
60
+ readonly minutes: "{count} minutes";
61
+ readonly hours: "{count} hours";
62
+ };
63
+ readonly plurals: {
64
+ readonly items: {
65
+ readonly one: "{count} item";
66
+ readonly other: "{count} items";
67
+ };
68
+ readonly files: {
69
+ readonly one: "{count} file selected";
70
+ readonly other: "{count} files selected";
71
+ };
72
+ readonly questions: {
73
+ readonly one: "{count} question";
74
+ readonly other: "{count} questions";
75
+ };
76
+ readonly answers: {
77
+ readonly one: "{count} answer";
78
+ readonly other: "{count} answers";
79
+ };
80
+ readonly choices: {
81
+ readonly one: "{count} choice";
82
+ readonly other: "{count} choices";
83
+ };
84
+ readonly attempts: {
85
+ readonly one: "{count} attempt remaining";
86
+ readonly other: "{count} attempts remaining";
87
+ };
88
+ readonly minutesRemaining: {
89
+ readonly one: "{count} minute remaining";
90
+ readonly other: "{count} minutes remaining";
91
+ };
92
+ readonly secondsRemaining: {
93
+ readonly one: "{count} second remaining";
94
+ readonly other: "{count} seconds remaining";
95
+ };
96
+ readonly submitAnswer: {
97
+ readonly one: "Submit Answer";
98
+ readonly other: "Submit Answers";
99
+ };
100
+ };
101
+ readonly validation: {
102
+ readonly required: "This field is required";
103
+ readonly invalidFormat: "Invalid format";
104
+ readonly tooShort: "Too short (minimum {min} characters)";
105
+ readonly tooLong: "Too long (maximum {max} characters)";
106
+ readonly outOfRange: "Value must be between {min} and {max}";
107
+ };
108
+ readonly interactions: {
109
+ readonly choice: {
110
+ readonly selectOption: "Select an option";
111
+ readonly selectMultiple: "Select all that apply";
112
+ readonly selected: "Selected";
113
+ readonly notSelected: "Not selected";
114
+ readonly correct: "Correct";
115
+ };
116
+ readonly upload: {
117
+ readonly label: "Upload a file";
118
+ readonly selectFile: "Choose file";
119
+ readonly dragDrop: "or drag and drop";
120
+ readonly allowedTypes: "Allowed file types:";
121
+ readonly selectedFile: "Selected:";
122
+ readonly fileSize: "{size} bytes";
123
+ readonly fileSizeKb: "{size} KB";
124
+ readonly fileSizeMb: "{size} MB";
125
+ readonly removeFile: "Remove file";
126
+ readonly errorInvalidType: "File type not allowed. Allowed: {types}";
127
+ readonly errorReadFailed: "Failed to read file";
128
+ readonly errorTooLarge: "File is too large (maximum {max} MB)";
129
+ readonly unknownType: "Unknown file type";
130
+ };
131
+ readonly drawing: {
132
+ readonly label: "Draw your response";
133
+ readonly clear: "Clear drawing";
134
+ readonly undo: "Undo";
135
+ readonly redo: "Redo";
136
+ readonly strokeColor: "Stroke color";
137
+ readonly strokeWidth: "Stroke width";
138
+ readonly tool: "Tool";
139
+ readonly instructions: "Draw with your mouse or touch. Use the Clear button to reset.";
140
+ readonly canvas: "Drawing canvas";
141
+ readonly updated: "Drawing updated.";
142
+ readonly cleared: "Drawing cleared.";
143
+ readonly generated: "Generated:";
144
+ };
145
+ readonly extendedText: {
146
+ readonly placeholder: "Type your response here...";
147
+ readonly characterCount: "{count} characters";
148
+ readonly characterLimit: "{count} / {max} characters";
149
+ readonly bold: "Bold";
150
+ readonly italic: "Italic";
151
+ readonly underline: "Underline";
152
+ readonly bulletList: "Bullet list";
153
+ readonly numberedList: "Numbered list";
154
+ readonly insertMath: "Insert math equation";
155
+ readonly insertInlineMath: "Insert inline math";
156
+ readonly insertBlockMath: "Insert block math";
157
+ readonly enterMathExpression: "Enter your math expression:";
158
+ readonly latexSource: "LaTeX source:";
159
+ readonly keyboard: "Keyboard";
160
+ readonly update: "Update";
161
+ readonly insert: "Insert";
162
+ };
163
+ readonly slider: {
164
+ readonly label: "Slider";
165
+ readonly selectedValue: "Selected value: {value}";
166
+ readonly min: "Minimum: {min}";
167
+ readonly max: "Maximum: {max}";
168
+ readonly step: "Step: {step}";
169
+ readonly ariaLabel: "Slider value from {lowerBound} to {upperBound}";
170
+ readonly statTitle: "Selected Value";
171
+ };
172
+ readonly hottext: {
173
+ readonly selected: "Selected:";
174
+ readonly selectText: "Select text from the passage";
175
+ readonly clearSelection: "Clear Selection";
176
+ readonly ariaLabel: "Text selection interaction";
177
+ };
178
+ readonly hotspot: {
179
+ readonly selected: "Selected:";
180
+ readonly selectArea: "Select areas on the image";
181
+ readonly ariaLabel: "Hotspot interaction";
182
+ readonly altText: "Hotspot interaction";
183
+ };
184
+ readonly selectPoint: {
185
+ readonly instruction: "Click on the image to select points";
186
+ readonly instructionAria: "Click to select points on the image";
187
+ readonly maxPointsReached: "Maximum points reached. Remove a point to add a new one.";
188
+ readonly point: "Point {index}";
189
+ readonly removePoint: "Remove point {index}";
190
+ readonly removePointTitle: "Click to remove this point";
191
+ readonly removePointAt: "Remove point {index} at coordinates {x}, {y}";
192
+ readonly removePointAtTitle: "Click to remove this point ({x}, {y})";
193
+ readonly canvas: "Selection canvas";
194
+ readonly noImage: "No image provided";
195
+ readonly pointsSelected: "Points selected:";
196
+ readonly minimumMet: "✓ Minimum met";
197
+ readonly selectAtLeast: "Select at least {minChoices}";
198
+ };
199
+ readonly match: {
200
+ readonly keyboardInstructions: "Press Space or Enter to select a source item. Tab to navigate to targets. Press Space or Enter on a target to create a match. Press Escape to cancel selection.";
201
+ readonly dragInstruction: "Press Space or Enter to match";
202
+ readonly dropTarget: "Drop item here";
203
+ readonly matchedWith: "Matched with {target}";
204
+ readonly selectedForMatching: "Selected for matching";
205
+ readonly available: "Available";
206
+ readonly availableForMatching: "Available for matching";
207
+ readonly removeMatch: "Remove match";
208
+ readonly clearMatch: "Clear match for {source}";
209
+ readonly sourceItemsLabel: "Source items to match";
210
+ readonly targetItemsLabel: "Target items for matching";
211
+ readonly dragFromHere: "Drag from here:";
212
+ readonly dropHere: "Drop here:";
213
+ readonly deselected: "{item} deselected";
214
+ readonly selected: "{item} selected";
215
+ readonly navigateToTarget: "Navigate to a target and press Space or Enter to match";
216
+ readonly selectionCancelled: "Selection cancelled";
217
+ readonly matchCleared: "Match cleared for {item}";
218
+ };
219
+ readonly gapMatch: {
220
+ readonly instruction: "Drag words to fill in the blanks";
221
+ readonly available: "Available words";
222
+ readonly availableLabel: "Available words to place";
223
+ readonly availableHeading: "Available words:";
224
+ readonly removeWord: "Remove word";
225
+ readonly removeFromBlanks: "Remove {word} from the blanks";
226
+ readonly selectPlaceholder: "Select...";
227
+ readonly gapAriaLabel: "Gap {gapId}";
228
+ readonly blankGapAriaLabel: "Blank {gapId}. Drop an answer here.";
229
+ readonly filledGapAriaLabel: "Blank {gapId}, filled with {word}. Click to clear.";
230
+ };
231
+ readonly graphicGapMatch: {
232
+ readonly instruction: "Place labels on the image hotspots";
233
+ readonly keyboardInstructions: "Press Space or Enter to select a label. Tab to navigate to hotspots on the image. Press Space or Enter on a hotspot to place the label. Press Escape to cancel selection.";
234
+ readonly available: "Available labels";
235
+ readonly availableLabel: "Available labels to place";
236
+ readonly availableHeading: "Available Labels:";
237
+ readonly alreadyPlaced: "Already placed on hotspot";
238
+ readonly selectedForPlacement: "Selected for placement";
239
+ readonly pressSpaceToSelect: "Press Space to select";
240
+ readonly pressSpaceToPlace: "Press Space or Enter to place label";
241
+ readonly removeLabel: "Remove label";
242
+ readonly removeFromHotspot: "Remove {label} from hotspot";
243
+ readonly labelPlaced: "{label} placed on hotspot {hotspot}";
244
+ readonly hotspot: "Hotspot {number}";
245
+ readonly contains: "Contains: {label}";
246
+ };
247
+ readonly order: {
248
+ readonly instruction: "Drag items to reorder them";
249
+ readonly keyboardInstructions: "Press Space or Enter to grab an item. Use arrow keys to move the item. Press Space or Enter again to drop. Press Escape to cancel.";
250
+ readonly grabbed: "Grabbed. Use arrow keys to move.";
251
+ readonly moveUp: "Move up";
252
+ readonly moveDown: "Move down";
253
+ readonly position: "Position {current} of {total}";
254
+ readonly listLabel: "Reorderable list of choices";
255
+ readonly confirmOrder: "Confirm Order";
256
+ readonly confirmOrderNoChanges: "Confirm Order (No Changes)";
257
+ readonly confirmAria: "Confirm this order as your answer";
258
+ readonly itemGrabbed: "{item} grabbed. Current position {position} of {total}. Use arrow keys to move, Space or Enter to drop.";
259
+ readonly itemDropped: "{item} dropped at position {position} of {total}";
260
+ readonly itemMoved: "{item} moved to position {position} of {total}";
261
+ readonly selectionCancelled: "{item} selection cancelled";
262
+ };
263
+ readonly associate: {
264
+ readonly instruction: "Create associations between items";
265
+ readonly createPair: "Create pair";
266
+ readonly removePair: "Remove pair";
267
+ readonly removeAssociation: "Remove association";
268
+ readonly diagramLabel: "Association diagram";
269
+ readonly altText: "Association diagram";
270
+ readonly hotspotConnections: "{label} ({usageCount}/{matchMax} connections)";
271
+ readonly selectAnother: "Selected: <strong>{label}</strong>. Click another";
272
+ readonly selectAnotherHotspot: "Selected: <strong>{label}</strong>. Click another hotspot to create an association.";
273
+ readonly minimumRequired: "Minimum required: {minAssociations}";
274
+ readonly currentAssociations: "Current Associations";
275
+ readonly correctAssociations: "Correct Associations";
276
+ readonly clickToAssociate: "Click two items to create an association between them";
277
+ readonly clickAnotherOrDeselect: "Click another item to create an association (or click again to deselect)";
278
+ readonly associations: "Associations";
279
+ readonly associationsCount: "Associations ({count}/{max})";
280
+ readonly clickHotspotsToAssociate: "Click two hotspots on the image to create an association.";
281
+ readonly clickAnotherHotspot: "Selected: <strong>{label}</strong>. Click another hotspot to create an association.";
282
+ };
283
+ readonly positionObject: {
284
+ readonly instruction: "Drag objects onto the image";
285
+ readonly placeObject: "Place {object} on image";
286
+ readonly removeObject: "Remove {object}";
287
+ readonly objectAt: "{object} at position ({x}, {y})";
288
+ readonly canvasLabel: "Positioning canvas";
289
+ readonly backgroundAlt: "Positioning background";
290
+ readonly positioned: "Positioned {label} at ({x}, {y})";
291
+ readonly minimumRequired: "Minimum required: {minChoices}";
292
+ readonly maximumAllowed: "Maximum: {maxChoices}";
293
+ readonly availableObjects: "Available Objects";
294
+ readonly objectUsage: "{label} ({usageCount}/{matchMax} used)";
295
+ readonly availableObjectsCount: "Available Objects ({count}/{max})";
296
+ readonly dragObjectsInstruction: "Drag objects onto the canvas to position them.";
297
+ readonly used: "{usageCount}/{matchMax} used";
298
+ };
299
+ readonly endAttempt: {
300
+ readonly buttonLabel: "End Attempt";
301
+ readonly ended: "Attempt Ended";
302
+ readonly requested: "Requested";
303
+ readonly warningMessage: "Your attempt has been ended and can no longer be modified.";
304
+ readonly confirmMessage: "Are you sure you want to end your attempt? You will not be able to change your responses.";
305
+ };
306
+ readonly media: {
307
+ readonly play: "Play";
308
+ readonly pause: "Pause";
309
+ readonly volume: "Volume";
310
+ readonly mute: "Mute";
311
+ readonly unmute: "Unmute";
312
+ readonly fullscreen: "Fullscreen";
313
+ readonly exitFullscreen: "Exit fullscreen";
314
+ readonly playbackSpeed: "Playback speed";
315
+ readonly currentTime: "{current} / {duration}";
316
+ readonly loading: "Loading media...";
317
+ readonly ariaLabel: "Media content";
318
+ readonly maxPlayLimitReached: "Maximum play limit reached";
319
+ readonly playCount: "Play count:";
320
+ readonly remaining: "Remaining:";
321
+ readonly requirementMet: "✓ Requirement met";
322
+ readonly playAtLeast: "Play at least {minPlays} time";
323
+ readonly playAtLeastPlural: "Play at least {minPlays} times";
324
+ readonly browserNoSupport: "Your browser does not support this media type.";
325
+ readonly audioNoSupport: "Your browser does not support the audio element.";
326
+ readonly videoNoSupport: "Your browser does not support the video element.";
327
+ readonly objectDisabled: "This item uses an embedded object type that is disabled by default for security.";
328
+ };
329
+ readonly graphicOrder: {
330
+ readonly instruction: "Click hotspots to order them";
331
+ readonly diagramLabel: "Ordering diagram";
332
+ readonly altText: "Ordering diagram";
333
+ readonly orderHeading: "Order (drag to reorder)";
334
+ readonly itemLabel: "Item {index}: {label}";
335
+ readonly confirmOrder: "Confirm Order";
336
+ readonly confirmOrderNoChanges: "Confirm Order (No Changes)";
337
+ readonly confirmAria: "Confirm this order as your answer";
338
+ };
339
+ readonly custom: {
340
+ readonly unsupported: "Unsupported customInteraction";
341
+ readonly description: "This item contains a vendor-specific interaction. This player does not execute custom interactions.";
342
+ readonly promptLabel: "Prompt";
343
+ readonly manualResponse: "Manual response (optional)";
344
+ readonly placeholder: "Enter a manual response (fallback)";
345
+ readonly attributes: "Attributes";
346
+ readonly xml: "XML";
347
+ };
348
+ readonly inline: {
349
+ readonly placeholder: "...";
350
+ readonly selectPlaceholder: "Select...";
351
+ };
352
+ };
353
+ readonly item: {
354
+ readonly loading: "Loading item...";
355
+ readonly loadingError: "Failed to load item";
356
+ readonly loadError: "Error loading item: {error}";
357
+ readonly parsingError: "Failed to parse QTI XML";
358
+ readonly processingError: "Failed to process responses";
359
+ readonly submit: "Submit";
360
+ readonly complete: "Complete";
361
+ readonly completed: "Completed";
362
+ readonly attempt: "Attempt {numAttempts}";
363
+ };
364
+ readonly itemSession: {
365
+ readonly attempt: "Attempt {numAttempts}";
366
+ readonly attemptsRemaining: "{attemptsRemaining} attempts remaining";
367
+ readonly maxAttempts: "Max attempts: {maxAttempts}";
368
+ };
369
+ readonly feedback: {
370
+ readonly close: "Close feedback";
371
+ readonly closeFeedback: "Dismiss feedback";
372
+ readonly testFeedback: "Test feedback";
373
+ };
374
+ readonly assessment: {
375
+ readonly title: "Assessment";
376
+ readonly loading: "Loading assessment...";
377
+ readonly loadingError: "Timeout loading assessment. This assessment may be invalid or the player failed to initialize.";
378
+ readonly question: "Question {current} of {total}";
379
+ readonly questionAnnouncement: "Question {current} of {total}";
380
+ readonly section: "Section {current} of {total}";
381
+ readonly sectionDefault: "Section {number}";
382
+ readonly closeMenu: "Close menu";
383
+ readonly readingPassage: "Reading Passage";
384
+ readonly expandPassage: "Expand passage";
385
+ readonly collapsePassage: "Collapse passage";
386
+ readonly attempts: {
387
+ readonly remaining: "{count} attempts remaining";
388
+ readonly oneRemaining: "1 attempt remaining";
389
+ readonly noRemaining: "No attempts remaining ({count} used)";
390
+ readonly used: "Attempts: {count}";
391
+ readonly maxReached: "Max attempts reached";
392
+ readonly required: "Must answer before continuing";
393
+ readonly reviewNotAllowed: "Not allowed once submitted";
394
+ };
395
+ readonly navigation: {
396
+ readonly previous: "Previous";
397
+ readonly next: "Next";
398
+ readonly submit: "Submit";
399
+ readonly jumpTo: "Jump to question {number}";
400
+ readonly sectionMenu: "Section menu";
401
+ readonly progress: "Progress: {percent}%";
402
+ };
403
+ readonly sections: {
404
+ readonly title: "Sections";
405
+ readonly selectSection: "Select section";
406
+ };
407
+ readonly timer: {
408
+ readonly remaining: "Time Remaining";
409
+ readonly elapsed: "Time Elapsed";
410
+ readonly expired: "Time Expired";
411
+ readonly timeRemaining: "Time remaining: {time}";
412
+ readonly timeElapsed: "Time elapsed: {time}";
413
+ readonly timeUp: "Time's up!";
414
+ };
415
+ readonly feedback: {
416
+ readonly correct: "Correct";
417
+ readonly incorrect: "Incorrect";
418
+ readonly partiallyCorrect: "Partially correct";
419
+ readonly unanswered: "Unanswered";
420
+ readonly score: "Score: {score} / {maxScore}";
421
+ readonly passed: "Passed";
422
+ readonly failed: "Failed";
423
+ };
424
+ readonly completion: {
425
+ readonly title: "Assessment Complete";
426
+ readonly message: "You have completed the assessment.";
427
+ readonly score: "Your score: {score} out of {maxScore}";
428
+ readonly percentage: "Percentage: {percent}%";
429
+ readonly viewResults: "View results";
430
+ readonly exit: "Exit";
431
+ };
432
+ readonly errors: {
433
+ readonly navigationFailed: "Navigation failed. Please try again.";
434
+ readonly submitFailed: "Failed to submit assessment. Please try again.";
435
+ readonly loadFailed: "Failed to load question.";
436
+ readonly saveFailed: "Failed to save response.";
437
+ };
438
+ };
439
+ readonly i18n: {
440
+ readonly selectLanguage: "Language";
441
+ readonly selectLanguageAriaLabel: "Select display language";
442
+ };
443
+ readonly accessibility: {
444
+ readonly skipToContent: "Skip to content";
445
+ readonly skipToNavigation: "Skip to navigation";
446
+ readonly itemBody: "Question content";
447
+ readonly navigationRegion: "Assessment navigation";
448
+ readonly announcement: "Announcement";
449
+ readonly newQuestion: "New question loaded";
450
+ readonly answerRecorded: "Answer recorded";
451
+ readonly resizer: "Resize passage and question panels";
452
+ };
453
+ readonly demo: {
454
+ readonly selectSampleItem: "Select Sample Item";
455
+ readonly configurationPanel: "Configuration Panel";
456
+ readonly viewingAs: "Viewing as";
457
+ readonly role: "Role";
458
+ readonly candidate: "Candidate";
459
+ readonly author: "Author";
460
+ readonly proctor: "Proctor";
461
+ readonly scorer: "Scorer";
462
+ readonly tutor: "Tutor";
463
+ readonly showCorrectAnswers: "Show correct answers";
464
+ readonly showFeedback: "Show feedback";
465
+ readonly settings_aria: "Open settings menu";
466
+ readonly xmlEditor: "XML Editor";
467
+ readonly appName: "PIE QTI Player";
468
+ readonly home: "Home";
469
+ readonly itemDemo: "Item Demo";
470
+ readonly assessmentDemo: "Assessment Demo";
471
+ readonly likertDemo: "Likert Plugin Demo";
472
+ readonly iframeDemo: "Iframe Demo";
473
+ readonly theme: "Theme";
474
+ readonly homeTitle: "QTI Player";
475
+ readonly homeSubtitle: "A modern, framework-agnostic player for QTI assessment items. Works 100% client-side by default, with optional server-side hooks for production use.";
476
+ readonly homeMetaDescription: "Modern QTI player with optional backend integration";
477
+ readonly tryItems: "Try Items";
478
+ readonly tryAssessments: "Try Assessments";
479
+ readonly pluginDemo: "Plugin Demo";
480
+ readonly dropQtiFile: "Drop QTI XML file here";
481
+ readonly orClickToSelect: "or click to select a file";
482
+ readonly selectFile: "Select File";
483
+ readonly selectedFile: "Selected:";
484
+ readonly loadInPlayer: "Load in Player";
485
+ readonly footerTitle: "QTI Player";
486
+ readonly footerLicense: "MIT Licensed • Open Source";
487
+ readonly settings: "Settings";
488
+ readonly candidateStudent: "Candidate (Student)";
489
+ readonly testConstructor: "Test Constructor";
490
+ readonly controlsRubricVisibility: "Controls rubric visibility and correct answer display";
491
+ readonly useBackendScoring: "Use Backend Scoring";
492
+ readonly scoreOnServer: "Score responses on the server instead of client-side";
493
+ readonly sessionManagement: "Session Management";
494
+ readonly saving: "Saving...";
495
+ readonly saveSession: "Save Session";
496
+ readonly loadSession: "Load Session";
497
+ readonly exportResponses: "Export Responses";
498
+ readonly json: "JSON";
499
+ readonly csv: "CSV";
500
+ readonly templateProcessing: "Template Processing";
501
+ readonly rerunTemplateProcessing: "Re-run templateProcessing and reset the item session";
502
+ readonly regenerateVariant: "Regenerate Variant";
503
+ readonly templateVariablesDebug: "Template Variables (Debug)";
504
+ readonly variable: "Variable";
505
+ readonly value: "Value";
506
+ readonly keyboardShortcuts: "Keyboard Shortcuts";
507
+ readonly submitAnswersShortcut: "Submit answers";
508
+ readonly tryAgainShortcut: "Try again";
509
+ readonly exportJsonShortcut: "Export JSON";
510
+ readonly saveSessionShortcut: "Save session";
511
+ readonly useCmdOnMacOS: "Use <kbd class=\"kbd kbd-xs\">Cmd</kbd> on macOS";
512
+ readonly results: "Results";
513
+ readonly score: "Score";
514
+ readonly outcomeVariables: "Outcome Variables";
515
+ readonly format: "Format";
516
+ readonly selectItemOrPasteXml: "Select a sample item or paste custom XML to get started.";
517
+ readonly pageTitle: "Player Demo - PIE QTI Player";
518
+ readonly sampleItemDescriptions: {
519
+ readonly '': "Custom uploaded item";
520
+ readonly 'simple-choice': "Basic subtraction word problem with plausible distractors";
521
+ readonly 'partial-credit': "Multiple choice with partial credit using mapResponse";
522
+ readonly 'capital-cities': "Geography question with shuffled choices";
523
+ readonly 'text-entry': "Fill-in-the-blank question with case-insensitive matching";
524
+ readonly 'extended-text': "Multi-line text response question";
525
+ readonly 'inline-choice': "Dropdown menu embedded in text";
526
+ readonly 'order-interaction': "Arrange items in correct sequence";
527
+ readonly 'match-interaction': "Match items from two columns";
528
+ readonly 'associate-interaction': "Create associations between items";
529
+ readonly 'gap-match': "Drag words into gaps in text";
530
+ readonly 'graphic-gap-match-solar-system': "Label the four inner planets of our solar system";
531
+ readonly slider: "Select a value on a numerical slider";
532
+ readonly hotspot: "Click on the Blue Planet in this astronomy question";
533
+ readonly 'hotspot-partial-credit': "Identify planet with liquid water (partial credit for terrestrial planets)";
534
+ readonly 'template-variable-demo': "templateProcessing generates values; responseProcessing scores against them";
535
+ readonly 'upload-interaction': "Upload a file as the response (baseType=file)";
536
+ readonly 'drawing-interaction': "Draw on a canvas (baseType=file, PNG dataUrl)";
537
+ readonly 'media-audio': "Audio player with play count tracking and minPlays requirement";
538
+ readonly 'media-video': "Video player with play count tracking and maxPlays limit";
539
+ readonly 'hottext-single': "Click to select a single word within text (grammar question)";
540
+ readonly 'hottext-multiple': "Click to select multiple text segments (reading comprehension)";
541
+ readonly 'select-point': "Click on the image to select a point location (geography question)";
542
+ readonly 'graphic-order': "Drag to reorder items on an image (geological layers)";
543
+ readonly 'graphic-associate': "Click pairs of hotspots to create associations (organ matching)";
544
+ readonly 'position-object': "Drag and position furniture objects on a room layout";
545
+ readonly 'end-attempt': "Button to end the assessment attempt";
546
+ readonly 'custom-interaction': "Shows a fallback UI for customInteraction and allows a manual response";
547
+ readonly 'choice-with-stimulus': "Question with reading passage embedded inline";
548
+ readonly 'math-inline': "Multiple choice with MathML inline math rendering";
549
+ readonly 'math-extended': "Extended response with MathML and rich text editor for showing mathematical work";
550
+ readonly 'math-fractions': "Fraction arithmetic with MathML block display";
551
+ readonly 'adaptive-capitals': "Multi-attempt adaptive question with progressive feedback and hints";
552
+ };
553
+ };
554
+ readonly transform: {
555
+ readonly appName: "QTI Batch Processor";
556
+ readonly appDescription: "Upload QTI packages to analyze structure, transform to PIE format, and preview results";
557
+ readonly home: "Home";
558
+ readonly sessions: {
559
+ readonly title: "Recent Sessions";
560
+ readonly session: "Session";
561
+ readonly status: "Status";
562
+ readonly packages: "Packages";
563
+ readonly created: "Created";
564
+ readonly createdAt: "Created {date}";
565
+ readonly open: "Open";
566
+ readonly delete: "Delete";
567
+ readonly deleteTitle: "Delete session";
568
+ readonly deleteConfirmTitle: "Delete Session";
569
+ readonly deleteConfirmMessage: "Are you sure you want to delete this session? This action cannot be undone and all files will be permanently removed.";
570
+ readonly deleted: "Session deleted";
571
+ readonly notFound: "Session Not Found";
572
+ readonly notFoundMessage: "The requested session could not be found or does not exist.";
573
+ };
574
+ readonly samples: {
575
+ readonly title: "Sample QTI Packages";
576
+ readonly description: "Try the processor with pre-loaded sample packages demonstrating various QTI interaction types.";
577
+ readonly itemCount: "{count, plural, one {# item} other {# items}}";
578
+ readonly hasManifest: "Manifest";
579
+ readonly load: "Load Sample";
580
+ readonly loadSample: "Load Sample";
581
+ readonly loaded: "Sample '{id}' loaded successfully";
582
+ readonly notFound: "Sample package '{id}' not found";
583
+ readonly loadFailed: "Failed to load sample";
584
+ };
585
+ readonly upload: {
586
+ readonly dropPrompt: "Drop QTI ZIP files here";
587
+ readonly orClickToSelect: "or click to select files";
588
+ readonly selectFiles: "Select Files";
589
+ readonly processing: "Processing...";
590
+ readonly invalidType: "Only ZIP files are allowed";
591
+ readonly fileTooLarge: "File too large: {filename}. Maximum size is {maxSize}MB.";
592
+ readonly noFiles: "No files provided";
593
+ readonly uploadFailed: "Upload failed";
594
+ };
595
+ readonly detail: {
596
+ readonly uploadedPackages: "Uploaded Packages";
597
+ readonly package: "Package";
598
+ readonly type: "Type";
599
+ readonly size: "Size";
600
+ readonly uploaded: "Uploaded";
601
+ readonly actions: "Actions";
602
+ readonly analyzing: "Package is being analyzed...";
603
+ readonly analysisComplete: "Analysis complete. Review results below or proceed to transformation.";
604
+ readonly cannotConvert: "Cannot Convert to PIE";
605
+ readonly unsupportedMessage: "This package contains QTI interaction types that have no PIE equivalent. See issues below for details. Use the QTI player instead to preview these items.";
606
+ readonly transforming: "Transforming...";
607
+ readonly transformToPie: "Transform to PIE";
608
+ readonly analysisResults: "Analysis Results";
609
+ readonly totalItems: "Total Items";
610
+ readonly passages: "Passages";
611
+ readonly tests: "Tests";
612
+ readonly interactionTypesFound: "Interaction Types Found";
613
+ readonly issuesFound: "Issues Found";
614
+ readonly packageDetails: "Package Details";
615
+ readonly noManifest: "No Manifest";
616
+ readonly items: "items";
617
+ readonly interactionTypes: "Interaction Types";
618
+ readonly assessmentTests: "Assessment Tests";
619
+ readonly file: "File";
620
+ readonly pattern: "Pattern";
621
+ readonly sampleItems: "Sample Items by Interaction Type";
622
+ readonly issues: "Issues";
623
+ readonly browseAssessments: "Browse & Preview Assessment Tests";
624
+ readonly browseAssessmentsDescription: "Browse and preview {count, plural, one {# QTI assessment test} other {# QTI assessment tests}} found in this session";
625
+ readonly individualItems: "Individual Items";
626
+ readonly browseItems: "Browse & Preview Items";
627
+ readonly browseItemsDescription: "Browse and preview {count, plural, one {# QTI item} other {# QTI items}} found in this session";
628
+ };
629
+ readonly analysis: {
630
+ readonly title: "Analysis Results";
631
+ readonly totalItems: "Total Items";
632
+ readonly passages: "Passages";
633
+ readonly tests: "Tests";
634
+ readonly packages: "Packages";
635
+ readonly interactionTypesFound: "Interaction Types Found";
636
+ readonly issuesFound: "Issues Found ({count})";
637
+ readonly assessmentTests: "Assessment Tests";
638
+ readonly individualItems: "Individual Items";
639
+ };
640
+ readonly items: {
641
+ readonly title: "Item Browser";
642
+ readonly description: "Browse and preview {count} QTI assessment items";
643
+ readonly loading: "Loading items...";
644
+ readonly notFound: "No items found in this session.";
645
+ readonly itemsCount: "Items ({count})";
646
+ readonly showCorrect: "Show Correct";
647
+ readonly xmlNotAvailable: "Item XML not available";
648
+ readonly noSelection: "No item selected";
649
+ readonly notAvailable: "Items Not Available";
650
+ };
651
+ readonly assessments: {
652
+ readonly title: "Assessment Tests";
653
+ readonly loading: "Loading assessment tests...";
654
+ readonly notFound: "No assessment tests found in this session.";
655
+ readonly showCorrect: "Show Correct";
656
+ readonly assessmentsCount: "Assessments ({count})";
657
+ readonly selectPrompt: "Select an assessment to preview";
658
+ };
659
+ readonly transformed: {
660
+ readonly pageTitle: "Transformation Results - Session {sessionId}";
661
+ readonly breadcrumb: "Transformed";
662
+ readonly title: "Transformation Results";
663
+ readonly summary: "{itemCount} item{itemCount, plural, one {} other {s}}{assessmentCount, plural, =0 {} other { + {assessmentCount} assessment{assessmentCount, plural, one {} other {s}}}} transformed in {duration}";
664
+ readonly backToSession: "Back to Session";
665
+ readonly content: "Transformed Content";
666
+ readonly items: "Items";
667
+ readonly assessments: "Assessments";
668
+ readonly errors: "Errors";
669
+ readonly warnings: "{count, plural, one {# warning} other {# warnings}}";
670
+ readonly transformationErrors: "{count, plural, one {# Transformation Error} other {# Transformation Errors}}";
671
+ readonly noItems: "No items transformed";
672
+ readonly selectPrompt: "Select an item or assessment to preview";
673
+ };
674
+ readonly player: {
675
+ readonly selectPlayerType: "Select player type";
676
+ readonly iife: "IIFE";
677
+ readonly esm: "ESM";
678
+ readonly gather: "Gather";
679
+ readonly view: "View";
680
+ readonly evaluate: "Evaluate";
681
+ readonly browse: "Browse";
682
+ readonly student: "Student";
683
+ readonly instructor: "Instructor";
684
+ readonly notAvailable: "PIE Players Not Available";
685
+ readonly debugConfig: "Debug: config JSON";
686
+ };
687
+ readonly qtiPlayer: {
688
+ readonly errorLoading: "Error loading QTI player";
689
+ readonly loading: "Loading QTI player...";
690
+ readonly waitingForData: "Waiting for assessment data...";
691
+ };
692
+ readonly assessmentPreview: {
693
+ readonly totalItems: "Total Items";
694
+ readonly sections: "Sections";
695
+ readonly timeLimit: "Time Limit";
696
+ readonly configuration: "Configuration";
697
+ readonly navigation: "Navigation:";
698
+ readonly submission: "Submission:";
699
+ };
700
+ readonly dialog: {
701
+ readonly defaultTitle: "Confirm Action";
702
+ readonly defaultConfirm: "Confirm";
703
+ readonly defaultCancel: "Cancel";
704
+ readonly close: "close";
705
+ };
706
+ readonly errors: {
707
+ readonly noContent: "Please provide QTI XML content";
708
+ readonly invalidQti: "The provided content does not appear to be valid QTI XML";
709
+ readonly transformFailed: "Transformation failed";
710
+ readonly noItemsProduced: "Transformation produced no items";
711
+ readonly transformError: "Transformation error: {message}";
712
+ readonly sessionNotFound: "Session not found";
713
+ readonly alreadyAnalyzed: "Session already analyzed";
714
+ readonly noListSupport: "Storage backend does not support listing files";
715
+ readonly noZipFiles: "No ZIP files found and no extracted files available";
716
+ readonly extractFailed: "Failed to extract {filename}";
717
+ readonly analysisComplete: "Analysis complete";
718
+ readonly notAnalyzed: "Session not analyzed yet";
719
+ readonly analysisFailed: "Analysis failed";
720
+ readonly noTransformation: "No transformation results found for session {sessionId}";
721
+ readonly getTransformationFailed: "Failed to get transformation results";
722
+ readonly loadSamplesFailed: "Failed to load samples";
723
+ };
724
+ readonly badges: {
725
+ readonly qti: "QTI";
726
+ readonly uploaded: "Uploaded";
727
+ };
728
+ };
729
+ };
730
+ export default _default;
731
+ //# sourceMappingURL=en-US.d.ts.map