@jsvision/i18n / I18nDiagnostic
Interface: I18nDiagnostic
Defined in: types.ts:127
One recoverable translation fault retained by a service.
Diagnostics contain identities only. Parameter values and translated text are never captured.
Properties
code
readonlycode:I18nCode
Defined in: types.ts:129
Machine-stable diagnostic category.
key
readonlykey:string
Defined in: types.ts:133
Message key involved in the fault.
locale
readonlylocale:string
Defined in: types.ts:135
Locale being evaluated when the fault occurred.
severity
readonlyseverity:"warning"
Defined in: types.ts:131
Runtime diagnostics are warnings because translation returns a safe fallback.
source?
readonlyoptionalsource?:string
Defined in: types.ts:137
Optional source identifier inherited from the catalog layer.