diff --git a/README.md b/README.md index f2714af..f8aeb84 100644 --- a/README.md +++ b/README.md @@ -26,7 +26,7 @@ Practice Japanese Karaoke lyrics reading and typing at the same time with KaraDa ## Technical Tasks -* [ ] i18n +* [x] i18n * [ ] 404 page * [ ] Update an existing playlist * [ ] Allow users to correct lyric pronunciations through correction feedback diff --git a/src/lib/i18n/en.ts b/src/lib/i18n/en.ts index 048ca18..d8176dd 100644 --- a/src/lib/i18n/en.ts +++ b/src/lib/i18n/en.ts @@ -86,7 +86,8 @@ export default { song: { mode: { typing: 'Typing Mode', - music: 'Music Mode' + music: 'Music Mode', + karaoke: 'Singing Mode' }, karaoke: { noVocals: 'No vocal separation track detected, cannot adjust vocal volume. Please process in song details page first.' diff --git a/src/lib/i18n/ja.ts b/src/lib/i18n/ja.ts index f14d9c9..0cdff11 100644 --- a/src/lib/i18n/ja.ts +++ b/src/lib/i18n/ja.ts @@ -86,7 +86,8 @@ export default { song: { mode: { typing: 'タイピングモード', - music: '音楽モード' + music: '音楽モード', + karaoke: '歌うモード' }, karaoke: { noVocals: 'ボーカル分離トラックが検出されないため、ボーカル音量を調整できません。まず曲の詳細ページで処理してください。' diff --git a/src/lib/i18n/zh.ts b/src/lib/i18n/zh.ts index d648260..305c876 100644 --- a/src/lib/i18n/zh.ts +++ b/src/lib/i18n/zh.ts @@ -86,7 +86,8 @@ export default { song: { mode: { typing: '打字模式', - music: '音乐模式' + music: '音乐模式', + karaoke: '唱歌模式' }, karaoke: { noVocals: '未检测到人声分离音轨,无法调节人声音量。请先在歌曲详情页进行处理。' diff --git a/src/routes/song/[id]/+page.svelte b/src/routes/song/[id]/+page.svelte index f870126..e3026bb 100644 --- a/src/routes/song/[id]/+page.svelte +++ b/src/routes/song/[id]/+page.svelte @@ -54,8 +54,9 @@ {#if loadStatus === "done"} -
- - +
+ + +
{/if} diff --git a/src/routes/song/[id]/karaoke/+page.svelte b/src/routes/song/[id]/karaoke/+page.svelte index bb7e02d..dbfad3e 100644 --- a/src/routes/song/[id]/karaoke/+page.svelte +++ b/src/routes/song/[id]/karaoke/+page.svelte @@ -1,6 +1,5 @@