aboutsummaryrefslogtreecommitdiff
path: root/src/lib/Locale/layout.ts
blob: 485256bad4f40e955a06483425d5f11a09b717ec (plain) (blame)
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
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
type LocaleValue = string; // | LocaleValue[] | { [key: string]: LocaleValue };

export interface LocaleDictionary {
	[key: string]: LocaleDictionary | string | Array<string | LocaleDictionary> | null;
}

export interface Locale {
	navigation: {
		home: LocaleValue;
		completed: LocaleValue;
		subtitleSchedule: LocaleValue;
		newReleases: LocaleValue;
		tools: LocaleValue;
		settings: LocaleValue;
		profile: LocaleValue;
		logIn: LocaleValue;
		logOut: LocaleValue;
	};
	settings: {
		fields: {
			notice: LocaleValue;
		};
		tooltips: {
			author: LocaleValue;
		};
		rssFeeds: {
			title: LocaleValue;
			buttons: {
				copyToClipboard: LocaleValue;
			};
			tooltips: {
				rss: LocaleValue;
			};
		};
		display: {
			title: LocaleValue;
			categories: {
				media: {
					title: LocaleValue;
					fields: {
						outboundLinks: LocaleValue;
						mediaTitleFormat: {
							title: LocaleValue;
							options: {
								english: LocaleValue;
								romaji: LocaleValue;
								native: LocaleValue;
							};
							fields: {
								showFurigana: LocaleValue;
							};
						};
					};
				};
				dateAndTime: {
					title: LocaleValue;
					fields: {
						disableLastActivityWarning: LocaleValue;
						rightAlignCountdown: LocaleValue;
						use24HourTime: LocaleValue;
						nativeEpisodeCountdown: LocaleValue;
						abbreviateCountdown: LocaleValue;
					};
				};
				motionAndAccessibility: {
					title: LocaleValue;
					fields: {
						disablePageTransitionAnimations: LocaleValue;
						disableNotifications: LocaleValue;
						limitPanelAreaToScreenHeight: LocaleValue;
						interfaceLanguage: LocaleValue;
					};
				};
				collapsePanelsByDefault: LocaleValue;
				hidePanels: LocaleValue;
				includeAdditionalMedia: LocaleValue;
				helper: {
					title: LocaleValue;
					options: {
						mai: LocaleValue;
						nodoka: LocaleValue;
						kaede: LocaleValue;
						none: LocaleValue;
					};
					hint: LocaleValue;
				};
			};
			tooltips: {
				beta: LocaleValue;
			};
		};
		debug: {
			title: LocaleValue;
			tooltips: {
				version: LocaleValue;
			};
		};
		calculation: {
			title: LocaleValue;
			fields: {
				roundDownChapters: {
					title: LocaleValue;
					hint: LocaleValue;
				};
				showMediaWithZeroProgress: {
					title: LocaleValue;
					hint: LocaleValue;
				};
				hideOutOfDateVolumeWarning: {
					title: LocaleValue;
				};
				smartChapterCountEstimation: {
					title: LocaleValue;
				};
			};
		};
		cache: {
			title: LocaleValue;
		};
		attributions: {
			title: LocaleValue;
		};
		media: {
			anime: LocaleValue;
			manga: LocaleValue;
			upcomingAnime: LocaleValue;
			pausedMedia: LocaleValue;
			unresolvedMedia: LocaleValue;
			plannedAnime: LocaleValue;
		};
		languages: {
			english: LocaleValue;
			japanese: LocaleValue;
		};
	};
	user: {
		badges: {
			backToProfile: LocaleValue;
			editMode: {
				enable: LocaleValue;
				disable: LocaleValue;
				imageURL: LocaleValue;
				activityURL: LocaleValue;
				description: LocaleValue;
				category: LocaleValue;
				add: LocaleValue;
				update: LocaleValue;
				or: LocaleValue;
				delete: LocaleValue;
			};
		};
		profile: {
			statistics: LocaleValue;
			badges: LocaleValue;
		};
	};
}