Provides methods to retrieve a bunch of texts to use in code.
class TranslatableTextList {
constructor(
translate: TranslationService,
keyList: string | Array<string> | object
);
get( key: string, args?: any ): string;
}
Creates a new instance of the text list.
Returns the text identified by the key in the current language. If the text contains placeholders for values, then they are replaced with the values provided by the second argument.