mirror of
https://github.com/th-ch/youtube-music.git
synced 2026-01-11 10:31:47 +00:00
fix(synced-lyrics): fix #3157
This commit is contained in:
@ -174,7 +174,7 @@ export const romanizeJapanese = async (line: string) =>
|
|||||||
(await kuroshiro.get()).convert(line, {
|
(await kuroshiro.get()).convert(line, {
|
||||||
to: 'romaji',
|
to: 'romaji',
|
||||||
mode: 'spaced',
|
mode: 'spaced',
|
||||||
});
|
}) ?? '';
|
||||||
|
|
||||||
export const romanizeHangul = (line: string) =>
|
export const romanizeHangul = (line: string) =>
|
||||||
esHangulRomanize(hanja.translate(line, 'SUBSTITUTION'));
|
esHangulRomanize(hanja.translate(line, 'SUBSTITUTION'));
|
||||||
|
|||||||
Reference in New Issue
Block a user