@pie-qti/i18n 1.0.0-beta.3 → 1.0.0-beta.5

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.
@@ -52,14 +52,6 @@ declare const _default: {
52
52
  readonly tryAgain: "Try Again";
53
53
  readonly errorNoData: "No interaction data provided";
54
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
55
  readonly plurals: {
64
56
  readonly items: {
65
57
  readonly one: "{count} item";
@@ -98,13 +90,6 @@ declare const _default: {
98
90
  readonly other: "Submit Answers";
99
91
  };
100
92
  };
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
93
  readonly interactions: {
109
94
  readonly choice: {
110
95
  readonly selectOption: "Select an option";
@@ -114,6 +99,13 @@ declare const _default: {
114
99
  readonly correct: "Correct";
115
100
  readonly revealChoice: "Reveal choice {index}";
116
101
  readonly groupLabel: "Answer choices";
102
+ readonly maxChoicesReached: "You can select up to {max}. Deselect one to choose another.";
103
+ readonly clearAnswer: "Clear answer";
104
+ readonly minChoicesHint: {
105
+ readonly one: "Select at least {count} answer.";
106
+ readonly other: "Select at least {count} answers.";
107
+ };
108
+ readonly eliminateChoice: "Eliminate";
117
109
  };
118
110
  readonly upload: {
119
111
  readonly label: "Upload a file";
@@ -129,6 +121,8 @@ declare const _default: {
129
121
  readonly errorReadFailed: "Failed to read file";
130
122
  readonly errorTooLarge: "File is too large (maximum {max} MB)";
131
123
  readonly unknownType: "Unknown file type";
124
+ readonly fileRemoved: "File removed.";
125
+ readonly errorFileTooLarge: "File {filename} is too large. Maximum size is {maxBytes} bytes.";
132
126
  };
133
127
  readonly drawing: {
134
128
  readonly label: "Draw your response";
@@ -143,6 +137,8 @@ declare const _default: {
143
137
  readonly updated: "Drawing updated.";
144
138
  readonly cleared: "Drawing cleared.";
145
139
  readonly generated: "Generated:";
140
+ readonly imageFallback: "Drawing background";
141
+ readonly imageLoadError: "The background image could not be loaded.";
146
142
  };
147
143
  readonly extendedText: {
148
144
  readonly placeholder: "Type your response here...";
@@ -153,15 +149,42 @@ declare const _default: {
153
149
  readonly underline: "Underline";
154
150
  readonly bulletList: "Bullet list";
155
151
  readonly numberedList: "Numbered list";
156
- readonly insertMath: "Insert math equation";
157
152
  readonly insertInlineMath: "Insert inline math";
158
153
  readonly insertBlockMath: "Insert block math";
159
- readonly enterMathExpression: "Enter your math expression:";
160
- readonly latexSource: "LaTeX source:";
161
- readonly keyboard: "Keyboard";
154
+ readonly responseLabel: "Response";
155
+ readonly responseNumber: "Response {number}";
156
+ readonly addResponse: "Add response";
157
+ readonly removeResponseNumber: "Remove response {number}";
158
+ readonly responseRemoved: "Response {number} removed.";
159
+ readonly charactersRemaining: {
160
+ readonly one: "{count} character remaining";
161
+ readonly other: "{count} characters remaining";
162
+ };
163
+ readonly expectedLengthReached: {
164
+ readonly one: "Expected length of {count} character reached.";
165
+ readonly other: "Expected length of {count} characters reached.";
166
+ };
167
+ readonly correctAnswerHeading: "Correct answer:";
168
+ readonly editMath: "Edit math";
169
+ readonly minStringsHint: {
170
+ readonly one: "Write at least {count} response.";
171
+ readonly other: "Write at least {count} responses.";
172
+ };
173
+ readonly minStringsRemoveRefused: "Response not removed: at least {count} responses are required.";
174
+ readonly patternMismatch: "This answer is not in the expected format.";
175
+ };
176
+ readonly mathInput: {
177
+ readonly insertInlineTitle: "Insert inline math";
178
+ readonly insertBlockTitle: "Insert block math";
179
+ readonly editInlineTitle: "Edit inline math";
180
+ readonly editBlockTitle: "Edit block math";
181
+ readonly instructions: "Type the expression, or open the math keyboard. Press Escape to cancel.";
182
+ readonly fieldLabel: "Math expression";
183
+ readonly latexSourceLabel: "LaTeX source";
184
+ readonly latexEmpty: "LaTeX will appear here";
185
+ readonly toggleKeyboard: "Math keyboard";
162
186
  readonly update: "Update";
163
187
  readonly insert: "Insert";
164
- readonly correctAnswerHeading: "Correct answer:";
165
188
  };
166
189
  readonly slider: {
167
190
  readonly label: "Slider";
@@ -171,12 +194,15 @@ declare const _default: {
171
194
  readonly step: "Step: {step}";
172
195
  readonly ariaLabel: "Slider value from {lowerBound} to {upperBound}";
173
196
  readonly statTitle: "Selected Value";
197
+ readonly noValueSelected: "No value selected";
174
198
  };
175
199
  readonly hottext: {
176
200
  readonly selected: "Selected:";
177
201
  readonly selectText: "Select text from the passage";
178
- readonly clearSelection: "Clear Selection";
179
202
  readonly ariaLabel: "Text selection interaction";
203
+ readonly maxChoicesReached: "You can select up to {max}. Deselect one to choose another.";
204
+ readonly minimumMet: "Minimum met";
205
+ readonly selectAtLeast: "Select at least {minChoices}";
180
206
  };
181
207
  readonly hotspot: {
182
208
  readonly selected: "Selected:";
@@ -185,8 +211,18 @@ declare const _default: {
185
211
  readonly altText: "Hotspot interaction";
186
212
  readonly unknownImageDimensions: "This hotspot cannot be shown: the size of its image is unknown, so the selectable regions cannot be placed. Add width and height to the image, or supply the asset dimensions.";
187
213
  readonly correctList: "Correct: {ids}";
214
+ readonly imageFallback: "Image for this question";
215
+ readonly imageLoadError: "The image could not be loaded.";
216
+ readonly regionOfTotal: "Region {index} of {total}";
217
+ readonly selectedRegion: "Selected: {region}";
218
+ readonly maxChoicesReached: "You can select up to {max}. Deselect one to choose another.";
219
+ readonly minChoicesHint: {
220
+ readonly one: "Select at least {count} region.";
221
+ readonly other: "Select at least {count} regions.";
222
+ };
188
223
  };
189
224
  readonly selectPoint: {
225
+ readonly unknownImageDimensions: "This select-point interaction cannot be shown: the size of its image is unknown, so points cannot be placed correctly. Add width and height to the image, or supply the asset dimensions.";
190
226
  readonly instruction: "Click on the image to select points";
191
227
  readonly instructionAria: "Click to select points on the image";
192
228
  readonly maxPointsReached: "Maximum points reached. Remove a point to add a new one.";
@@ -201,6 +237,16 @@ declare const _default: {
201
237
  readonly minimumMet: "✓ Minimum met";
202
238
  readonly selectAtLeast: "Select at least {minChoices}";
203
239
  readonly correctPointAt: "Correct answer point at coordinates {x}, {y}";
240
+ readonly imageFallback: "Image for this question";
241
+ readonly imageLoadError: "The image could not be loaded.";
242
+ readonly stageLabel: "Point selection area";
243
+ readonly keyboardInstructions: "Click the image to place a point. With a keyboard, focus the image, move the crosshair with the arrow keys (hold Shift for smaller steps) and press Enter or Space to place a point.";
244
+ readonly placedPoints: "Placed points";
245
+ readonly pointAtPercent: "Point {index} at {x}%, {y}%";
246
+ readonly percentPosition: "{x}%, {y}%";
247
+ readonly pointPlaced: "Point {index} placed at {x}%, {y}%.";
248
+ readonly pointRemoved: "Point {index} removed.";
249
+ readonly allPointsRemoved: "All points removed.";
204
250
  };
205
251
  readonly match: {
206
252
  readonly pointerInstructions: "Select a source item, then select its target. You can also drag and drop.";
@@ -224,17 +270,25 @@ declare const _default: {
224
270
  readonly navigateToTarget: "Navigate to a target and press Space or Enter to match";
225
271
  readonly selectionCancelled: "Selection cancelled";
226
272
  readonly matchCleared: "Match cleared for {item}";
227
- readonly maxReached: "Maximum associations reached. Remove a pair to add a new one.";
273
+ readonly associationLimitReached: "Association not possible: the limit of {max} is reached.";
274
+ readonly sourceLimitReached: "Not possible: {label} cannot be in more associations.";
228
275
  readonly pairCreated: "{source} matched with {target}.";
276
+ readonly minAssociationsHint: {
277
+ readonly one: "Make at least {count} match.";
278
+ readonly other: "Make at least {count} matches.";
279
+ };
280
+ readonly minChoiceUsesHint: "Needs more matches: {items}.";
229
281
  readonly matchedWithSentence: "Matched with {targets}.";
230
282
  readonly selectedForMatchingSentence: "Selected for matching.";
231
283
  readonly availableForMatchingSentence: "Available for matching.";
232
284
  readonly notCompatibleSentence: "Not compatible with the selected source.";
285
+ readonly selectionCancelledItem: "Selection of {item} cancelled.";
233
286
  };
234
287
  readonly gapMatch: {
235
- readonly filledGapAriaLabelWithHeld: "Blank {gapId}, filled with {word}. Select to replace with {heldWord}.";
236
- readonly blankGapAriaLabelWithHeld: "Blank {gapId}. Select to place {heldWord} here.";
237
- readonly placed: "Placed {word} in blank {gapId}.";
288
+ readonly filledGapAriaLabelWithHeld: "Blank {position} of {total}, filled with {word}. Select to replace with {heldWord}.";
289
+ readonly blankGapAriaLabelWithHeld: "Blank {position} of {total}. Select to place {heldWord} here.";
290
+ readonly placed: "Placed {word} in blank {position} of {total}.";
291
+ readonly associationLimitReached: "Association not possible: the limit of {max} is reached.";
238
292
  readonly pointerInstructions: "Select a word, then select a blank. You can also drag and drop.";
239
293
  readonly instruction: "Drag words to fill in the blanks";
240
294
  readonly available: "Available words";
@@ -244,8 +298,14 @@ declare const _default: {
244
298
  readonly removeFromBlanks: "Remove {word} from the blanks";
245
299
  readonly selectPlaceholder: "Select...";
246
300
  readonly gapAriaLabel: "Gap {gapId}";
247
- readonly blankGapAriaLabel: "Blank {gapId}. Drop an answer here.";
248
- readonly filledGapAriaLabel: "Blank {gapId}, filled with {word}. Click to clear.";
301
+ readonly blankGapAriaLabel: "Blank {position} of {total}. Drop an answer here.";
302
+ readonly filledGapAriaLabel: "Blank {position} of {total}, filled with {word}. Select to clear.";
303
+ readonly wordSelected: "{word} picked up. Select a blank to place it, or press Escape to cancel.";
304
+ readonly pickUpCancelled: "Pick-up of {word} cancelled.";
305
+ readonly minPlacementsHint: "Still to place in the blanks: {words}.";
306
+ readonly notCompatibleSentence: "Not compatible with the selected word.";
307
+ readonly wordRemovedFromBlanks: "{word} removed from the blanks.";
308
+ readonly requiredBlanksLegend: "Blanks marked * are required.";
249
309
  };
250
310
  readonly graphicGapMatch: {
251
311
  readonly pointerInstructions: "Select a label, then select a hotspot on the image. You can also drag and drop.";
@@ -267,9 +327,8 @@ declare const _default: {
267
327
  readonly pickedUp: "Picked up: {label}. Tab to a hotspot and press Enter to place it.";
268
328
  readonly alreadyPlacedSentence: "Already placed on a hotspot.";
269
329
  readonly unavailableSentence: "Not available due to a match group restriction.";
270
- readonly heldHint: "Picked up. Tab to a hotspot and press Enter to place it.";
330
+ readonly heldHint: "Tab to a hotspot and press Enter to place it.";
271
331
  readonly pickUpHint: "Press Space or Enter to pick up.";
272
- readonly selectedHint: "Selected for placement.";
273
332
  readonly selectHint: "Press Space to select.";
274
333
  readonly hotspotContains: "Hotspot {number}. Contains {label}.";
275
334
  readonly hotspotCorrectAnswer: "Hotspot {number}. Correct answer: {label}.";
@@ -279,10 +338,16 @@ declare const _default: {
279
338
  readonly placeLabelHint: "Press Space or Enter to place the label.";
280
339
  readonly labelFallback: "Label";
281
340
  readonly pickUpInstructions: "Press Space or Enter to pick up a label. Tab to a hotspot on the image and press Enter to place it. Press Escape to cancel.";
341
+ readonly imageFallback: "Image for this question";
342
+ readonly imageLoadError: "The image could not be loaded.";
343
+ readonly unknownImageDimensions: "The hotspots cannot be shown: the size of the image is unknown. Add width and height to the image.";
344
+ readonly minPlacementsHint: "Still to place on the hotspots: {labels}.";
345
+ readonly associationLimitReached: "Association not possible: the limit of {max} is reached.";
282
346
  };
283
347
  readonly order: {
284
- readonly moveEarlier: "Move earlier";
285
- readonly moveLater: "Move later";
348
+ readonly moveEarlierItem: "Move {item} earlier";
349
+ readonly moveLaterItem: "Move {item} later";
350
+ readonly eliminateItem: "Eliminate {item}";
286
351
  readonly instruction: "Use the move buttons or drag items to reorder them.";
287
352
  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.";
288
353
  readonly grabbed: "Grabbed. Use arrow keys to move.";
@@ -297,9 +362,32 @@ declare const _default: {
297
362
  readonly itemDropped: "{item} dropped at position {position} of {total}";
298
363
  readonly itemMoved: "{item} moved to position {position} of {total}";
299
364
  readonly selectionCancelled: "{item} selection cancelled";
300
- readonly itemPosition: "{item}. Position {position} of {total}.";
301
365
  readonly itemFallback: "Item";
302
366
  readonly orderConfirmed: "Order confirmed";
367
+ readonly minChoicesHint: {
368
+ readonly one: "Put at least {count} item in order.";
369
+ readonly other: "Put at least {count} items in order.";
370
+ };
371
+ readonly yourOrder: "Your order";
372
+ readonly notInOrder: "Not in your order";
373
+ readonly emptyOrder: "Nothing is in your order yet.";
374
+ readonly addItem: "Add {item} to your order";
375
+ readonly removeItem: "Remove {item} from your order";
376
+ readonly itemAdded: "{item} added to your order at position {position} of {total}.";
377
+ readonly itemRemoved: "{item} removed from your order.";
378
+ readonly orderLimitReached: {
379
+ readonly one: "Your order can hold {max} item. Remove it to add another.";
380
+ readonly other: "Your order can hold up to {max} items. Remove one to add another.";
381
+ };
382
+ readonly correctOrder: "Correct order";
383
+ readonly subsetExactHint: {
384
+ readonly one: "Choose {count} item for your order.";
385
+ readonly other: "Choose {count} items and put them in order.";
386
+ };
387
+ readonly subsetRangeHint: {
388
+ readonly one: "Choose between {min} and {max} item and put them in order.";
389
+ readonly other: "Choose between {min} and {max} items and put them in order.";
390
+ };
303
391
  };
304
392
  readonly associate: {
305
393
  readonly instruction: "Create associations between items";
@@ -321,8 +409,23 @@ declare const _default: {
321
409
  readonly clickHotspotsToAssociate: "Click two hotspots on the image to create an association.";
322
410
  readonly clickAnotherHotspot: "Selected: <strong>{label}</strong>. Click another hotspot to create an association.";
323
411
  readonly removeAssociationBetween: "Remove association between {first} and {second}";
412
+ readonly inPairSentence: "In an association.";
413
+ readonly removedAssociationBetween: "Removed association between {first} and {second}.";
414
+ readonly minAssociationsHint: {
415
+ readonly one: "Make at least {count} association.";
416
+ readonly other: "Make at least {count} associations.";
417
+ };
418
+ readonly minChoiceUsesHint: "Needs more associations: {items}.";
419
+ readonly maxAssociationsHint: {
420
+ readonly one: "You can make up to {count} association.";
421
+ readonly other: "You can make up to {count} associations.";
422
+ };
423
+ readonly choiceLimitReached: "Not possible: {label} cannot be in more associations.";
424
+ readonly associationLimitReached: "Association not possible: the limit of {max} is reached.";
425
+ readonly notAvailableSentence: "Not available due to a match group restriction.";
324
426
  };
325
427
  readonly positionObject: {
428
+ readonly unknownImageDimensions: "Objects cannot be placed: the size of the stage image is unknown. Add width and height to the image, or supply the asset dimensions.";
326
429
  readonly instruction: "Drag objects onto the image";
327
430
  readonly placeObject: "Place {object} on image";
328
431
  readonly removeObject: "Remove {object}";
@@ -332,24 +435,38 @@ declare const _default: {
332
435
  readonly positioned: "Positioned {label} at ({x}, {y})";
333
436
  readonly minimumRequired: "Minimum required: {minChoices}";
334
437
  readonly maximumAllowed: "Maximum: {maxChoices}";
438
+ readonly maxChoicesReached: {
439
+ readonly one: "The maximum of {max} placement is reached.";
440
+ readonly other: "The maximum of {max} placements is reached.";
441
+ };
442
+ readonly objectLimitReached: "Not possible: {object} cannot be placed again.";
335
443
  readonly availableObjects: "Available Objects";
336
- readonly objectUsage: "{label} ({usageCount}/{matchMax} used)";
337
444
  readonly availableObjectsCount: "Available Objects ({count}/{max})";
338
445
  readonly dragObjectsInstruction: "Drag objects onto the canvas to position them.";
339
446
  readonly used: "{usageCount}/{matchMax} used";
447
+ readonly usedUnlimited: "{usageCount} used, unlimited";
340
448
  readonly objectSelected: "{object} selected. Tab to the canvas, then use the arrow keys to position it. Press Enter to place it or Escape to cancel.";
341
449
  readonly objectPlacedAt: "{object} placed at {x}%, {y}%.";
342
450
  readonly placementCancelled: "Placement cancelled.";
343
451
  readonly correctPositionFor: "Correct position for {label} at ({x}, {y})";
344
452
  readonly availableObjectsTotal: "Available Objects ({count})";
345
453
  readonly paletteInstructions: "Drag objects onto the canvas, or press Enter or Space on an object, then use the arrow keys to position it on the canvas.";
454
+ readonly imageFallback: "Image for this question";
455
+ readonly imageLoadError: "The image could not be loaded.";
456
+ readonly objectFallback: "Object {index}";
457
+ readonly objectRemoved: "{object} removed.";
458
+ readonly canvasActiveLabel: "Positioning canvas: use the arrow keys to move the crosshair, Enter to place, Escape to cancel";
459
+ readonly placedAtPercent: "{label} at {x}%, {y}%";
460
+ readonly correctPositionAtPercent: "Correct position for {label}: {x}%, {y}%";
346
461
  };
347
462
  readonly endAttempt: {
348
463
  readonly buttonLabel: "End Attempt";
349
464
  readonly ended: "Attempt Ended";
350
465
  readonly requested: "Requested";
351
- readonly warningMessage: "Your attempt has been ended and can no longer be modified.";
466
+ readonly warningMessage: "Your attempt has ended.";
352
467
  readonly confirmMessage: "Are you sure you want to end your attempt? You will not be able to change your responses.";
468
+ readonly confirm: "Yes, end attempt";
469
+ readonly cancel: "Cancel";
353
470
  };
354
471
  readonly media: {
355
472
  readonly play: "Play";
@@ -365,18 +482,33 @@ declare const _default: {
365
482
  readonly ariaLabel: "Media content";
366
483
  readonly maxPlayLimitReached: "Maximum play limit reached";
367
484
  readonly playCount: "Play count:";
368
- readonly remaining: "Remaining:";
369
485
  readonly requirementMet: "✓ Requirement met";
370
486
  readonly playAtLeastCount: {
371
487
  readonly one: "Play at least {count} time";
372
488
  readonly other: "Play at least {count} times";
373
489
  };
374
490
  readonly browserNoSupport: "Your browser does not support this media type.";
491
+ readonly playsLeft: {
492
+ readonly one: "{count} play left";
493
+ readonly other: "{count} plays left";
494
+ };
495
+ readonly playStartedOfMax: "Play {count} of {max} started.";
496
+ readonly playStarted: "Play {count} started.";
497
+ readonly requiredPlaysReached: "Required number of plays reached.";
498
+ readonly controls: "Media controls";
499
+ readonly captions: "Captions";
500
+ readonly captionsOff: "Off";
501
+ readonly playsNeeded: {
502
+ readonly one: "{count} more play needed";
503
+ readonly other: "{count} more plays needed";
504
+ };
505
+ readonly trackFallbackLabel: "Track {index}";
375
506
  readonly audioNoSupport: "Your browser does not support the audio element.";
376
507
  readonly videoNoSupport: "Your browser does not support the video element.";
377
508
  readonly objectDisabled: "This item uses an embedded object type that is disabled by default for security.";
378
509
  };
379
510
  readonly graphicOrder: {
511
+ readonly unknownImageDimensions: "The areas cannot be shown: the size of the image is unknown. Add width and height to the image, or supply the asset dimensions.";
380
512
  readonly instruction: "Click hotspots to order them";
381
513
  readonly diagramLabel: "Ordering diagram";
382
514
  readonly altText: "Ordering diagram";
@@ -385,6 +517,46 @@ declare const _default: {
385
517
  readonly confirmOrder: "Confirm Order";
386
518
  readonly confirmOrderNoChanges: "Confirm Order (No Changes)";
387
519
  readonly confirmAria: "Confirm this order as your answer";
520
+ readonly imageFallback: "Image for this question";
521
+ readonly imageLoadError: "The image could not be loaded.";
522
+ readonly unlabeledItem: "Item {index}";
523
+ readonly minChoicesHint: {
524
+ readonly one: "Put at least {count} item in order.";
525
+ readonly other: "Put at least {count} items in order.";
526
+ };
527
+ readonly subsetExactHint: {
528
+ readonly one: "Choose {count} item for your order.";
529
+ readonly other: "Choose {count} items and put them in order.";
530
+ };
531
+ readonly subsetRangeHint: {
532
+ readonly one: "Choose between {min} and {max} item and put them in order.";
533
+ readonly other: "Choose between {min} and {max} items and put them in order.";
534
+ };
535
+ };
536
+ readonly graphicAssociate: {
537
+ readonly unknownImageDimensions: "This graphic association cannot be shown: the size of its image is unknown, so the hotspots cannot be placed. Add width and height to the image, or supply the asset dimensions.";
538
+ readonly imageFallback: "Image for this question";
539
+ readonly imageLoadError: "The image could not be loaded.";
540
+ readonly unlabeledHotspot: "Region {index}";
541
+ readonly hotspotConnections: "{label} ({usageCount}/{matchMax} connections)";
542
+ readonly hotspotConnectionsUnlimited: "{label} ({usageCount} connections, unlimited)";
543
+ readonly notAvailableSentence: "Not available due to a match group restriction.";
544
+ readonly selectAnotherHotspot: "Selected: {label}. Select another hotspot to create an association.";
545
+ readonly associationsCount: "Associations ({count}/{max})";
546
+ readonly associationsCountUnlimited: "Associations ({count})";
547
+ readonly clickHotspotsToAssociate: "Select two hotspots on the image to create an association.";
548
+ readonly pairDescription: "{first} associated with {second}";
549
+ readonly removeAssociation: "Remove association between {first} and {second}";
550
+ readonly minimumRequired: "Minimum required: {minAssociations}";
551
+ readonly associationMade: "Association made.";
552
+ readonly associationRemoved: "Association removed.";
553
+ readonly associationLimitReached: "Association not possible: the limit of {max} is reached.";
554
+ readonly hotspotLimitReached: "Not possible: {label} cannot be in more associations.";
555
+ readonly minAssociationsHint: {
556
+ readonly one: "Make at least {count} association.";
557
+ readonly other: "Make at least {count} associations.";
558
+ };
559
+ readonly minHotspotUsesHint: "Needs more associations: {items}.";
388
560
  };
389
561
  readonly custom: {
390
562
  readonly unsupported: "Unsupported customInteraction";
@@ -399,36 +571,48 @@ declare const _default: {
399
571
  readonly inline: {
400
572
  readonly placeholder: "...";
401
573
  readonly selectPlaceholder: "Select...";
402
- readonly textEntryLabel: "Text entry {id}";
403
- readonly choiceLabel: "Inline choice {id}";
404
- readonly formatHint: "Format: {mask}";
574
+ readonly blankLabel: "Blank {index} of {count}";
575
+ readonly patternMismatch: "This answer is not in the expected format.";
576
+ readonly patternMismatchWithHint: "This answer is not in the expected format. Use this format: {hint}";
577
+ readonly correctChoice: "Correct: {choice}";
405
578
  };
406
579
  };
580
+ /**
581
+ * Screen-reader announcement when an interaction cannot be rendered. The
582
+ * {type} placeholder carries the QTI interaction element name.
583
+ */
584
+ readonly interaction: {
585
+ readonly renderError: "This interactive element ({type}) could not be displayed.";
586
+ };
587
+ /** Accessible name of the group a Portable Custom Interaction (PCI) renders. */
588
+ readonly customInteraction: {
589
+ readonly portableLabel: "Portable custom interaction";
590
+ };
407
591
  readonly item: {
408
592
  readonly loading: "Loading item...";
409
593
  readonly loadingError: "Failed to load item";
410
594
  readonly loadError: "Error loading item: {error}";
411
595
  readonly parsingError: "Failed to parse QTI XML";
412
596
  readonly processingError: "Failed to process responses";
597
+ readonly submitError: "Your answer could not be submitted. Please try again.";
413
598
  readonly submit: "Submit";
414
599
  readonly complete: "Complete";
415
600
  readonly completed: "Completed";
416
601
  readonly attempt: "Attempt {numAttempts}";
417
602
  };
418
- readonly itemSession: {
419
- readonly attempt: "Attempt {numAttempts}";
420
- readonly attemptsRemaining: "{attemptsRemaining} attempts remaining";
421
- readonly maxAttempts: "Max attempts: {maxAttempts}";
422
- };
423
603
  readonly feedback: {
604
+ readonly title: "Feedback";
424
605
  readonly close: "Close feedback";
425
606
  readonly closeFeedback: "Dismiss feedback";
426
607
  readonly testFeedback: "Test feedback";
608
+ readonly shown: "Feedback is shown.";
427
609
  };
428
610
  readonly assessment: {
429
611
  readonly title: "Assessment";
430
612
  readonly loading: "Loading assessment...";
431
- readonly loadingError: "Timeout loading assessment. This assessment may be invalid or the player failed to initialize.";
613
+ readonly loadingError: "This assessment could not be loaded. Please try again.";
614
+ readonly stillLoading: "Still loading. Please wait a moment.";
615
+ readonly loadingRetry: "Try again";
432
616
  readonly question: "Question {current} of {total}";
433
617
  readonly questionAnnouncement: "Question {current} of {total}";
434
618
  readonly section: "Section {current} of {total}";
@@ -436,8 +620,6 @@ declare const _default: {
436
620
  readonly closeMenu: "Close menu";
437
621
  readonly readingPassage: "Reading Passage";
438
622
  readonly readingPassages: "Reading passages";
439
- readonly expandPassage: "Expand passage";
440
- readonly collapsePassage: "Collapse passage";
441
623
  readonly attempts: {
442
624
  readonly remaining: "{count} attempts remaining";
443
625
  readonly oneRemaining: "1 attempt remaining";
@@ -446,6 +628,18 @@ declare const _default: {
446
628
  readonly maxReached: "Max attempts reached";
447
629
  readonly required: "Must answer before continuing";
448
630
  readonly reviewNotAllowed: "Not allowed once submitted";
631
+ readonly attemptOf: "Attempt {current} of {total}";
632
+ readonly current: "Attempt {current}";
633
+ };
634
+ readonly checkAnswer: {
635
+ readonly button: "Check answer";
636
+ readonly submittedAnnouncement: "Your answer was submitted.";
637
+ readonly attemptsUsedUp: "You have used all your attempts for this question.";
638
+ };
639
+ readonly comments: {
640
+ readonly heading: "Comments for the test team";
641
+ readonly label: "Your comments";
642
+ readonly placeholder: "Write a comment for the test team (optional).";
449
643
  };
450
644
  readonly navigation: {
451
645
  readonly previous: "Previous";
@@ -454,6 +648,60 @@ declare const _default: {
454
648
  readonly jumpTo: "Jump to question {number}";
455
649
  readonly sectionMenu: "Section menu";
456
650
  readonly progress: "Progress: {percent}%";
651
+ readonly answeredCount: "{answered} of {total} answered";
652
+ };
653
+ readonly flag: {
654
+ readonly label: "Flag for review";
655
+ readonly flaggedAnnouncement: "Question {number} flagged for review.";
656
+ readonly unflaggedAnnouncement: "Flag removed from question {number}.";
657
+ };
658
+ readonly review: {
659
+ readonly title: "Review your answers";
660
+ readonly open: "Review questions";
661
+ readonly backToQuestion: "Back to question";
662
+ readonly flagged: "Flagged";
663
+ readonly flaggedCount: "{count} flagged for review";
664
+ readonly questionsGroup: "Questions";
665
+ readonly linearNote: "In this part you can only move forward, so these questions are listed for review only.";
666
+ readonly goToItem: "Go to question {number}";
667
+ readonly currentItem: "Current question";
668
+ readonly statusAnswered: "Answered";
669
+ readonly statusPartially: "Partially answered";
670
+ readonly statusUnanswered: "Not answered";
671
+ readonly notVisited: "Not yet visited";
672
+ };
673
+ readonly submit: {
674
+ readonly dialogTitle: "Submit your test?";
675
+ readonly dialogDescription: "You cannot change your answers after you submit.";
676
+ readonly flaggedLine: "{count} questions are flagged for review";
677
+ readonly unansweredHeading: "{count} questions are not answered";
678
+ readonly unansweredHeadingOne: "1 question is not answered";
679
+ readonly needsAnswerHeading: "{count} questions need an answer before you can submit";
680
+ readonly needsAnswerHeadingOne: "1 question needs an answer before you can submit";
681
+ readonly incompleteHeadingOne: "1 answer is incomplete and must be completed before you can submit";
682
+ readonly incompleteHeading: "{count} answers are incomplete and must be completed before you can submit";
683
+ readonly requirement: {
684
+ readonly minChoices: "select at least {count}";
685
+ readonly minStrings: "enter at least {count}";
686
+ readonly minAssociations: "match at least {count}";
687
+ readonly minPlays: "minimum plays: {count}";
688
+ readonly incomplete: "complete your answer";
689
+ };
690
+ readonly incompleteJump: "Go to question {number}: {requirement}";
691
+ readonly incompleteEntry: "Question {number}: {requirement}";
692
+ readonly allAnswered: "You have answered all the questions.";
693
+ readonly confirm: "Submit test";
694
+ readonly cancel: "Keep working";
695
+ };
696
+ readonly leavePart: {
697
+ readonly title: "Leave this part?";
698
+ readonly description: "After you continue, you cannot return to the questions in this part.";
699
+ readonly confirm: "Continue";
700
+ readonly cancel: "Stay on this part";
701
+ readonly needsAnswerHeadingOne: "1 question in this part needs an answer before you can leave it";
702
+ readonly needsAnswerHeading: "{count} questions in this part need an answer before you can leave it";
703
+ readonly incompleteHeadingOne: "1 answer in this part is incomplete and must be completed before you can leave it";
704
+ readonly incompleteHeading: "{count} answers in this part are incomplete and must be completed before you can leave it";
457
705
  };
458
706
  readonly sections: {
459
707
  readonly title: "Sections";
@@ -466,8 +714,66 @@ declare const _default: {
466
714
  readonly timeRemaining: "Time remaining: {time}";
467
715
  readonly timeElapsed: "Time elapsed: {time}";
468
716
  readonly timeUp: "Time's up!";
717
+ readonly warningMinutesOne: "1 minute remaining";
718
+ readonly warningMinutes: "{count} minutes remaining";
719
+ readonly warningTime: "{time} remaining";
720
+ readonly paused: "Paused";
721
+ readonly label: "Timer";
722
+ };
723
+ readonly start: {
724
+ readonly begin: "Begin";
725
+ readonly resume: "Continue";
726
+ readonly timeMinutesOne: "You have 1 minute.";
727
+ readonly timeMinutes: "You have {count} minutes.";
728
+ readonly timeExact: "You have {time}.";
729
+ readonly scopedTimeLimits: "Some parts of this test have their own time limits.";
730
+ readonly paused: "This test is paused. Please wait until it resumes.";
731
+ };
732
+ readonly timeExpiry: {
733
+ readonly autoSubmitted: "Time is up. Your answers have been submitted.";
734
+ readonly submitTitle: "The time for this test is over";
735
+ readonly submitDescription: "You can no longer change your answers. Submit your test to finish.";
736
+ readonly partTitle: "The time for this part is over";
737
+ readonly sectionTitle: "The time for this section is over";
738
+ readonly questionTitle: "The time for this question is over";
739
+ readonly scopeDescription: "You are moving on to the next part of the test.";
740
+ readonly movingToQuestion: "You are moving on to question {number}.";
741
+ readonly closedDescription: "You can no longer change your answers to its questions.";
742
+ readonly continue: "Continue";
743
+ };
744
+ readonly pause: {
745
+ readonly title: "Assessment paused";
746
+ readonly message: "Your test has been paused. Please wait until it resumes.";
747
+ readonly announcement: "The assessment is paused.";
748
+ readonly withReason: "The assessment is paused: {reason}";
749
+ readonly resumed: "The assessment is running again.";
750
+ };
751
+ readonly autosave: {
752
+ readonly saved: "Saved · {time}";
753
+ readonly savedShort: "Saved";
754
+ readonly saving: "Saving…";
755
+ readonly notSaved: "Not saved";
756
+ };
757
+ readonly resume: {
758
+ readonly title: "Resume your test?";
759
+ readonly description: "You have answers saved from {time}.";
760
+ readonly descriptionNoTime: "You have saved answers from a previous session.";
761
+ readonly resumeAction: "Resume where you left off";
762
+ readonly startOver: "Start over";
763
+ readonly confirmTitle: "Start over and delete your saved answers?";
764
+ readonly confirmDescription: "Your saved answers will be deleted and the test starts from the beginning. This cannot be undone.";
765
+ readonly confirmAction: "Delete and start over";
766
+ readonly cancel: "Keep my saved answers";
767
+ readonly resumedAnnouncement: "Your saved answers were restored.";
768
+ readonly restartedAnnouncement: "The test was restarted from the beginning.";
769
+ };
770
+ readonly itemError: {
771
+ readonly title: "This question could not be displayed.";
772
+ readonly tryAgain: "Try again";
773
+ readonly continue: "Continue";
469
774
  };
470
775
  readonly feedback: {
776
+ readonly title: "Feedback";
471
777
  readonly correct: "Correct";
472
778
  readonly incorrect: "Incorrect";
473
779
  readonly partiallyCorrect: "Partially correct";
@@ -484,15 +790,69 @@ declare const _default: {
484
790
  readonly viewResults: "View results";
485
791
  readonly exit: "Exit";
486
792
  };
793
+ readonly complete: {
794
+ readonly alreadySubmitted: "This test was already submitted.";
795
+ readonly finished: "You have finished the test.";
796
+ readonly timeExpired: "Time is up. The test is finished and your answers have been submitted.";
797
+ readonly byProctor: "Your test was submitted by your proctor.";
798
+ readonly byProctorAnnouncement: "Your proctor has submitted your test.";
799
+ readonly resultsHeading: "Results summary";
800
+ readonly totalScore: "Total score: {score} out of {maxScore}";
801
+ readonly itemName: "Question {number}";
802
+ };
487
803
  readonly errors: {
488
804
  readonly navigationFailed: "Navigation failed. Please try again.";
489
805
  readonly submitFailed: "Failed to submit assessment. Please try again.";
490
806
  readonly loadFailed: "Failed to load question.";
491
807
  readonly saveFailed: "Failed to save response.";
808
+ readonly unexpected: "Something went wrong. Please try again.";
809
+ readonly supportCode: "Support code: {code}";
810
+ readonly codes: {
811
+ readonly invalidNavigationTarget: "That question or section is not available.";
812
+ readonly linearNavigationOnly: "In this part you can only move to the next question.";
813
+ readonly navigationNotAllowed: "You cannot go there right now.";
814
+ readonly navigationInFlight: "Please wait a moment before trying again.";
815
+ readonly testFinalized: "This assessment has already been submitted.";
816
+ readonly minTimeNotElapsed: "Please stay on this content for at least {remaining} more seconds before moving on.";
817
+ readonly itemTimeExpired: "The time limit for this question has expired.";
818
+ readonly reviewNotAllowed: "You cannot return to this question.";
819
+ readonly responseRequired: "You must answer this question before continuing.";
820
+ readonly finalizeResponseRequired: "Some questions still need an answer before you can submit: {items}.";
821
+ readonly finalizeResponseInvalid: "Some answers are not complete yet. Check these questions before you submit: {items}.";
822
+ readonly leavePartResponseRequired: "Some questions in this part still need an answer before you can continue: {items}.";
823
+ readonly leavePartResponseInvalid: "Some answers in this part are not complete yet. Check them before you continue: {items}.";
824
+ readonly attemptValidationFailed: "Please check your answer. A valid response is required.";
825
+ readonly maxAttemptsReached: "You have used all your attempts for this question.";
826
+ readonly itemSessionLocked: "This question is closed and can no longer be changed.";
827
+ readonly commentsNotAllowed: "Comments are not allowed for this question.";
828
+ readonly submitFailed: "Your answers could not be submitted. Your answers are still here. Please try again.";
829
+ readonly finalizeFailed: "Your assessment could not be submitted yet. Your answers are still here. Please try again.";
830
+ readonly assessmentPaused: "Your assessment is paused. Please wait until it resumes.";
831
+ readonly outcomeProcessingFailed: "Your answers were saved, but the results could not be computed. Please contact support if this persists.";
832
+ };
492
833
  };
493
834
  readonly playerLabel: "Assessment player";
494
835
  readonly instructions: "Instructions";
495
836
  readonly rubrics: "Rubrics";
837
+ readonly skipToQuestion: "Skip to question";
838
+ };
839
+ readonly sectionPlayer: {
840
+ readonly passage: "Passage";
841
+ readonly passageNumbered: "Passage {number}";
842
+ readonly passages: "Passages";
843
+ readonly question: "Question";
844
+ readonly passageAndQuestion: "Passage and question";
845
+ readonly displaySettings: {
846
+ readonly title: "Display settings";
847
+ readonly description: "Changes apply right away and stay on for this session.";
848
+ readonly textSize: "Text size";
849
+ readonly sizeDefault: "Default";
850
+ readonly sizeLarge: "Large";
851
+ readonly sizeLarger: "Larger";
852
+ readonly sizeLargest: "Largest";
853
+ readonly highContrast: "Higher-contrast text";
854
+ readonly textSpacing: "Extra text spacing";
855
+ };
496
856
  };
497
857
  readonly i18n: {
498
858
  readonly selectLanguage: "Language";
@@ -508,6 +868,7 @@ declare const _default: {
508
868
  readonly answerRecorded: "Answer recorded";
509
869
  readonly resizer: "Resize passage and question panels";
510
870
  readonly sentence: "{text}.";
871
+ readonly choiceFallback: "Choice {index}";
511
872
  readonly correctAnswer: "Correct answer.";
512
873
  readonly correctAnswerIs: "Correct answer: {answer}.";
513
874
  readonly correctPosition: "Correct position.";
@@ -522,108 +883,6 @@ declare const _default: {
522
883
  readonly catalogRequestExtendedDescription: "Request extended description: {term}";
523
884
  readonly catalogRequestUsage: "Request {usage}: {term}";
524
885
  };
525
- readonly demo: {
526
- readonly selectSampleItem: "Select Sample Item";
527
- readonly configurationPanel: "Configuration Panel";
528
- readonly viewingAs: "Viewing as";
529
- readonly role: "Role";
530
- readonly candidate: "Candidate";
531
- readonly author: "Author";
532
- readonly proctor: "Proctor";
533
- readonly scorer: "Scorer";
534
- readonly tutor: "Tutor";
535
- readonly showCorrectAnswers: "Show correct answers";
536
- readonly showFeedback: "Show feedback";
537
- readonly settings_aria: "Open settings menu";
538
- readonly xmlEditor: "XML Editor";
539
- readonly appName: "PIE QTI Player";
540
- readonly home: "Home";
541
- readonly itemDemo: "Item Demo";
542
- readonly assessmentDemo: "Assessment Demo";
543
- readonly likertDemo: "Likert Plugin Demo";
544
- readonly iframeDemo: "Iframe Demo";
545
- readonly theme: "Theme";
546
- readonly homeTitle: "QTI Player";
547
- 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.";
548
- readonly homeMetaDescription: "Modern QTI player with optional backend integration";
549
- readonly tryItems: "Try Items";
550
- readonly tryAssessments: "Try Assessments";
551
- readonly trySectionPlayer: "Section Player";
552
- readonly pluginDemo: "Plugin Demo";
553
- readonly dropQtiFile: "Drop QTI XML file here";
554
- readonly orClickToSelect: "or click to select a file";
555
- readonly selectFile: "Select File";
556
- readonly selectedFile: "Selected:";
557
- readonly loadInPlayer: "Load in Player";
558
- readonly footerTitle: "QTI Player";
559
- readonly footerLicense: "MIT Licensed • Open Source";
560
- readonly settings: "Settings";
561
- readonly candidateStudent: "Candidate (Student)";
562
- readonly testConstructor: "Test Constructor";
563
- readonly controlsRubricVisibility: "Controls rubric visibility and correct answer display";
564
- readonly useBackendScoring: "Use Backend Scoring";
565
- readonly scoreOnServer: "Score responses on the server instead of client-side";
566
- readonly sessionManagement: "Session Management";
567
- readonly saving: "Saving...";
568
- readonly saveSession: "Save Session";
569
- readonly loadSession: "Load Session";
570
- readonly exportResponses: "Export Responses";
571
- readonly json: "JSON";
572
- readonly csv: "CSV";
573
- readonly templateProcessing: "Template Processing";
574
- readonly rerunTemplateProcessing: "Re-run templateProcessing and reset the item session";
575
- readonly regenerateVariant: "Regenerate Variant";
576
- readonly templateVariablesDebug: "Template Variables (Debug)";
577
- readonly variable: "Variable";
578
- readonly value: "Value";
579
- readonly keyboardShortcuts: "Keyboard Shortcuts";
580
- readonly submitAnswersShortcut: "Submit answers";
581
- readonly tryAgainShortcut: "Try again";
582
- readonly exportJsonShortcut: "Export JSON";
583
- readonly saveSessionShortcut: "Save session";
584
- readonly useCmdOnMacOS: "Use <kbd class=\"kbd kbd-xs\">Cmd</kbd> on macOS";
585
- readonly results: "Results";
586
- readonly score: "Score";
587
- readonly outcomeVariables: "Outcome Variables";
588
- readonly format: "Format";
589
- readonly selectItemOrPasteXml: "Select a sample item or paste custom XML to get started.";
590
- readonly pageTitle: "Player Demo - PIE QTI Player";
591
- readonly sampleItemDescriptions: {
592
- readonly '': "Custom uploaded item";
593
- readonly 'simple-choice': "Basic subtraction word problem with plausible distractors";
594
- readonly 'partial-credit': "Multiple choice with partial credit using mapResponse";
595
- readonly 'capital-cities': "Geography question with shuffled choices";
596
- readonly 'text-entry': "Fill-in-the-blank question with case-insensitive matching";
597
- readonly 'extended-text': "Multi-line text response question";
598
- readonly 'inline-choice': "Dropdown menu embedded in text";
599
- readonly 'order-interaction': "Arrange items in correct sequence";
600
- readonly 'match-interaction': "Match items from two columns";
601
- readonly 'associate-interaction': "Create associations between items";
602
- readonly 'gap-match': "Drag words into gaps in text";
603
- readonly 'graphic-gap-match-solar-system': "Label the four inner planets of our solar system";
604
- readonly slider: "Select a value on a numerical slider";
605
- readonly hotspot: "Click on the Blue Planet in this astronomy question";
606
- readonly 'hotspot-partial-credit': "Identify planet with liquid water (partial credit for terrestrial planets)";
607
- readonly 'template-variable-demo': "templateProcessing generates values; responseProcessing scores against them";
608
- readonly 'upload-interaction': "Upload a file as the response (baseType=file)";
609
- readonly 'drawing-interaction': "Draw on a canvas (baseType=file, PNG dataUrl)";
610
- readonly 'media-audio': "Audio player with play count tracking and minPlays requirement";
611
- readonly 'media-video': "Video player with play count tracking and maxPlays limit";
612
- readonly 'hottext-single': "Click to select a single word within text (grammar question)";
613
- readonly 'hottext-multiple': "Click to select multiple text segments (reading comprehension)";
614
- readonly 'select-point': "Click on the image to select a point location (geography question)";
615
- readonly 'graphic-order': "Drag to reorder items on an image (geological layers)";
616
- readonly 'graphic-associate': "Click pairs of hotspots to create associations (organ matching)";
617
- readonly 'position-object': "Drag and position furniture objects on a room layout";
618
- readonly 'end-attempt': "Button to end the assessment attempt";
619
- readonly 'custom-interaction': "Shows a fallback UI for customInteraction and allows a manual response";
620
- readonly 'choice-with-stimulus': "Question with reading passage embedded inline";
621
- readonly 'math-inline': "Multiple choice with MathML inline math rendering";
622
- readonly 'math-extended': "Extended response with MathML and rich text editor for showing mathematical work";
623
- readonly 'math-fractions': "Fraction arithmetic with MathML block display";
624
- readonly 'adaptive-capitals': "Multi-attempt adaptive question with progressive feedback and hints";
625
- };
626
- };
627
886
  readonly transform: {
628
887
  readonly appName: "QTI Batch Processor";
629
888
  readonly appDescription: "Upload QTI packages to analyze structure, transform to PIE format, and preview results";