forked from SlashBotDiscord/i18n
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.d.ts
41 lines (39 loc) · 935 Bytes
/
index.d.ts
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
export declare enum Locale {
Indonesian = "id",
EnglishUS = "en-US",
EnglishGB = "en-GB",
Bulgarian = "bg",
ChineseCN = "zh-CN",
ChineseTW = "zh-TW",
Croatian = "hr",
Czech = "cs",
Danish = "da",
Dutch = "nl",
Finnish = "fi",
French = "fr",
German = "de",
Greek = "el",
Hindi = "hi",
Hungarian = "hu",
Italian = "it",
Japanese = "ja",
Korean = "ko",
Lithuanian = "lt",
Norwegian = "no",
Polish = "pl",
PortugueseBR = "pt-BR",
Romanian = "ro",
Russian = "ru",
SpanishES = "es-ES",
Swedish = "sv-SE",
Thai = "th",
Turkish = "tr",
Ukrainian = "uk",
Vietnamese = "vi"
}
export declare type LocaleString = `${Locale}`;
export declare class SlashBotLocalizationManager {
constructor()
loadLanguages(): undefined;
getTranslation(locale: LocaleString, key: string, ...args: (string | number)[]): string;
}