TranslationMessages
Home > @backstage/frontend-plugin-api > TranslationMessages
Represents a collection of messages to be provided for a given translation ref.
Signature:
export interface TranslationMessages<TId extends string = string, TMessages extends {
[key in string]: string;
} = {
[key in string]: string;
}, TFull extends boolean = boolean>
Remarks
This collection of messages can either be used directly as an override for the default messages, or it can be used to provide translations for a language by by being referenced by a TranslationResource.
Properties
|
Property |
Modifiers |
Type |
Description |
|---|---|---|---|
|
'@backstage/TranslationMessages' | |||
|
TFull |
Whether or not these messages override all known messages | ||
|
TId |
The ID of the translation ref that these messages are for | ||
|
TMessages |
The messages provided for the given translation ref |