Translated

constructor(key: String, arguments: List<UiTextArgument> = emptyList(), fallback: TranslationFallback = TranslationFallback.UseKey)(source)


constructor(key: String, fallback: String)(source)

Creates a translation with a literal fallback.

Parameters

key

the non-blank translation key.

fallback

the literal fallback text.


constructor(key: String, arguments: List<UiTextArgument>, fallback: String)(source)

Creates a translation with typed arguments and a literal fallback.

Parameters

key

the non-blank translation key.

arguments

the typed translation arguments.

fallback

the literal fallback text.