Class: TranslatedText
Defined in: coreUtils/i18n.tsx:202
Represents a lazily-resolved simple or formatted translation string.
See
Translation
Methods
resolve()
resolve(
translation
):string
Defined in: coreUtils/i18n.tsx:224
Resolves a translation string referenced by the current instance.
Parameters
Parameter | Type |
---|---|
|
Returns
string
text()
static
text(key
,placeholders?
):TranslatedText
Defined in: coreUtils/i18n.tsx:214
Constructs a reference to a translation string formatted with the provided placeholders.
Parameters
Parameter | Type |
---|---|
|
|
|
|
Returns
TranslatedText