-
Notifications
You must be signed in to change notification settings - Fork 28
/
i18n.ts
55 lines (50 loc) · 1.07 KB
/
i18n.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
42
43
44
45
46
47
48
49
50
51
52
53
54
55
export interface I18nPlugins {
huge_title: string;
large_title: string;
small_title: string;
paragraph: string;
separator: string;
unordered_list: string;
ordered_list: string;
image: string;
code: string;
no_matches: string;
blockquote: string;
}
export interface I18nAdd {
placeholder: string;
add_element: string;
}
export interface I18Toolbar {
align_left: string;
align_center: string;
align_right: string;
font_size: string;
list_ol: string;
list_ul: string;
style_list: string;
style_align: string;
style_font_size: string;
style_color: string;
style_background: string;
link: string;
bold: string;
italic: string;
underline: string;
strikethrough: string;
}
export interface I18Menus {
img_width_original: string;
img_width_large: string;
img_width_medium: string;
img_width_small: string;
img_delete: string;
}
export type Languages = 'en' | 'es' | 'de' | 'nl' | 'ja' | 'zh-cn' | 'fr';
export interface I18n {
lang: Languages;
plugins: I18nPlugins;
add: I18nAdd;
toolbar: I18Toolbar;
menus: I18Menus;
}