@pie-players/pie-players-shared 1.0.0-beta.3 → 1.0.0-beta.4
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/dist/i18n/catalogs.d.ts +5 -0
- package/dist/i18n/catalogs.js +9 -0
- package/dist/i18n/content-language.d.ts +35 -0
- package/dist/i18n/content-language.js +51 -0
- package/dist/i18n/index.d.ts +6 -2
- package/dist/i18n/index.js +5 -2
- package/dist/i18n/language-tags.d.ts +9 -0
- package/dist/i18n/language-tags.js +21 -0
- package/dist/i18n/locale-load-error.d.ts +34 -0
- package/dist/i18n/locale-load-error.js +29 -0
- package/dist/i18n/messages/en-US.d.ts +113 -3
- package/dist/i18n/messages/en-US.js +128 -3
- package/dist/i18n/messages/nl-NL.d.ts +103 -2
- package/dist/i18n/messages/nl-NL.js +109 -8
- package/dist/i18n/provider.d.ts +20 -1
- package/dist/i18n/provider.js +71 -31
- package/dist/i18n/pseudo.d.ts +34 -0
- package/dist/i18n/pseudo.js +106 -0
- package/dist/loaders/esm-adapter.d.ts +10 -0
- package/dist/loaders/esm-adapter.js +88 -15
- package/dist/loaders/index.d.ts +1 -1
- package/dist/loaders/index.js +1 -1
- package/dist/pie/index.d.ts +1 -0
- package/dist/pie/math-rendering.d.ts +13 -1
- package/dist/pie/math-rendering.js +54 -1
- package/dist/types/index.d.ts +12 -0
- package/dist/ui/focus-trap.d.ts +12 -0
- package/dist/ui/focus-trap.js +39 -1
- package/dist/ui/overlay-containment.d.ts +13 -0
- package/dist/ui/overlay-containment.js +23 -0
- package/dist/ui/overlay-placement.d.ts +28 -0
- package/dist/ui/overlay-placement.js +17 -2
- package/package.json +4 -4
|
@@ -57,6 +57,8 @@ const enUS = {
|
|
|
57
57
|
apply: "Apply",
|
|
58
58
|
enabled: "Enabled",
|
|
59
59
|
disabled: "Disabled",
|
|
60
|
+
lookUp: "Look up",
|
|
61
|
+
wordOrPhrase: "Word or phrase",
|
|
60
62
|
closeA11y: "Close",
|
|
61
63
|
settingsA11y: "Open settings menu",
|
|
62
64
|
},
|
|
@@ -89,6 +91,14 @@ const enUS = {
|
|
|
89
91
|
resizeMediaRegion: "Resize media region",
|
|
90
92
|
resizeQuestionAndMediaA11y: "Resize question and media panels",
|
|
91
93
|
resizePassageAndMediaA11y: "Resize passage and media panels",
|
|
94
|
+
resizePassageAndQuestionA11y: "Resize passage and question panels",
|
|
95
|
+
passageWidthA11y: "{percent}% passage width",
|
|
96
|
+
/**
|
|
97
|
+
* The section player's navigation live region, announced when the active
|
|
98
|
+
* item changes; `{label}` is the item's own label when it has one.
|
|
99
|
+
*/
|
|
100
|
+
questionPositionA11y: "Question {position} of {total}",
|
|
101
|
+
questionPositionLabeledA11y: "{label}, question {position} of {total}",
|
|
92
102
|
/**
|
|
93
103
|
* The assessment player's own section-to-section navigation. Its Back and
|
|
94
104
|
* Next controls take `common.back` / `common.next`.
|
|
@@ -139,6 +149,18 @@ const enUS = {
|
|
|
139
149
|
playbackAdvisory: "Answer question {position} before continuing with the media.",
|
|
140
150
|
playbackReleased: "Answer accepted. Continue playing the media.",
|
|
141
151
|
},
|
|
152
|
+
/**
|
|
153
|
+
* `<pie-item-summary>`: an item described as a list row, without loading its
|
|
154
|
+
* elements. The correct marker's glyph is hidden from assistive technology,
|
|
155
|
+
* which reads `correctA11y` instead.
|
|
156
|
+
*/
|
|
157
|
+
summary: {
|
|
158
|
+
correctA11y: "Correct answer",
|
|
159
|
+
answer: "Answer",
|
|
160
|
+
manualScoring: "Scored by a teacher",
|
|
161
|
+
audio: "Audio",
|
|
162
|
+
video: "Video",
|
|
163
|
+
},
|
|
142
164
|
},
|
|
143
165
|
/** Toolbar and tool-shell chrome owned by the assessment toolkit. */
|
|
144
166
|
toolkit: {
|
|
@@ -159,17 +181,20 @@ const enUS = {
|
|
|
159
181
|
moveRightA11y: "Move tool right",
|
|
160
182
|
moveUpA11y: "Move tool up",
|
|
161
183
|
moveDownA11y: "Move tool down",
|
|
162
|
-
|
|
163
|
-
|
|
184
|
+
narrowerA11y: "Make tool window narrower",
|
|
185
|
+
widerA11y: "Make tool window wider",
|
|
186
|
+
shorterA11y: "Make tool window shorter",
|
|
187
|
+
tallerA11y: "Make tool window taller",
|
|
164
188
|
centerA11y: "Center tool window",
|
|
165
189
|
closeA11y: "Close tool",
|
|
166
190
|
},
|
|
167
191
|
/**
|
|
168
|
-
* The tap controls that move and
|
|
192
|
+
* The tap controls that move, turn and resize a placed tool without a
|
|
169
193
|
* drag. The move buttons reuse the `window` labels above.
|
|
170
194
|
*/
|
|
171
195
|
placement: {
|
|
172
196
|
controlsA11y: "Move and rotate",
|
|
197
|
+
moveAndResizeA11y: "Move and resize",
|
|
173
198
|
rotateClockwiseA11y: "Rotate {degrees}° clockwise",
|
|
174
199
|
rotateCounterclockwiseA11y: "Rotate {degrees}° counterclockwise",
|
|
175
200
|
},
|
|
@@ -214,6 +239,7 @@ const enUS = {
|
|
|
214
239
|
toolA11y: "Calculator tool",
|
|
215
240
|
loading: "Loading calculator…",
|
|
216
241
|
providerUnavailable: "The calculator is unavailable.",
|
|
242
|
+
initFailed: "Calculator failed to initialize.",
|
|
217
243
|
},
|
|
218
244
|
graph: {
|
|
219
245
|
name: "Graph",
|
|
@@ -313,6 +339,21 @@ const enUS = {
|
|
|
313
339
|
buttonA11y: "Dictionary, look up word definitions",
|
|
314
340
|
tooltip: "Dictionary",
|
|
315
341
|
toolA11y: "Dictionary",
|
|
342
|
+
// The lookup panel's notices are authored whole: the term interpolates
|
|
343
|
+
// into the sentence, never around it.
|
|
344
|
+
notConfigured: "No dictionary service is configured for this assessment.",
|
|
345
|
+
idleHint: "Type a word to look it up.",
|
|
346
|
+
lookingUp: "Looking up “{term}”…",
|
|
347
|
+
noEntryFor: "No entry for “{term}”.",
|
|
348
|
+
// The polite live-region status after a lookup: the count summary and
|
|
349
|
+
// the no-entry announcement, phrased without the quotation marks the
|
|
350
|
+
// visible notices carry. The count calls plural(), never a `=== 1`
|
|
351
|
+
// branch.
|
|
352
|
+
entriesCount: {
|
|
353
|
+
one: "{count} entry",
|
|
354
|
+
other: "{count} entries",
|
|
355
|
+
},
|
|
356
|
+
noEntryStatusFor: "No dictionary entry for {term}.",
|
|
316
357
|
},
|
|
317
358
|
pictureDictionary: {
|
|
318
359
|
name: "Picture Dictionary",
|
|
@@ -320,6 +361,15 @@ const enUS = {
|
|
|
320
361
|
buttonA11y: "Picture Dictionary, look up pictures for words",
|
|
321
362
|
tooltip: "Picture Dictionary",
|
|
322
363
|
toolA11y: "Picture Dictionary",
|
|
364
|
+
notConfigured: "No picture dictionary service is configured for this assessment.",
|
|
365
|
+
idleHint: "Type a word to see a picture of it.",
|
|
366
|
+
lookingUp: "Looking up “{term}”…",
|
|
367
|
+
noEntryFor: "No picture for “{term}”.",
|
|
368
|
+
entriesCount: {
|
|
369
|
+
one: "{count} picture",
|
|
370
|
+
other: "{count} pictures",
|
|
371
|
+
},
|
|
372
|
+
noEntryStatusFor: "No picture for {term}.",
|
|
323
373
|
},
|
|
324
374
|
/**
|
|
325
375
|
* The Spanish variants. Named in the interface locale like every other tool label —
|
|
@@ -352,10 +402,36 @@ const enUS = {
|
|
|
352
402
|
windowHeightAnnounce: "Reading window height {pixels} pixels",
|
|
353
403
|
frameHeightAnnounce: "Frame height {pixels} pixels",
|
|
354
404
|
widthAnnounce: "Width {pixels} pixels",
|
|
405
|
+
shorterWindowA11y: "Make the reading window shorter",
|
|
406
|
+
tallerWindowA11y: "Make the reading window taller",
|
|
407
|
+
shorterFrameA11y: "Make the frame shorter",
|
|
408
|
+
tallerFrameA11y: "Make the frame taller",
|
|
409
|
+
narrowerA11y: "Make the line reader narrower",
|
|
410
|
+
widerA11y: "Make the line reader wider",
|
|
355
411
|
applicationA11y: "Line Reader tool. A clear reading window inside an obscuring frame. Use arrow keys to move, +/- to resize the reading window, Escape to close. Reading window height: {paneHeight} pixels, Frame height: {frameHeight} pixels",
|
|
356
412
|
resizeWindowFullA11y: "Resize the reading window. Drag, or use the up and down arrow keys to change its height. Current height {paneHeight} pixels",
|
|
357
413
|
resizeFrameFullA11y: "Resize the frame. Drag, or use the up and down arrow keys to change the frame height and the left and right arrow keys to change the width. Current frame height {frameHeight} pixels, width {width} pixels",
|
|
358
414
|
},
|
|
415
|
+
magnification: {
|
|
416
|
+
name: "Magnifier",
|
|
417
|
+
description: "Magnify the content under a movable lens",
|
|
418
|
+
buttonA11y: "Magnifier, enlarge the content under a lens",
|
|
419
|
+
tooltip: "Magnifier",
|
|
420
|
+
roleA11y: "Draggable and resizable magnifying lens",
|
|
421
|
+
applicationA11y: "Magnifier at {zoom} times. Use the arrow keys to move the lens, + and - to change the zoom, and Escape to close.",
|
|
422
|
+
zoomIn: "Zoom in",
|
|
423
|
+
zoomOut: "Zoom out",
|
|
424
|
+
zoomLevel: "{zoom}×",
|
|
425
|
+
zoomAnnounce: "Zoom {zoom} times",
|
|
426
|
+
close: "Close magnifier",
|
|
427
|
+
resizeA11y: "Drag to resize the magnifier",
|
|
428
|
+
resizeFullA11y: "Resize the magnifier. Drag, or use the arrow keys. Current size {width} by {height} pixels",
|
|
429
|
+
sizeAnnounce: "Magnifier {width} by {height} pixels",
|
|
430
|
+
narrowerA11y: "Make the magnifier narrower",
|
|
431
|
+
widerA11y: "Make the magnifier wider",
|
|
432
|
+
shorterA11y: "Make the magnifier shorter",
|
|
433
|
+
tallerA11y: "Make the magnifier taller",
|
|
434
|
+
},
|
|
359
435
|
answerEliminator: {
|
|
360
436
|
name: "Answer Eliminator",
|
|
361
437
|
description: "Strike through answer choices",
|
|
@@ -512,6 +588,39 @@ const enUS = {
|
|
|
512
588
|
toggleEventPanelA11y: "Toggle event broadcast panel",
|
|
513
589
|
toggleDatabasePanelA11y: "Toggle database state panel",
|
|
514
590
|
toggleInstrumentationPanelA11y: "Toggle instrumentation panel",
|
|
591
|
+
// Panel actions and status. "clear"/"pause"/"resume" stay lowercase in
|
|
592
|
+
// English to match the dev panels' chrome; locales render their own
|
|
593
|
+
// register.
|
|
594
|
+
clear: "clear",
|
|
595
|
+
pause: "pause",
|
|
596
|
+
resume: "resume",
|
|
597
|
+
controllerUnavailable: "controller unavailable",
|
|
598
|
+
noMatchingEvents: "No matching events yet. Interact with an item to capture controller events.",
|
|
599
|
+
noSectionSessionYet: "No section session data yet. Interact with the questions to see updates.",
|
|
600
|
+
eventLevelItem: "item",
|
|
601
|
+
eventLevelSection: "section",
|
|
602
|
+
// Instrumentation record-kind identifiers. They name the emitted
|
|
603
|
+
// records, so every locale carries them verbatim; a locale that
|
|
604
|
+
// prefers translated labels can override per key.
|
|
605
|
+
instrumentationKindAll: "all",
|
|
606
|
+
instrumentationKindEvent: "event",
|
|
607
|
+
instrumentationKindError: "error",
|
|
608
|
+
instrumentationKindMetric: "metric",
|
|
609
|
+
instrumentationKindUserContext: "user-context",
|
|
610
|
+
instrumentationKindGlobalAttributes: "global-attributes",
|
|
611
|
+
// Instrumentation detail-field labels.
|
|
612
|
+
instrumentationFieldName: "name:",
|
|
613
|
+
instrumentationFieldKind: "kind:",
|
|
614
|
+
instrumentationFieldProvider: "provider:",
|
|
615
|
+
instrumentationFieldTimestamp: "timestamp:",
|
|
616
|
+
instrumentationFieldValue: "value:",
|
|
617
|
+
instrumentationFieldError: "error:",
|
|
618
|
+
// Session-db payload field names — identifiers, verbatim across
|
|
619
|
+
// locales like the record kinds above.
|
|
620
|
+
sessionDbAssessmentId: "assessmentId:",
|
|
621
|
+
sessionDbSectionId: "sectionId:",
|
|
622
|
+
sessionDbAttemptId: "attemptId:",
|
|
623
|
+
sessionDbMode: "mode:",
|
|
515
624
|
/** PNP debugger. */
|
|
516
625
|
pnp: {
|
|
517
626
|
title: "PNP Profile",
|
|
@@ -531,6 +640,12 @@ const enUS = {
|
|
|
531
640
|
perToolDecisions: "Per-Tool Decisions",
|
|
532
641
|
policyDiagnostics: "Policy Diagnostics",
|
|
533
642
|
profileReadOnly: "PNP Profile (read-only)",
|
|
643
|
+
on: "On",
|
|
644
|
+
effective: "Effective:",
|
|
645
|
+
needs: "needs",
|
|
646
|
+
hostSurfaceNotPlaced: "host surface (not placed)",
|
|
647
|
+
support: "support",
|
|
648
|
+
prohibit: "prohibit",
|
|
534
649
|
},
|
|
535
650
|
/** TTS settings panel. */
|
|
536
651
|
tts: {
|
|
@@ -628,6 +743,16 @@ const enUS = {
|
|
|
628
743
|
previewHintGoogleSsml: "SSML preserved. Tracking disabled.",
|
|
629
744
|
previewHintCustom: "Tracking enabled when provider returns speech marks.",
|
|
630
745
|
previewHintTracking: "Tracking enabled while preview plays.",
|
|
746
|
+
formatMp3: "MP3",
|
|
747
|
+
formatOgg: "OGG",
|
|
748
|
+
formatPcm: "PCM",
|
|
749
|
+
sampleRate8000: "8000 Hz",
|
|
750
|
+
sampleRate16000: "16000 Hz",
|
|
751
|
+
sampleRate22050: "22050 Hz",
|
|
752
|
+
sampleRate24000: "24000 Hz",
|
|
753
|
+
apiEndpointPlaceholder: "/api/tts",
|
|
754
|
+
languagePlaceholder: "en-US",
|
|
755
|
+
ssml: "SSML",
|
|
631
756
|
},
|
|
632
757
|
},
|
|
633
758
|
};
|
|
@@ -46,6 +46,8 @@ declare const nlNL: {
|
|
|
46
46
|
apply: string;
|
|
47
47
|
enabled: string;
|
|
48
48
|
disabled: string;
|
|
49
|
+
lookUp: string;
|
|
50
|
+
wordOrPhrase: string;
|
|
49
51
|
closeA11y: string;
|
|
50
52
|
settingsA11y: string;
|
|
51
53
|
};
|
|
@@ -74,6 +76,10 @@ declare const nlNL: {
|
|
|
74
76
|
resizeMediaRegion: string;
|
|
75
77
|
resizeQuestionAndMediaA11y: string;
|
|
76
78
|
resizePassageAndMediaA11y: string;
|
|
79
|
+
resizePassageAndQuestionA11y: string;
|
|
80
|
+
passageWidthA11y: string;
|
|
81
|
+
questionPositionA11y: string;
|
|
82
|
+
questionPositionLabeledA11y: string;
|
|
77
83
|
assessment: {
|
|
78
84
|
sectionPosition: string;
|
|
79
85
|
noSections: string;
|
|
@@ -101,6 +107,13 @@ declare const nlNL: {
|
|
|
101
107
|
playbackAdvisory: string;
|
|
102
108
|
playbackReleased: string;
|
|
103
109
|
};
|
|
110
|
+
summary: {
|
|
111
|
+
correctA11y: string;
|
|
112
|
+
answer: string;
|
|
113
|
+
manualScoring: string;
|
|
114
|
+
audio: string;
|
|
115
|
+
video: string;
|
|
116
|
+
};
|
|
104
117
|
};
|
|
105
118
|
toolkit: {
|
|
106
119
|
toolsA11y: string;
|
|
@@ -119,13 +132,16 @@ declare const nlNL: {
|
|
|
119
132
|
moveRightA11y: string;
|
|
120
133
|
moveUpA11y: string;
|
|
121
134
|
moveDownA11y: string;
|
|
122
|
-
|
|
123
|
-
|
|
135
|
+
narrowerA11y: string;
|
|
136
|
+
widerA11y: string;
|
|
137
|
+
shorterA11y: string;
|
|
138
|
+
tallerA11y: string;
|
|
124
139
|
centerA11y: string;
|
|
125
140
|
closeA11y: string;
|
|
126
141
|
};
|
|
127
142
|
placement: {
|
|
128
143
|
controlsA11y: string;
|
|
144
|
+
moveAndResizeA11y: string;
|
|
129
145
|
rotateClockwiseA11y: string;
|
|
130
146
|
rotateCounterclockwiseA11y: string;
|
|
131
147
|
};
|
|
@@ -153,6 +169,7 @@ declare const nlNL: {
|
|
|
153
169
|
toolA11y: string;
|
|
154
170
|
loading: string;
|
|
155
171
|
providerUnavailable: string;
|
|
172
|
+
initFailed: string;
|
|
156
173
|
};
|
|
157
174
|
graph: {
|
|
158
175
|
name: string;
|
|
@@ -235,6 +252,15 @@ declare const nlNL: {
|
|
|
235
252
|
buttonA11y: string;
|
|
236
253
|
tooltip: string;
|
|
237
254
|
toolA11y: string;
|
|
255
|
+
notConfigured: string;
|
|
256
|
+
idleHint: string;
|
|
257
|
+
lookingUp: string;
|
|
258
|
+
noEntryFor: string;
|
|
259
|
+
entriesCount: {
|
|
260
|
+
one: string;
|
|
261
|
+
other: string;
|
|
262
|
+
};
|
|
263
|
+
noEntryStatusFor: string;
|
|
238
264
|
};
|
|
239
265
|
pictureDictionary: {
|
|
240
266
|
name: string;
|
|
@@ -242,6 +268,15 @@ declare const nlNL: {
|
|
|
242
268
|
buttonA11y: string;
|
|
243
269
|
tooltip: string;
|
|
244
270
|
toolA11y: string;
|
|
271
|
+
notConfigured: string;
|
|
272
|
+
idleHint: string;
|
|
273
|
+
lookingUp: string;
|
|
274
|
+
noEntryFor: string;
|
|
275
|
+
entriesCount: {
|
|
276
|
+
one: string;
|
|
277
|
+
other: string;
|
|
278
|
+
};
|
|
279
|
+
noEntryStatusFor: string;
|
|
245
280
|
};
|
|
246
281
|
dictionarySpanish: {
|
|
247
282
|
name: string;
|
|
@@ -269,10 +304,36 @@ declare const nlNL: {
|
|
|
269
304
|
windowHeightAnnounce: string;
|
|
270
305
|
frameHeightAnnounce: string;
|
|
271
306
|
widthAnnounce: string;
|
|
307
|
+
shorterWindowA11y: string;
|
|
308
|
+
tallerWindowA11y: string;
|
|
309
|
+
shorterFrameA11y: string;
|
|
310
|
+
tallerFrameA11y: string;
|
|
311
|
+
narrowerA11y: string;
|
|
312
|
+
widerA11y: string;
|
|
272
313
|
applicationA11y: string;
|
|
273
314
|
resizeWindowFullA11y: string;
|
|
274
315
|
resizeFrameFullA11y: string;
|
|
275
316
|
};
|
|
317
|
+
magnification: {
|
|
318
|
+
name: string;
|
|
319
|
+
description: string;
|
|
320
|
+
buttonA11y: string;
|
|
321
|
+
tooltip: string;
|
|
322
|
+
roleA11y: string;
|
|
323
|
+
applicationA11y: string;
|
|
324
|
+
zoomIn: string;
|
|
325
|
+
zoomOut: string;
|
|
326
|
+
zoomLevel: string;
|
|
327
|
+
zoomAnnounce: string;
|
|
328
|
+
close: string;
|
|
329
|
+
resizeA11y: string;
|
|
330
|
+
resizeFullA11y: string;
|
|
331
|
+
sizeAnnounce: string;
|
|
332
|
+
narrowerA11y: string;
|
|
333
|
+
widerA11y: string;
|
|
334
|
+
shorterA11y: string;
|
|
335
|
+
tallerA11y: string;
|
|
336
|
+
};
|
|
276
337
|
answerEliminator: {
|
|
277
338
|
name: string;
|
|
278
339
|
description: string;
|
|
@@ -411,6 +472,30 @@ declare const nlNL: {
|
|
|
411
472
|
toggleEventPanelA11y: string;
|
|
412
473
|
toggleDatabasePanelA11y: string;
|
|
413
474
|
toggleInstrumentationPanelA11y: string;
|
|
475
|
+
clear: string;
|
|
476
|
+
pause: string;
|
|
477
|
+
resume: string;
|
|
478
|
+
controllerUnavailable: string;
|
|
479
|
+
noMatchingEvents: string;
|
|
480
|
+
noSectionSessionYet: string;
|
|
481
|
+
eventLevelItem: string;
|
|
482
|
+
eventLevelSection: string;
|
|
483
|
+
instrumentationKindAll: string;
|
|
484
|
+
instrumentationKindEvent: string;
|
|
485
|
+
instrumentationKindError: string;
|
|
486
|
+
instrumentationKindMetric: string;
|
|
487
|
+
instrumentationKindUserContext: string;
|
|
488
|
+
instrumentationKindGlobalAttributes: string;
|
|
489
|
+
instrumentationFieldName: string;
|
|
490
|
+
instrumentationFieldKind: string;
|
|
491
|
+
instrumentationFieldProvider: string;
|
|
492
|
+
instrumentationFieldTimestamp: string;
|
|
493
|
+
instrumentationFieldValue: string;
|
|
494
|
+
instrumentationFieldError: string;
|
|
495
|
+
sessionDbAssessmentId: string;
|
|
496
|
+
sessionDbSectionId: string;
|
|
497
|
+
sessionDbAttemptId: string;
|
|
498
|
+
sessionDbMode: string;
|
|
414
499
|
pnp: {
|
|
415
500
|
title: string;
|
|
416
501
|
noAssessmentBound: string;
|
|
@@ -429,6 +514,12 @@ declare const nlNL: {
|
|
|
429
514
|
perToolDecisions: string;
|
|
430
515
|
policyDiagnostics: string;
|
|
431
516
|
profileReadOnly: string;
|
|
517
|
+
on: string;
|
|
518
|
+
effective: string;
|
|
519
|
+
needs: string;
|
|
520
|
+
hostSurfaceNotPlaced: string;
|
|
521
|
+
support: string;
|
|
522
|
+
prohibit: string;
|
|
432
523
|
};
|
|
433
524
|
tts: {
|
|
434
525
|
title: string;
|
|
@@ -523,6 +614,16 @@ declare const nlNL: {
|
|
|
523
614
|
previewHintGoogleSsml: string;
|
|
524
615
|
previewHintCustom: string;
|
|
525
616
|
previewHintTracking: string;
|
|
617
|
+
formatMp3: string;
|
|
618
|
+
formatOgg: string;
|
|
619
|
+
formatPcm: string;
|
|
620
|
+
sampleRate8000: string;
|
|
621
|
+
sampleRate16000: string;
|
|
622
|
+
sampleRate22050: string;
|
|
623
|
+
sampleRate24000: string;
|
|
624
|
+
apiEndpointPlaceholder: string;
|
|
625
|
+
languagePlaceholder: string;
|
|
626
|
+
ssml: string;
|
|
526
627
|
};
|
|
527
628
|
};
|
|
528
629
|
};
|
|
@@ -46,6 +46,8 @@ const nlNL = {
|
|
|
46
46
|
apply: "Toepassen",
|
|
47
47
|
enabled: "Aan",
|
|
48
48
|
disabled: "Uit",
|
|
49
|
+
lookUp: "Opzoeken",
|
|
50
|
+
wordOrPhrase: "Woord of zin",
|
|
49
51
|
closeA11y: "Sluiten",
|
|
50
52
|
settingsA11y: "Instellingenmenu openen",
|
|
51
53
|
},
|
|
@@ -62,7 +64,7 @@ const nlNL = {
|
|
|
62
64
|
loadingPassage: "Tekst wordt geladen…",
|
|
63
65
|
configurationError: "Configuratiefout",
|
|
64
66
|
playerError: "Fout in de speler",
|
|
65
|
-
authoringBackendError: "Configuratiefout in de
|
|
67
|
+
authoringBackendError: "Configuratiefout in de bewerkingsomgeving",
|
|
66
68
|
itemLoadError: "De vraag kon niet worden geladen.",
|
|
67
69
|
sectionTabsA11y: "Tabbladen van dit onderdeel",
|
|
68
70
|
passagesRegionA11y: "Teksten",
|
|
@@ -74,6 +76,10 @@ const nlNL = {
|
|
|
74
76
|
resizeMediaRegion: "Mediagebied verkleinen of vergroten",
|
|
75
77
|
resizeQuestionAndMediaA11y: "Panelen met vraag en media verkleinen of vergroten",
|
|
76
78
|
resizePassageAndMediaA11y: "Panelen met tekst en media verkleinen of vergroten",
|
|
79
|
+
resizePassageAndQuestionA11y: "Panelen met tekst en vraag verkleinen of vergroten",
|
|
80
|
+
passageWidthA11y: "Tekst {percent}% breed",
|
|
81
|
+
questionPositionA11y: "Vraag {position} van {total}",
|
|
82
|
+
questionPositionLabeledA11y: "{label}, vraag {position} van {total}",
|
|
77
83
|
assessment: {
|
|
78
84
|
sectionPosition: "Onderdeel {position} van {total}",
|
|
79
85
|
noSections: "Geen onderdelen",
|
|
@@ -101,6 +107,13 @@ const nlNL = {
|
|
|
101
107
|
playbackAdvisory: "Beantwoord vraag {position} voordat je verder gaat met de media.",
|
|
102
108
|
playbackReleased: "Antwoord geaccepteerd. Speel de media verder.",
|
|
103
109
|
},
|
|
110
|
+
summary: {
|
|
111
|
+
correctA11y: "Juist antwoord",
|
|
112
|
+
answer: "Antwoord",
|
|
113
|
+
manualScoring: "Beoordeeld door een leraar",
|
|
114
|
+
audio: "Audio",
|
|
115
|
+
video: "Video",
|
|
116
|
+
},
|
|
104
117
|
},
|
|
105
118
|
toolkit: {
|
|
106
119
|
toolsA11y: "Hulpmiddelen",
|
|
@@ -119,13 +132,16 @@ const nlNL = {
|
|
|
119
132
|
moveRightA11y: "Hulpmiddel naar rechts verplaatsen",
|
|
120
133
|
moveUpA11y: "Hulpmiddel omhoog verplaatsen",
|
|
121
134
|
moveDownA11y: "Hulpmiddel omlaag verplaatsen",
|
|
122
|
-
|
|
123
|
-
|
|
135
|
+
narrowerA11y: "Venster smaller maken",
|
|
136
|
+
widerA11y: "Venster breder maken",
|
|
137
|
+
shorterA11y: "Venster lager maken",
|
|
138
|
+
tallerA11y: "Venster hoger maken",
|
|
124
139
|
centerA11y: "Venster centreren",
|
|
125
140
|
closeA11y: "Hulpmiddel sluiten",
|
|
126
141
|
},
|
|
127
142
|
placement: {
|
|
128
143
|
controlsA11y: "Verplaatsen en draaien",
|
|
144
|
+
moveAndResizeA11y: "Verplaatsen en verstellen",
|
|
129
145
|
rotateClockwiseA11y: "{degrees}° rechtsom draaien",
|
|
130
146
|
rotateCounterclockwiseA11y: "{degrees}° linksom draaien",
|
|
131
147
|
},
|
|
@@ -153,6 +169,7 @@ const nlNL = {
|
|
|
153
169
|
toolA11y: "Rekenmachine",
|
|
154
170
|
loading: "Rekenmachine wordt geladen…",
|
|
155
171
|
providerUnavailable: "De rekenmachine is niet beschikbaar.",
|
|
172
|
+
initFailed: "De rekenmachine kon niet worden gestart.",
|
|
156
173
|
},
|
|
157
174
|
graph: {
|
|
158
175
|
name: "Grafiek",
|
|
@@ -235,6 +252,15 @@ const nlNL = {
|
|
|
235
252
|
buttonA11y: "Woordenboek, betekenis van woorden opzoeken",
|
|
236
253
|
tooltip: "Woordenboek",
|
|
237
254
|
toolA11y: "Woordenboek",
|
|
255
|
+
notConfigured: "Er is geen woordenboek ingesteld voor deze toets.",
|
|
256
|
+
idleHint: "Typ een woord om het op te zoeken.",
|
|
257
|
+
lookingUp: "“{term}” wordt opgezocht…",
|
|
258
|
+
noEntryFor: "Niets gevonden voor “{term}”.",
|
|
259
|
+
entriesCount: {
|
|
260
|
+
one: "{count} artikel",
|
|
261
|
+
other: "{count} artikelen",
|
|
262
|
+
},
|
|
263
|
+
noEntryStatusFor: "Niets gevonden voor {term}.",
|
|
238
264
|
},
|
|
239
265
|
pictureDictionary: {
|
|
240
266
|
name: "Beeldwoordenboek",
|
|
@@ -242,6 +268,15 @@ const nlNL = {
|
|
|
242
268
|
buttonA11y: "Beeldwoordenboek, afbeeldingen bij woorden opzoeken",
|
|
243
269
|
tooltip: "Beeldwoordenboek",
|
|
244
270
|
toolA11y: "Beeldwoordenboek",
|
|
271
|
+
notConfigured: "Er is geen beeldwoordenboek ingesteld voor deze toets.",
|
|
272
|
+
idleHint: "Typ een woord om er een afbeelding bij te zien.",
|
|
273
|
+
lookingUp: "“{term}” wordt opgezocht…",
|
|
274
|
+
noEntryFor: "Geen afbeelding voor “{term}”.",
|
|
275
|
+
entriesCount: {
|
|
276
|
+
one: "{count} afbeelding",
|
|
277
|
+
other: "{count} afbeeldingen",
|
|
278
|
+
},
|
|
279
|
+
noEntryStatusFor: "Geen afbeelding voor {term}.",
|
|
245
280
|
},
|
|
246
281
|
dictionarySpanish: {
|
|
247
282
|
name: "Spaans woordenboek",
|
|
@@ -269,10 +304,36 @@ const nlNL = {
|
|
|
269
304
|
windowHeightAnnounce: "Hoogte leesvenster {pixels} pixels",
|
|
270
305
|
frameHeightAnnounce: "Hoogte kader {pixels} pixels",
|
|
271
306
|
widthAnnounce: "Breedte {pixels} pixels",
|
|
307
|
+
shorterWindowA11y: "Leesvenster lager maken",
|
|
308
|
+
tallerWindowA11y: "Leesvenster hoger maken",
|
|
309
|
+
shorterFrameA11y: "Kader lager maken",
|
|
310
|
+
tallerFrameA11y: "Kader hoger maken",
|
|
311
|
+
narrowerA11y: "Leeshulp smaller maken",
|
|
312
|
+
widerA11y: "Leeshulp breder maken",
|
|
272
313
|
applicationA11y: "Leeshulp. Een doorzichtig leesvenster binnen een verduisterend kader. Verplaats met de pijltoetsen, verstel het leesvenster met + en -, en sluit met Escape. Hoogte leesvenster: {paneHeight} pixels, hoogte kader: {frameHeight} pixels",
|
|
273
314
|
resizeWindowFullA11y: "Verstel het leesvenster. Sleep, of verander de hoogte met de pijltoetsen omhoog en omlaag. Huidige hoogte {paneHeight} pixels",
|
|
274
315
|
resizeFrameFullA11y: "Verstel het kader. Sleep, verander de hoogte van het kader met de pijltoetsen omhoog en omlaag, en de breedte met de pijltoetsen links en rechts. Huidige hoogte kader {frameHeight} pixels, breedte {width} pixels",
|
|
275
316
|
},
|
|
317
|
+
magnification: {
|
|
318
|
+
name: "Vergrootglas",
|
|
319
|
+
description: "De inhoud onder een verplaatsbare lens vergroten",
|
|
320
|
+
buttonA11y: "Vergrootglas, de inhoud onder een lens vergroten",
|
|
321
|
+
tooltip: "Vergrootglas",
|
|
322
|
+
roleA11y: "Verplaatsbare en verstelbare vergrootlens",
|
|
323
|
+
applicationA11y: "Vergrootglas, {zoom} keer vergroot. Verplaats de lens met de pijltoetsen, verander de vergroting met + en -, en sluit met Escape.",
|
|
324
|
+
zoomIn: "Inzoomen",
|
|
325
|
+
zoomOut: "Uitzoomen",
|
|
326
|
+
zoomLevel: "{zoom}×",
|
|
327
|
+
zoomAnnounce: "{zoom} keer vergroot",
|
|
328
|
+
close: "Vergrootglas sluiten",
|
|
329
|
+
resizeA11y: "Sleep om het vergrootglas te verstellen",
|
|
330
|
+
resizeFullA11y: "Verstel het vergrootglas. Sleep, of gebruik de pijltoetsen. Huidige grootte {width} bij {height} pixels",
|
|
331
|
+
sizeAnnounce: "Vergrootglas {width} bij {height} pixels",
|
|
332
|
+
narrowerA11y: "Vergrootglas smaller maken",
|
|
333
|
+
widerA11y: "Vergrootglas breder maken",
|
|
334
|
+
shorterA11y: "Vergrootglas lager maken",
|
|
335
|
+
tallerA11y: "Vergrootglas hoger maken",
|
|
336
|
+
},
|
|
276
337
|
answerEliminator: {
|
|
277
338
|
name: "Antwoorden wegstrepen",
|
|
278
339
|
description: "Antwoordopties doorstrepen",
|
|
@@ -411,6 +472,30 @@ const nlNL = {
|
|
|
411
472
|
toggleEventPanelA11y: "Gebeurtenissenpaneel in- of uitschakelen",
|
|
412
473
|
toggleDatabasePanelA11y: "Databasepaneel in- of uitschakelen",
|
|
413
474
|
toggleInstrumentationPanelA11y: "Instrumentatiepaneel in- of uitschakelen",
|
|
475
|
+
clear: "Wissen",
|
|
476
|
+
pause: "Pauzeren",
|
|
477
|
+
resume: "Hervatten",
|
|
478
|
+
controllerUnavailable: "Geen controller beschikbaar",
|
|
479
|
+
noMatchingEvents: "Nog geen overeenkomende gebeurtenissen. Interacteer met een vraag om controllergebeurtenissen vast te leggen.",
|
|
480
|
+
noSectionSessionYet: "Nog geen sessiegegevens van het onderdeel. Werk met de vragen om hier updates te zien.",
|
|
481
|
+
eventLevelItem: "vraag",
|
|
482
|
+
eventLevelSection: "onderdeel",
|
|
483
|
+
instrumentationKindAll: "all",
|
|
484
|
+
instrumentationKindEvent: "event",
|
|
485
|
+
instrumentationKindError: "error",
|
|
486
|
+
instrumentationKindMetric: "metric",
|
|
487
|
+
instrumentationKindUserContext: "user-context",
|
|
488
|
+
instrumentationKindGlobalAttributes: "global-attributes",
|
|
489
|
+
instrumentationFieldName: "naam:",
|
|
490
|
+
instrumentationFieldKind: "soort:",
|
|
491
|
+
instrumentationFieldProvider: "aanbieder:",
|
|
492
|
+
instrumentationFieldTimestamp: "tijdstip:",
|
|
493
|
+
instrumentationFieldValue: "waarde:",
|
|
494
|
+
instrumentationFieldError: "fout:",
|
|
495
|
+
sessionDbAssessmentId: "assessmentId:",
|
|
496
|
+
sessionDbSectionId: "sectionId:",
|
|
497
|
+
sessionDbAttemptId: "attemptId:",
|
|
498
|
+
sessionDbMode: "mode:",
|
|
414
499
|
pnp: {
|
|
415
500
|
title: "PNP-profiel",
|
|
416
501
|
noAssessmentBound: "Geen toets gekoppeld",
|
|
@@ -429,6 +514,12 @@ const nlNL = {
|
|
|
429
514
|
perToolDecisions: "Beslissingen per hulpmiddel",
|
|
430
515
|
policyDiagnostics: "Diagnose van het hulpmiddelenbeleid",
|
|
431
516
|
profileReadOnly: "PNP-profiel (alleen lezen)",
|
|
517
|
+
on: "Aan",
|
|
518
|
+
effective: "Effectief:",
|
|
519
|
+
needs: "vereist",
|
|
520
|
+
hostSurfaceNotPlaced: "host-oppervlak (niet geplaatst)",
|
|
521
|
+
support: "toestaan",
|
|
522
|
+
prohibit: "verbieden",
|
|
432
523
|
},
|
|
433
524
|
tts: {
|
|
434
525
|
title: "Voorleesinstellingen",
|
|
@@ -444,7 +535,7 @@ const nlNL = {
|
|
|
444
535
|
checkingAvailability: "Beschikbaarheid controleren…",
|
|
445
536
|
recheck: "Opnieuw controleren",
|
|
446
537
|
voice: "Stem",
|
|
447
|
-
bestAvailableVoice: "
|
|
538
|
+
bestAvailableVoice: "Beste beschikbare stem (automatisch)",
|
|
448
539
|
unnamedVoice: "Stem zonder naam",
|
|
449
540
|
apiEndpoint: "API-eindpunt",
|
|
450
541
|
gender: "Geslacht",
|
|
@@ -480,7 +571,7 @@ const nlNL = {
|
|
|
480
571
|
allVoices: "Alle beschikbare stemmen",
|
|
481
572
|
previewVoice: "Stem beluisteren",
|
|
482
573
|
stopPreview: "Beluisteren stoppen",
|
|
483
|
-
applying: "Toepassen
|
|
574
|
+
applying: "Toepassen…",
|
|
484
575
|
ssmlPreviewUnsupported: "SSML-voorbeeld wordt niet ondersteund door de browser-backend.",
|
|
485
576
|
pollySsmlHint: "Sommige neurale Polly-stemmen weigeren bepaalde SSML-tags (bijvoorbeeld emphasis). Gebruik eenvoudige SSML-tags als het voorbeeld mislukt.",
|
|
486
577
|
mathHighlightParts: "Elk onderdeel van een formule wordt gemarkeerd terwijl het wordt voorgelezen; bij onzekere uitlijning wordt de hele formule gemarkeerd.",
|
|
@@ -493,8 +584,8 @@ const nlNL = {
|
|
|
493
584
|
ssmlWordTrackingDisabled: "Bij een Google SSML-voorbeeld blijft de SSML uit de bron intact, waardoor woordmarkering is uitgeschakeld.",
|
|
494
585
|
applyUnavailable: "Instellingen toepassen is niet mogelijk zolang deze dienst niet beschikbaar is.",
|
|
495
586
|
coordinatorUnavailable: "De toolkitcoördinator is niet beschikbaar voor voorleesinstellingen.",
|
|
496
|
-
customProviderNotRegistered: "Aangepaste
|
|
497
|
-
customProviderNoConfig: "Aangepaste
|
|
587
|
+
customProviderNotRegistered: "Aangepaste aanbieder “{id}” is niet geregistreerd.",
|
|
588
|
+
customProviderNoConfig: "Aangepaste aanbieder “{id}” gaf geen configuratie om toe te passen.",
|
|
498
589
|
httpError: "HTTP {status}: {message}",
|
|
499
590
|
unknownError: "Onbekende fout",
|
|
500
591
|
previewRequestFailed: "Het voorbeeldverzoek is mislukt ({status}).",
|
|
@@ -521,8 +612,18 @@ const nlNL = {
|
|
|
521
612
|
autoVoiceWaiting: "Beste beschikbare stem (automatisch): wachten op de stemmen van de browser.",
|
|
522
613
|
previewHintBrowserSsml: "SSML wordt niet ondersteund in het browservoorbeeld.",
|
|
523
614
|
previewHintGoogleSsml: "SSML blijft intact. Markering uitgeschakeld.",
|
|
524
|
-
previewHintCustom: "Markering actief wanneer de
|
|
615
|
+
previewHintCustom: "Markering actief wanneer de aanbieder spraakmarkeringen teruggeeft.",
|
|
525
616
|
previewHintTracking: "Markering actief tijdens het afspelen van het voorbeeld.",
|
|
617
|
+
formatMp3: "MP3",
|
|
618
|
+
formatOgg: "OGG",
|
|
619
|
+
formatPcm: "PCM",
|
|
620
|
+
sampleRate8000: "8000 Hz",
|
|
621
|
+
sampleRate16000: "16000 Hz",
|
|
622
|
+
sampleRate22050: "22050 Hz",
|
|
623
|
+
sampleRate24000: "24000 Hz",
|
|
624
|
+
apiEndpointPlaceholder: "/api/tts",
|
|
625
|
+
languagePlaceholder: "en-US",
|
|
626
|
+
ssml: "SSML",
|
|
526
627
|
},
|
|
527
628
|
},
|
|
528
629
|
};
|
package/dist/i18n/provider.d.ts
CHANGED
|
@@ -169,6 +169,25 @@ export declare function getDefaultI18n(): I18nServiceApi;
|
|
|
169
169
|
* default rather than nothing, which is the graceful default the pull pattern
|
|
170
170
|
* requires.
|
|
171
171
|
*/
|
|
172
|
+
/** The rendering surface `resolveInterfaceI18n` promises. */
|
|
173
|
+
export interface ResolvedInterfaceI18n extends I18nProvider {
|
|
174
|
+
/** Locale-aware number formatting, at the resolved locale. */
|
|
175
|
+
formatNumber(value: number, options?: Intl.NumberFormatOptions): string;
|
|
176
|
+
/** Locale-aware date formatting, at the resolved locale. */
|
|
177
|
+
formatDate(date: Date, options?: Intl.DateTimeFormatOptions): string;
|
|
178
|
+
}
|
|
172
179
|
export declare function resolveInterfaceI18n(source: {
|
|
173
180
|
i18n?: I18nProvider;
|
|
174
|
-
} | null | undefined):
|
|
181
|
+
} | null | undefined): ResolvedInterfaceI18n;
|
|
182
|
+
/**
|
|
183
|
+
* Stamp the interface locale's `lang` and `dir` on a chrome element.
|
|
184
|
+
*
|
|
185
|
+
* The imperative form of the `lang={…} dir={…}` pair a template puts on its
|
|
186
|
+
* root, for the elements a template cannot reach: a shadow host whose chrome
|
|
187
|
+
* is slotted light DOM, a shell built with `document.createElement`, a vanilla
|
|
188
|
+
* element stamping itself. Call it from whatever already re-runs on a locale
|
|
189
|
+
* change and on a catalog load: `getLocale()` moves only once the requested
|
|
190
|
+
* catalog is resident, so a stamp taken at setup alone names the locale that
|
|
191
|
+
* rendered before the load.
|
|
192
|
+
*/
|
|
193
|
+
export declare function stampInterfaceLocale(target: Element, provider: Pick<I18nProvider, "getLocale" | "getDirection">): void;
|