Skip to content

Commit c111f2a

Browse files
authored
fix(docs): incorrect translation for docs (#901)
1 parent 880cfd0 commit c111f2a

1 file changed

Lines changed: 42 additions & 10 deletions

File tree

docs/.vitepress/config.ts

Lines changed: 42 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -109,23 +109,23 @@ export default defineConfig({
109109
],
110110
outline: {
111111
level: 'deep',
112-
label: 'このページの内容',
112+
label: 'On this page',
113113
},
114114
docFooter: {
115-
prev: '前のページ',
116-
next: '次のページ',
115+
prev: 'Previous page',
116+
next: 'Next page',
117117
},
118118
editLink: {
119119
pattern: 'https://github.com/moeru-ai/airi/edit/main/docs/content/:path',
120-
text: 'GitHub でこのページを編集',
120+
text: 'Edit this page on GitHub',
121121
},
122122
lastUpdated: {
123-
text: '最終更新',
123+
text: 'Last updated',
124124
},
125-
darkModeSwitchLabel: '外観モード',
126-
sidebarMenuLabel: 'メニュー',
127-
returnToTopLabel: 'トップに戻る',
128-
langMenuLabel: '言語を変更',
125+
darkModeSwitchLabel: 'Appearance',
126+
sidebarMenuLabel: 'Menu',
127+
returnToTopLabel: 'Return to top',
128+
langMenuLabel: 'Change language',
129129
logo: withBase('/favicon.svg'),
130130

131131
sidebar: [
@@ -213,7 +213,23 @@ export default defineConfig({
213213
],
214214
outline: {
215215
level: 'deep',
216+
label: '本页内容',
216217
},
218+
docFooter: {
219+
prev: '上一页',
220+
next: '下一页',
221+
},
222+
editLink: {
223+
pattern: 'https://github.com/moeru-ai/airi/edit/main/docs/content/:path',
224+
text: '在 GitHub 编辑此页',
225+
},
226+
lastUpdated: {
227+
text: '最后更新',
228+
},
229+
darkModeSwitchLabel: '外观模式',
230+
sidebarMenuLabel: '菜单',
231+
returnToTopLabel: '返回顶部',
232+
langMenuLabel: '切换语言',
217233
logo: withBase('/favicon.svg'),
218234

219235
sidebar: [
@@ -297,7 +313,23 @@ export default defineConfig({
297313
],
298314
outline: {
299315
level: 'deep',
316+
label: 'このページの内容',
300317
},
318+
docFooter: {
319+
prev: '前のページ',
320+
next: '次のページ',
321+
},
322+
editLink: {
323+
pattern: 'https://github.com/moeru-ai/airi/edit/main/docs/content/:path',
324+
text: 'GitHub でこのページを編集',
325+
},
326+
lastUpdated: {
327+
text: '最終更新',
328+
},
329+
darkModeSwitchLabel: '外観モード',
330+
sidebarMenuLabel: 'メニュー',
331+
returnToTopLabel: 'トップに戻る',
332+
langMenuLabel: '言語を変更',
301333
logo: withBase('/favicon.svg'),
302334

303335
sidebar: [
@@ -352,7 +384,7 @@ export default defineConfig({
352384
{
353385
text: 'キャラクター',
354386
icon: 'lucide:scan-face',
355-
link: withBase('/en/characters/'),
387+
link: withBase('/ja/characters/'),
356388
},
357389
] as (DefaultTheme.SidebarItem & { icon?: string })[],
358390
},

0 commit comments

Comments
 (0)