@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
readonlykeys: readonlystring[]
Defined in: types.ts:156
Message keys whose labels coexist in this scope.
name
readonlyname:string
Defined in: types.ts:154
Stable developer-facing scope identifier.
requiredKeys?
readonlyoptionalrequiredKeys?: readonlystring[]
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.