@koalarx/ui
Version:
Koala UI is a Design System developed in Angular whose objective is to facilitate and make your development faster and simpler, making this framework your greatest ally.
20 lines (19 loc) • 1.29 kB
TypeScript
export declare type KoalaLanguageType = 'ptBr' | 'enUs';
export declare class KoalaLanguageHelper {
private static language;
static setLanguage(language: KoalaLanguageType): void;
static getLanguage(): KoalaLanguageType;
static getBtnLabel(): "Send" | "Enviar";
static getYesMessage(): "Yes" | "Sim";
static getNoMessage(): "No" | "Não";
static getInternalServerErrorMessage(): "We had a problem with your request.<br/>Sorry for the inconvenience.<br/><br/>Please try again later." | "Tivemos um problema com sua requisição.<br/>Sinto muito pelo transtorno.<br/><br/>Gentileza tentar novamente mais tarde.";
static getRequiredMessage(label: string): string;
static getInvalidMessage(label: string): string;
static getMinMessage(min: string): string;
static getMaxMessage(max: string): string;
static getMinLengthMessage(minLength: string): string;
static getMaxLengthMessage(maxLength: string): string;
static getDateMinMessage(): "Inform at least the date of " | "Informe no mínimo a data de ";
static getDateMaxMessage(): "Inform at most the date of " | "Informe no máximo a data de ";
static getAutocompleteMessage(label: string): "You must select a option." | "Você deve selecionar uma opção.";
}