Skip to content

@jsvision/i18n / AcceleratorScope

Interface: AcceleratorScope

Defined in: types.ts:152

A named group of labels that can appear together and must have unique accelerators.

Properties

keys

readonly keys: readonly string[]

Defined in: types.ts:156

Message keys whose labels coexist in this scope.


name

readonly name: string

Defined in: types.ts:154

Stable developer-facing scope identifier.


requiredKeys?

readonly optional requiredKeys?: readonly string[]

Defined in: types.ts:163

Labels that must contain one accelerator marker.

Omit this property to require every key. Supply a subset when a translated label is intentionally reachable without a keyboard accelerator.