fix(synced-lyrics): fix i18n

This commit is contained in:
JellyBrick
2024-08-01 19:56:32 +09:00
parent 482a1c5073
commit 8750b54f76
7 changed files with 71 additions and 33 deletions

View File

@ -5,7 +5,6 @@ import { SyncedLine } from './SyncedLine';
import { t } from '@/i18n';
import { getSongInfo } from '@/providers/song-info-front';
import { LineLyrics } from '../../types';
import {
differentDuration,
hadSecondAttempt,
@ -14,6 +13,8 @@ import {
makeLyricsRequest,
} from '../lyrics/fetch';
import type { LineLyrics } from '../../types';
export const [debugInfo, setDebugInfo] = createSignal<string>();
export const [lineLyrics, setLineLyrics] = createSignal<LineLyrics[]>([]);
export const [currentTime, setCurrentTime] = createSignal<number>(-1);