@@ -18,29 +18,29 @@ export interface HopeThemeLocaleData {
1818 */
1919 lang: string ;
2020
21+ /**
22+ * Outlook
23+ */
2124 outlookLocales: {
2225 /**
2326 * Theme Color
24- *
25- * 主题色
2627 */
2728 themeColor: string ;
2829
2930 /**
3031 * Theme mode
31- *
32- * 夜间模式
3332 */
3433 darkmode: string ;
3534
3635 /**
3736 * Fullscreen text
38- *
39- * 全屏文字
4037 */
4138 fullscreen: string ;
4239 };
4340
41+ /**
42+ * Blog
43+ */
4444 blogLocales: {
4545 /** 文章文字 */
4646 article: string ;
@@ -66,39 +66,34 @@ export interface HopeThemeLocaleData {
6666 encrypt: string ;
6767 };
6868
69+ /**
70+ * Pagination
71+ */
6972 paginationLocales: {
7073 /**
7174 * Previous page button label text
72- *
73- * 上一页文字
7475 */
7576 prev: string ;
7677
7778 /**
7879 * Next page button label text
79- *
80- * 下一页文字
8180 */
8281 next: string ;
8382
8483 /**
8584 * Navigation hint label text
86- *
87- * 跳转提示文字
8885 */
8986 navigate: string ;
9087
9188 /**
9289 * Navigation button label text
93- *
94- * 跳转按钮文字
9590 */
9691 action: string ;
9792
9893 /**
99- * Error text when invalid page number, `$page` will be replaced by total page number automatically
94+ * Error text when invalid page number
10095 *
101- * 页码错误文字,其中 `$page` 会自动替换为当前的总页数
96+ * @description `$page` will be replaced by total page number automatically
10297 */
10398 errorText: string ;
10499 };
@@ -108,12 +103,18 @@ export interface HopeThemeLocaleData {
108103 */
109104 encryptLocales: {
110105 /**
111- * Encrypt title
106+ * Aria label for encrypt icon
112107 */
113- title : string ;
108+ iconLabel : string ;
114109
110+ /**
111+ * Password placeholder
112+ */
115113 placeholder: string ;
116114
115+ /**
116+ * Whether remember password
117+ */
117118 remember: string ;
118119
119120 /**
@@ -122,126 +123,92 @@ export interface HopeThemeLocaleData {
122123 errorHint: string ;
123124 };
124125
126+ /**
127+ * Navbar
128+ */
125129 navbarLocales: {
126130 /**
127- * Navbar language selection config
128- *
129- * Text of the language selection dropdown
130- */
131- selectLangText: string ;
132-
133- /**
134- * Navbar language selection config
135- *
136131 * Aria label of of the language selection dropdown
137132 */
138133 selectLangAriaLabel: string ;
139134
140135 /**
141- * Navbar language selection config
142- *
143136 * Language name of current locale
144- *
145- * Displayed inside the language selection dropdown
146137 */
147138 langName: string ;
148139 };
149140
150141 /**
151- * Page locate config
142+ * Page meta
152143 */
153144 metaLocales: {
154145 /**
155146 * Author label text
156- *
157- * 作者文字
158147 */
159148 author: string ;
160149
161150 /**
162151 * Writing date label text
163- *
164- * 写作日期文字
165152 */
166153 date: string ;
167154
168155 /**
169156 * Label text marked as original
170- *
171- * 标记原创的文字
172157 */
173158 origin: string ;
174159
175160 /**
176161 * Page views label text
177- *
178- * 访问量文字
179162 */
180163 views: string ;
181164
182165 /**
183166 * Tag label text
184- *
185- * 标签文字
186167 */
187168 tag: string ;
188169
189170 /**
190171 * Category label text
191- *
192- * 分类文字
193172 */
194173 category: string ;
195174
196175 /**
197176 * Expect reading time label text
198- *
199- * 期望阅读时间文字
200177 */
201178 readingTime: string ;
202179
203180 /**
204181 * Words label Text
205- *
206- * 文章字数
207182 */
208183 words: string ;
209184
210185 /**
211186 * Table of contents
212- *
213- * 此页内容
214187 */
215188 toc: string ;
216189
217190 /**
218- * Page nav - previous link
191+ * Previous link
219192 */
220193 prev: string ;
221194
222195 /**
223- * Page nav - next link
196+ * Next link
224197 */
225198 next: string ;
226199
227200 /**
228- * Page meta - last updated config
229- *
230- * The text to replace the default "Last Updated"
201+ * last updated text
231202 */
232203 lastUpdated: string ;
233204
234205 /**
235- * Page meta - contributors config
236- *
237- * The text to replace the default "Contributors"
206+ * Contributors text
238207 */
239208 contributors: string ;
240209
241210 /**
242- * Page meta - contributors config
243- *
244- * The text to replace the default "Edit this page"
211+ * Edit link text
245212 */
246213 editLink: string ;
247214 };
@@ -263,7 +230,7 @@ export interface HopeThemeLocaleData {
263230 back: string ;
264231
265232 /**
266- * sr- only message in `<ExternalLinkIcon>`
233+ * screen reader only message in `<ExternalLinkIcon>`
267234 */
268235 openInNewWindow: string ;
269236 };
0 commit comments