Skip to content

Commit d9a6689

Browse files
EstrellaXDclaude
andcommitted
docs: add Japanese documentation
Add complete Japanese translation for all documentation pages including: - Home and about pages - Deployment guides (Docker CLI, Docker Compose, DSM, Local) - Configuration pages (RSS, Downloader, Parser, Notifier, Manager, Proxy, Experimental) - Feature documentation (RSS Management, Bangumi, Calendar, Rename, Search) - FAQ and troubleshooting - API reference - Changelogs (2.6, 3.0, 3.1, 3.2) - Developer guide Also updates VitePress config to add Japanese locale with full sidebar navigation. Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
1 parent 7596d04 commit d9a6689

32 files changed

Lines changed: 3325 additions & 0 deletions

docs/.vitepress/config.ts

Lines changed: 108 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -105,6 +105,78 @@ const zhSidebar = [
105105
},
106106
]
107107

108+
// Japanese sidebar
109+
const jaSidebar = [
110+
{
111+
items: [
112+
{ text: '概要', link: '/ja/home/' },
113+
{ text: 'クイックスタート', link: '/ja/deploy/quick-start' },
114+
{ text: '仕組み', link: '/ja/home/pipline' },
115+
],
116+
},
117+
{
118+
text: 'デプロイ',
119+
items: [
120+
{ text: 'Docker CLI', link: '/ja/deploy/docker-cli' },
121+
{ text: 'Docker Compose', link: '/ja/deploy/docker-compose' },
122+
{ text: 'Synology NAS (DSM)', link: '/ja/deploy/dsm' },
123+
{ text: 'ローカルデプロイ', link: '/ja/deploy/local' },
124+
],
125+
},
126+
{
127+
text: '設定',
128+
items: [
129+
{ text: 'RSS購読設定', link: '/ja/config/rss' },
130+
{ text: 'プログラム設定', link: '/ja/config/program' },
131+
{ text: 'ダウンローダー設定', link: '/ja/config/downloader' },
132+
{ text: 'パーサー設定', link: '/ja/config/parser' },
133+
{ text: '通知設定', link: '/ja/config/notifier' },
134+
{ text: 'アニメ管理設定', link: '/ja/config/manager' },
135+
{ text: 'プロキシ設定', link: '/ja/config/proxy' },
136+
{ text: '実験的機能', link: '/ja/config/experimental' },
137+
],
138+
},
139+
{
140+
text: '機能',
141+
items: [
142+
{ text: 'RSS管理', link: '/ja/feature/rss' },
143+
{ text: 'アニメ管理', link: '/ja/feature/bangumi' },
144+
{ text: 'カレンダー表示', link: '/ja/feature/calendar' },
145+
{ text: 'ファイルリネーム', link: '/ja/feature/rename' },
146+
{ text: 'トレント検索', link: '/ja/feature/search' },
147+
],
148+
},
149+
{
150+
text: 'FAQ',
151+
items: [
152+
{ text: 'よくある質問', link: '/ja/faq/' },
153+
{ text: 'トラブルシューティング', link: '/ja/faq/troubleshooting' },
154+
{ text: 'ネットワーク問題', link: '/ja/faq/network' },
155+
],
156+
},
157+
{
158+
text: 'APIリファレンス',
159+
items: [
160+
{ text: 'REST API', link: '/ja/api/' },
161+
],
162+
},
163+
{
164+
text: '更新履歴',
165+
items: [
166+
{ text: '3.2 リリースノート', link: '/ja/changelog/3.2' },
167+
{ text: '3.1 リリースノート', link: '/ja/changelog/3.1' },
168+
{ text: '3.0 リリースノート', link: '/ja/changelog/3.0' },
169+
{ text: '2.6 リリースノート', link: '/ja/changelog/2.6' },
170+
],
171+
},
172+
{
173+
text: '開発者ガイド',
174+
items: [
175+
{ text: 'コントリビュート', link: '/ja/dev/' },
176+
],
177+
},
178+
]
179+
108180
// English sidebar
109181
const enSidebar = [
110182
{
@@ -240,5 +312,41 @@ export default defineConfig({
240312
},
241313
},
242314
},
315+
ja: {
316+
label: '日本語',
317+
lang: 'ja-JP',
318+
link: '/ja/',
319+
themeConfig: {
320+
nav: [
321+
{ text: '概要', link: '/ja/home/' },
322+
{ text: 'クイックスタート', link: '/ja/deploy/quick-start' },
323+
{ text: 'FAQ', link: '/ja/faq/' },
324+
{ text: 'API', link: '/ja/api/' },
325+
],
326+
sidebar: jaSidebar,
327+
editLink: {
328+
pattern: 'https://github.com/EstrellaXD/Auto_Bangumi/edit/main/docs/:path',
329+
text: 'GitHubでこのページを編集',
330+
},
331+
footer: {
332+
message: `AutoBangumiはMITライセンスの下で公開されています。(最新版: ${version})`,
333+
copyright: 'Copyright © 2021-present @EstrellaXD & AutoBangumi Contributors',
334+
},
335+
docFooter: {
336+
prev: '前のページ',
337+
next: '次のページ',
338+
},
339+
outline: {
340+
label: '目次',
341+
},
342+
lastUpdated: {
343+
text: '最終更新',
344+
},
345+
returnToTopLabel: 'トップに戻る',
346+
sidebarMenuLabel: 'メニュー',
347+
darkModeSwitchLabel: 'テーマ',
348+
langMenuLabel: '言語を切り替え',
349+
},
350+
},
243351
},
244352
})

0 commit comments

Comments
 (0)