@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
package/dist/i18n/catalogs.d.ts
CHANGED
|
@@ -31,6 +31,11 @@ export declare const BUNDLED_LOCALES: readonly BundledLocaleCode[];
|
|
|
31
31
|
/**
|
|
32
32
|
* Load one shipped catalog.
|
|
33
33
|
*
|
|
34
|
+
* `en-US` comes back without a load: it is statically resident, and a host
|
|
35
|
+
* composing this loader into a provider — the generated tier's README pattern,
|
|
36
|
+
* or a pseudo-localization of the English catalog — asks for it by name like
|
|
37
|
+
* any other locale.
|
|
38
|
+
*
|
|
34
39
|
* Throws for a locale with no shipped catalog; the provider treats that as
|
|
35
40
|
* "resolve through the fallback chain" rather than an error, so a host locale we
|
|
36
41
|
* do not ship still renders.
|
package/dist/i18n/catalogs.js
CHANGED
|
@@ -20,6 +20,7 @@
|
|
|
20
20
|
*
|
|
21
21
|
* @module @pie-players/pie-players-shared/i18n/catalogs
|
|
22
22
|
*/
|
|
23
|
+
import enUS from "./messages/en-US.js";
|
|
23
24
|
const CATALOG_LOADERS = {
|
|
24
25
|
"nl-NL": () => import("./messages/nl-NL.js"),
|
|
25
26
|
};
|
|
@@ -33,11 +34,19 @@ export const BUNDLED_LOCALES = ["en-US", "nl-NL"];
|
|
|
33
34
|
/**
|
|
34
35
|
* Load one shipped catalog.
|
|
35
36
|
*
|
|
37
|
+
* `en-US` comes back without a load: it is statically resident, and a host
|
|
38
|
+
* composing this loader into a provider — the generated tier's README pattern,
|
|
39
|
+
* or a pseudo-localization of the English catalog — asks for it by name like
|
|
40
|
+
* any other locale.
|
|
41
|
+
*
|
|
36
42
|
* Throws for a locale with no shipped catalog; the provider treats that as
|
|
37
43
|
* "resolve through the fallback chain" rather than an error, so a host locale we
|
|
38
44
|
* do not ship still renders.
|
|
39
45
|
*/
|
|
40
46
|
export async function loadBundledCatalog(locale) {
|
|
47
|
+
if (locale === "en-US") {
|
|
48
|
+
return enUS;
|
|
49
|
+
}
|
|
41
50
|
const loader = CATALOG_LOADERS[locale];
|
|
42
51
|
if (!loader) {
|
|
43
52
|
throw new Error(`No bundled i18n catalog for locale: ${locale}`);
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Content language on the delivery channel.
|
|
3
|
+
*
|
|
4
|
+
* Content language names the language the item's content is written in — a
|
|
5
|
+
* fact about the content, on a separate channel from the interface locale a
|
|
6
|
+
* player publishes to the elements inside it. It reaches the player in
|
|
7
|
+
* `env.locale`, the same channel `env.mode` travels: a delivery fact the
|
|
8
|
+
* container knows and content cannot. Authoring hosts emit it; a host that
|
|
9
|
+
* emits nothing leaves the content unstamped, and nothing is invented — there
|
|
10
|
+
* is no default language for content that names none.
|
|
11
|
+
*
|
|
12
|
+
* The player reflects the resolved language onto its content subtree's root as
|
|
13
|
+
* `lang` and `dir`, so a screen reader takes the content's voice rules and RTL
|
|
14
|
+
* content lays out right to left, independent of the chrome's locale.
|
|
15
|
+
*/
|
|
16
|
+
import type { TextDirection } from "./types.js";
|
|
17
|
+
/** `lang` and `dir` for declared content, or `null` when nothing is declared. */
|
|
18
|
+
export interface ContentLanguageAttributes {
|
|
19
|
+
lang: string;
|
|
20
|
+
dir: TextDirection;
|
|
21
|
+
}
|
|
22
|
+
/**
|
|
23
|
+
* `lang` and `dir` for the content an `env` describes, or `null` when it
|
|
24
|
+
* declares no usable language. Reads `env.locale` defensively — `env` is
|
|
25
|
+
* pass-through and load-bearing, so anything may arrive — and never invents a
|
|
26
|
+
* default: undeclared content stays unstamped and inherits whatever its
|
|
27
|
+
* context genuinely provides.
|
|
28
|
+
*/
|
|
29
|
+
export declare function contentLanguageAttributes(env: unknown): ContentLanguageAttributes | null;
|
|
30
|
+
/**
|
|
31
|
+
* Stamps `contentLanguageAttributes(env)` onto `target`, removing both
|
|
32
|
+
* attributes when the env declares no language — a model set can drop the
|
|
33
|
+
* language a previous one declared. No-op without a target.
|
|
34
|
+
*/
|
|
35
|
+
export declare function stampContentLanguage(target: Element | null | undefined, env: unknown): void;
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Content language on the delivery channel.
|
|
3
|
+
*
|
|
4
|
+
* Content language names the language the item's content is written in — a
|
|
5
|
+
* fact about the content, on a separate channel from the interface locale a
|
|
6
|
+
* player publishes to the elements inside it. It reaches the player in
|
|
7
|
+
* `env.locale`, the same channel `env.mode` travels: a delivery fact the
|
|
8
|
+
* container knows and content cannot. Authoring hosts emit it; a host that
|
|
9
|
+
* emits nothing leaves the content unstamped, and nothing is invented — there
|
|
10
|
+
* is no default language for content that names none.
|
|
11
|
+
*
|
|
12
|
+
* The player reflects the resolved language onto its content subtree's root as
|
|
13
|
+
* `lang` and `dir`, so a screen reader takes the content's voice rules and RTL
|
|
14
|
+
* content lays out right to left, independent of the chrome's locale.
|
|
15
|
+
*/
|
|
16
|
+
import { canonicalLanguageTag } from "./language-tags.js";
|
|
17
|
+
import { localeDirection } from "./provider.js";
|
|
18
|
+
/**
|
|
19
|
+
* `lang` and `dir` for the content an `env` describes, or `null` when it
|
|
20
|
+
* declares no usable language. Reads `env.locale` defensively — `env` is
|
|
21
|
+
* pass-through and load-bearing, so anything may arrive — and never invents a
|
|
22
|
+
* default: undeclared content stays unstamped and inherits whatever its
|
|
23
|
+
* context genuinely provides.
|
|
24
|
+
*/
|
|
25
|
+
export function contentLanguageAttributes(env) {
|
|
26
|
+
const locale = env?.locale;
|
|
27
|
+
if (typeof locale !== "string")
|
|
28
|
+
return null;
|
|
29
|
+
const lang = canonicalLanguageTag(locale);
|
|
30
|
+
if (!lang)
|
|
31
|
+
return null;
|
|
32
|
+
return { lang, dir: localeDirection(lang) };
|
|
33
|
+
}
|
|
34
|
+
/**
|
|
35
|
+
* Stamps `contentLanguageAttributes(env)` onto `target`, removing both
|
|
36
|
+
* attributes when the env declares no language — a model set can drop the
|
|
37
|
+
* language a previous one declared. No-op without a target.
|
|
38
|
+
*/
|
|
39
|
+
export function stampContentLanguage(target, env) {
|
|
40
|
+
if (!target)
|
|
41
|
+
return;
|
|
42
|
+
const attributes = contentLanguageAttributes(env);
|
|
43
|
+
if (attributes) {
|
|
44
|
+
target.setAttribute("lang", attributes.lang);
|
|
45
|
+
target.setAttribute("dir", attributes.dir);
|
|
46
|
+
}
|
|
47
|
+
else {
|
|
48
|
+
target.removeAttribute("lang");
|
|
49
|
+
target.removeAttribute("dir");
|
|
50
|
+
}
|
|
51
|
+
}
|
package/dist/i18n/index.d.ts
CHANGED
|
@@ -28,6 +28,10 @@ import type { I18nConfig, I18nServiceApi } from "./types.js";
|
|
|
28
28
|
*/
|
|
29
29
|
export declare function createPieI18n(config?: I18nConfig): I18nServiceApi;
|
|
30
30
|
export { BUNDLED_LOCALES, loadBundledCatalog } from "./catalogs.js";
|
|
31
|
-
export { findBestLanguageMatch, languageTagLookupSequence, languageTagsEqual, normalizeLanguageTag, toLanguageTag, } from "./language-tags.js";
|
|
32
|
-
export { DEFAULT_LOCALE, detectBrowserLocale, dynamicMessageKey, getDefaultI18n, localeDirection, resolveInterfaceI18n, SimpleI18n, } from "./provider.js";
|
|
31
|
+
export { canonicalLanguageTag, findBestLanguageMatch, languageTagLookupSequence, languageTagsEqual, normalizeLanguageTag, toLanguageTag, } from "./language-tags.js";
|
|
32
|
+
export { DEFAULT_LOCALE, detectBrowserLocale, dynamicMessageKey, getDefaultI18n, localeDirection, resolveInterfaceI18n, SimpleI18n, stampInterfaceLocale, } from "./provider.js";
|
|
33
|
+
export { type ContentLanguageAttributes, contentLanguageAttributes, stampContentLanguage, } from "./content-language.js";
|
|
34
|
+
export { type InterfaceLocaleLoadErrorModel, reportInterfaceLocaleLoadError, } from "./locale-load-error.js";
|
|
35
|
+
export { PSEUDO_LOCALE_EXPANDED, PSEUDO_LOCALE_RTL, pseudoLocalize, } from "./pseudo.js";
|
|
36
|
+
export type { PseudoLocalizeOptions } from "./pseudo.js";
|
|
33
37
|
export type { BundledLocaleCode, DynamicMessageKey, I18nConfig, I18nProvider, I18nServiceApi, InterpolationValues, LocaleCode, MessageCatalog, MessageKey, MessageKeyInput, MessageNode, PluralOptions, PluralTranslation, TextDirection, TranslationBundle, } from "./types.js";
|
package/dist/i18n/index.js
CHANGED
|
@@ -35,5 +35,8 @@ export function createPieI18n(config = {}) {
|
|
|
35
35
|
});
|
|
36
36
|
}
|
|
37
37
|
export { BUNDLED_LOCALES, loadBundledCatalog } from "./catalogs.js";
|
|
38
|
-
export { findBestLanguageMatch, languageTagLookupSequence, languageTagsEqual, normalizeLanguageTag, toLanguageTag, } from "./language-tags.js";
|
|
39
|
-
export { DEFAULT_LOCALE, detectBrowserLocale, dynamicMessageKey, getDefaultI18n, localeDirection, resolveInterfaceI18n, SimpleI18n, } from "./provider.js";
|
|
38
|
+
export { canonicalLanguageTag, findBestLanguageMatch, languageTagLookupSequence, languageTagsEqual, normalizeLanguageTag, toLanguageTag, } from "./language-tags.js";
|
|
39
|
+
export { DEFAULT_LOCALE, detectBrowserLocale, dynamicMessageKey, getDefaultI18n, localeDirection, resolveInterfaceI18n, SimpleI18n, stampInterfaceLocale, } from "./provider.js";
|
|
40
|
+
export { contentLanguageAttributes, stampContentLanguage, } from "./content-language.js";
|
|
41
|
+
export { reportInterfaceLocaleLoadError, } from "./locale-load-error.js";
|
|
42
|
+
export { PSEUDO_LOCALE_EXPANDED, PSEUDO_LOCALE_RTL, pseudoLocalize, } from "./pseudo.js";
|
|
@@ -57,3 +57,12 @@ export declare function languageTagLookupSequence(tag: string | null | undefined
|
|
|
57
57
|
* however they were authored.
|
|
58
58
|
*/
|
|
59
59
|
export declare function findBestLanguageMatch(requested: string | null | undefined, available: readonly (string | null | undefined)[]): string | undefined;
|
|
60
|
+
/**
|
|
61
|
+
* The canonical form of a usable language tag, or `undefined` for anything a
|
|
62
|
+
* language in use would not be: `es_MX` normalizes to `es-MX`, `NL-nl` to
|
|
63
|
+
* `nl-NL`, and `Spanish` or an empty string are not tags. One rule for every
|
|
64
|
+
* `lang` this repository writes — content and chrome alike — and the same rule
|
|
65
|
+
* the PIE elements apply to `model.language`, so every stamped attribute on a
|
|
66
|
+
* page carries the same shape.
|
|
67
|
+
*/
|
|
68
|
+
export declare function canonicalLanguageTag(language: string | null | undefined): string | undefined;
|
|
@@ -92,3 +92,24 @@ export function findBestLanguageMatch(requested, available) {
|
|
|
92
92
|
}
|
|
93
93
|
return undefined;
|
|
94
94
|
}
|
|
95
|
+
/**
|
|
96
|
+
* The canonical form of a usable language tag, or `undefined` for anything a
|
|
97
|
+
* language in use would not be: `es_MX` normalizes to `es-MX`, `NL-nl` to
|
|
98
|
+
* `nl-NL`, and `Spanish` or an empty string are not tags. One rule for every
|
|
99
|
+
* `lang` this repository writes — content and chrome alike — and the same rule
|
|
100
|
+
* the PIE elements apply to `model.language`, so every stamped attribute on a
|
|
101
|
+
* page carries the same shape.
|
|
102
|
+
*/
|
|
103
|
+
export function canonicalLanguageTag(language) {
|
|
104
|
+
const tag = toLanguageTag(language).split(/[.@]/)[0];
|
|
105
|
+
// `Intl` accepts any 5-8 letter primary subtag, `Spanish` included; a
|
|
106
|
+
// language in use has an ISO 639 code of two or three letters.
|
|
107
|
+
if (!/^[a-z]{2,3}(-|$)/i.test(tag))
|
|
108
|
+
return undefined;
|
|
109
|
+
try {
|
|
110
|
+
return Intl.getCanonicalLocales(tag)[0];
|
|
111
|
+
}
|
|
112
|
+
catch {
|
|
113
|
+
return undefined;
|
|
114
|
+
}
|
|
115
|
+
}
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* The `framework-error` report for a failed interface-locale catalog load.
|
|
3
|
+
*
|
|
4
|
+
* Every locale driver — the toolkit through its error bus, the standalone item
|
|
5
|
+
* player and the reference assembly through this helper — reports the same
|
|
6
|
+
* failure the same way: a `framework-error` DOM event whose detail carries the
|
|
7
|
+
* `i18n-locale-load` kind with `recoverable: true`, because every key still
|
|
8
|
+
* resolves through the English fallback chain and the player renders — in the
|
|
9
|
+
* wrong language, which a host wants to know about.
|
|
10
|
+
*
|
|
11
|
+
* The shape mirrors the toolkit's `FrameworkErrorModel` field for field. It is
|
|
12
|
+
* declared here, narrowly, because the standalone item player does not depend
|
|
13
|
+
* on the toolkit and a type-only import would still drag it into the published
|
|
14
|
+
* declarations; what this module commits to is the fields below, which is what
|
|
15
|
+
* a host reading `.kind` and `.recoverable` consumes.
|
|
16
|
+
*/
|
|
17
|
+
export interface InterfaceLocaleLoadErrorModel {
|
|
18
|
+
kind: "i18n-locale-load";
|
|
19
|
+
source: string;
|
|
20
|
+
message: string;
|
|
21
|
+
details: string[];
|
|
22
|
+
recoverable: true;
|
|
23
|
+
scope: "runtime";
|
|
24
|
+
cause?: unknown;
|
|
25
|
+
}
|
|
26
|
+
/**
|
|
27
|
+
* Dispatches the recoverable load-failure report on `target` as a
|
|
28
|
+
* `bubbles`/`composed` `framework-error` event. No-op without a target, so a
|
|
29
|
+
* caller mounted as a plain component rather than an element stays silent.
|
|
30
|
+
*
|
|
31
|
+
* Failed loads are not cached: re-setting the `locale` attribute, or
|
|
32
|
+
* recomposing the `i18n` provider, drives `setLocale` again and so retries.
|
|
33
|
+
*/
|
|
34
|
+
export declare function reportInterfaceLocaleLoadError(target: Element | null | undefined, source: string, cause: unknown): void;
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Dispatches the recoverable load-failure report on `target` as a
|
|
3
|
+
* `bubbles`/`composed` `framework-error` event. No-op without a target, so a
|
|
4
|
+
* caller mounted as a plain component rather than an element stays silent.
|
|
5
|
+
*
|
|
6
|
+
* Failed loads are not cached: re-setting the `locale` attribute, or
|
|
7
|
+
* recomposing the `i18n` provider, drives `setLocale` again and so retries.
|
|
8
|
+
*/
|
|
9
|
+
export function reportInterfaceLocaleLoadError(target, source, cause) {
|
|
10
|
+
if (!target)
|
|
11
|
+
return;
|
|
12
|
+
const message = cause instanceof Error && cause.message.trim().length > 0
|
|
13
|
+
? cause.message
|
|
14
|
+
: String(cause ?? "Unknown catalog load failure");
|
|
15
|
+
const detail = {
|
|
16
|
+
kind: "i18n-locale-load",
|
|
17
|
+
source,
|
|
18
|
+
message,
|
|
19
|
+
details: [],
|
|
20
|
+
recoverable: true,
|
|
21
|
+
scope: "runtime",
|
|
22
|
+
cause,
|
|
23
|
+
};
|
|
24
|
+
target.dispatchEvent(new CustomEvent("framework-error", {
|
|
25
|
+
detail,
|
|
26
|
+
bubbles: true,
|
|
27
|
+
composed: true,
|
|
28
|
+
}));
|
|
29
|
+
}
|
|
@@ -57,6 +57,8 @@ declare const enUS: {
|
|
|
57
57
|
apply: string;
|
|
58
58
|
enabled: string;
|
|
59
59
|
disabled: string;
|
|
60
|
+
lookUp: string;
|
|
61
|
+
wordOrPhrase: string;
|
|
60
62
|
closeA11y: string;
|
|
61
63
|
settingsA11y: string;
|
|
62
64
|
};
|
|
@@ -89,6 +91,14 @@ declare const enUS: {
|
|
|
89
91
|
resizeMediaRegion: string;
|
|
90
92
|
resizeQuestionAndMediaA11y: string;
|
|
91
93
|
resizePassageAndMediaA11y: string;
|
|
94
|
+
resizePassageAndQuestionA11y: string;
|
|
95
|
+
passageWidthA11y: string;
|
|
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: string;
|
|
101
|
+
questionPositionLabeledA11y: string;
|
|
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 @@ declare const enUS: {
|
|
|
139
149
|
playbackAdvisory: string;
|
|
140
150
|
playbackReleased: string;
|
|
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: string;
|
|
159
|
+
answer: string;
|
|
160
|
+
manualScoring: string;
|
|
161
|
+
audio: string;
|
|
162
|
+
video: string;
|
|
163
|
+
};
|
|
142
164
|
};
|
|
143
165
|
/** Toolbar and tool-shell chrome owned by the assessment toolkit. */
|
|
144
166
|
toolkit: {
|
|
@@ -159,17 +181,20 @@ declare const enUS: {
|
|
|
159
181
|
moveRightA11y: string;
|
|
160
182
|
moveUpA11y: string;
|
|
161
183
|
moveDownA11y: string;
|
|
162
|
-
|
|
163
|
-
|
|
184
|
+
narrowerA11y: string;
|
|
185
|
+
widerA11y: string;
|
|
186
|
+
shorterA11y: string;
|
|
187
|
+
tallerA11y: string;
|
|
164
188
|
centerA11y: string;
|
|
165
189
|
closeA11y: string;
|
|
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: string;
|
|
197
|
+
moveAndResizeA11y: string;
|
|
173
198
|
rotateClockwiseA11y: string;
|
|
174
199
|
rotateCounterclockwiseA11y: string;
|
|
175
200
|
};
|
|
@@ -209,6 +234,7 @@ declare const enUS: {
|
|
|
209
234
|
toolA11y: string;
|
|
210
235
|
loading: string;
|
|
211
236
|
providerUnavailable: string;
|
|
237
|
+
initFailed: string;
|
|
212
238
|
};
|
|
213
239
|
graph: {
|
|
214
240
|
name: string;
|
|
@@ -302,6 +328,15 @@ declare const enUS: {
|
|
|
302
328
|
buttonA11y: string;
|
|
303
329
|
tooltip: string;
|
|
304
330
|
toolA11y: string;
|
|
331
|
+
notConfigured: string;
|
|
332
|
+
idleHint: string;
|
|
333
|
+
lookingUp: string;
|
|
334
|
+
noEntryFor: string;
|
|
335
|
+
entriesCount: {
|
|
336
|
+
one: string;
|
|
337
|
+
other: string;
|
|
338
|
+
};
|
|
339
|
+
noEntryStatusFor: string;
|
|
305
340
|
};
|
|
306
341
|
pictureDictionary: {
|
|
307
342
|
name: string;
|
|
@@ -309,6 +344,15 @@ declare const enUS: {
|
|
|
309
344
|
buttonA11y: string;
|
|
310
345
|
tooltip: string;
|
|
311
346
|
toolA11y: string;
|
|
347
|
+
notConfigured: string;
|
|
348
|
+
idleHint: string;
|
|
349
|
+
lookingUp: string;
|
|
350
|
+
noEntryFor: string;
|
|
351
|
+
entriesCount: {
|
|
352
|
+
one: string;
|
|
353
|
+
other: string;
|
|
354
|
+
};
|
|
355
|
+
noEntryStatusFor: string;
|
|
312
356
|
};
|
|
313
357
|
/**
|
|
314
358
|
* The Spanish variants. Named in the interface locale like every other tool label —
|
|
@@ -341,10 +385,36 @@ declare const enUS: {
|
|
|
341
385
|
windowHeightAnnounce: string;
|
|
342
386
|
frameHeightAnnounce: string;
|
|
343
387
|
widthAnnounce: string;
|
|
388
|
+
shorterWindowA11y: string;
|
|
389
|
+
tallerWindowA11y: string;
|
|
390
|
+
shorterFrameA11y: string;
|
|
391
|
+
tallerFrameA11y: string;
|
|
392
|
+
narrowerA11y: string;
|
|
393
|
+
widerA11y: string;
|
|
344
394
|
applicationA11y: string;
|
|
345
395
|
resizeWindowFullA11y: string;
|
|
346
396
|
resizeFrameFullA11y: string;
|
|
347
397
|
};
|
|
398
|
+
magnification: {
|
|
399
|
+
name: string;
|
|
400
|
+
description: string;
|
|
401
|
+
buttonA11y: string;
|
|
402
|
+
tooltip: string;
|
|
403
|
+
roleA11y: string;
|
|
404
|
+
applicationA11y: string;
|
|
405
|
+
zoomIn: string;
|
|
406
|
+
zoomOut: string;
|
|
407
|
+
zoomLevel: string;
|
|
408
|
+
zoomAnnounce: string;
|
|
409
|
+
close: string;
|
|
410
|
+
resizeA11y: string;
|
|
411
|
+
resizeFullA11y: string;
|
|
412
|
+
sizeAnnounce: string;
|
|
413
|
+
narrowerA11y: string;
|
|
414
|
+
widerA11y: string;
|
|
415
|
+
shorterA11y: string;
|
|
416
|
+
tallerA11y: string;
|
|
417
|
+
};
|
|
348
418
|
answerEliminator: {
|
|
349
419
|
name: string;
|
|
350
420
|
description: string;
|
|
@@ -498,6 +568,30 @@ declare const enUS: {
|
|
|
498
568
|
toggleEventPanelA11y: string;
|
|
499
569
|
toggleDatabasePanelA11y: string;
|
|
500
570
|
toggleInstrumentationPanelA11y: string;
|
|
571
|
+
clear: string;
|
|
572
|
+
pause: string;
|
|
573
|
+
resume: string;
|
|
574
|
+
controllerUnavailable: string;
|
|
575
|
+
noMatchingEvents: string;
|
|
576
|
+
noSectionSessionYet: string;
|
|
577
|
+
eventLevelItem: string;
|
|
578
|
+
eventLevelSection: string;
|
|
579
|
+
instrumentationKindAll: string;
|
|
580
|
+
instrumentationKindEvent: string;
|
|
581
|
+
instrumentationKindError: string;
|
|
582
|
+
instrumentationKindMetric: string;
|
|
583
|
+
instrumentationKindUserContext: string;
|
|
584
|
+
instrumentationKindGlobalAttributes: string;
|
|
585
|
+
instrumentationFieldName: string;
|
|
586
|
+
instrumentationFieldKind: string;
|
|
587
|
+
instrumentationFieldProvider: string;
|
|
588
|
+
instrumentationFieldTimestamp: string;
|
|
589
|
+
instrumentationFieldValue: string;
|
|
590
|
+
instrumentationFieldError: string;
|
|
591
|
+
sessionDbAssessmentId: string;
|
|
592
|
+
sessionDbSectionId: string;
|
|
593
|
+
sessionDbAttemptId: string;
|
|
594
|
+
sessionDbMode: string;
|
|
501
595
|
/** PNP debugger. */
|
|
502
596
|
pnp: {
|
|
503
597
|
title: string;
|
|
@@ -517,6 +611,12 @@ declare const enUS: {
|
|
|
517
611
|
perToolDecisions: string;
|
|
518
612
|
policyDiagnostics: string;
|
|
519
613
|
profileReadOnly: string;
|
|
614
|
+
on: string;
|
|
615
|
+
effective: string;
|
|
616
|
+
needs: string;
|
|
617
|
+
hostSurfaceNotPlaced: string;
|
|
618
|
+
support: string;
|
|
619
|
+
prohibit: string;
|
|
520
620
|
};
|
|
521
621
|
/** TTS settings panel. */
|
|
522
622
|
tts: {
|
|
@@ -612,6 +712,16 @@ declare const enUS: {
|
|
|
612
712
|
previewHintGoogleSsml: string;
|
|
613
713
|
previewHintCustom: string;
|
|
614
714
|
previewHintTracking: string;
|
|
715
|
+
formatMp3: string;
|
|
716
|
+
formatOgg: string;
|
|
717
|
+
formatPcm: string;
|
|
718
|
+
sampleRate8000: string;
|
|
719
|
+
sampleRate16000: string;
|
|
720
|
+
sampleRate22050: string;
|
|
721
|
+
sampleRate24000: string;
|
|
722
|
+
apiEndpointPlaceholder: string;
|
|
723
|
+
languagePlaceholder: string;
|
|
724
|
+
ssml: string;
|
|
615
725
|
};
|
|
616
726
|
};
|
|
617
727
|
};
|