Functions
addLocale
Section titled “addLocale”▸ addLocale(locale: string,localeTexts: any): void
Parameters:
Section titled “Parameters:”- locale:
string - localeTexts:
any
Returns void
getLocale
Section titled “getLocale”Gets the locale.
▸ getLocale(): string
Returns string - The locale.
getText
Section titled “getText”Returns localized text by the key defined in parameter. Here we get the text of the resource string assigned to CmdClickToAddCondition key:
▸ getText(args: any[]): string
Parameters:
Section titled “Parameters:”- args:
any[] - The keys of the resource string.
Returns string - Text of the resource defined by key.
setLocale
Section titled “setLocale”Sets the locale.
▸ setLocale(l: string): void
Parameters:
Section titled “Parameters:”- l:
string- The locale.
Returns void