@serenity-is/corelib / localText
Function: localText()
localText(
key,defaultText?):string
Defined in: src/base/localtext.ts:46
Retrieves a localized string from the localization table.
Parameters
key
string
The key of the localized string.
defaultText?
string
The default text to return if the key is not found.
Returns
string
The localized string or the default text.