新增将播放与下载的歌词转换为繁体中文选项

This commit is contained in:
lyswhut
2021-12-06 16:07:12 +08:00
parent ec3a0e08c3
commit b350f133b0
8 changed files with 36 additions and 11 deletions
@@ -130,7 +130,7 @@ export default ({ setting }) => {
getLrc(targetSong).then(({ lyric, tlyric, lxlyric }) => {
if (targetSong.songmid !== musicInfo.songmid) return
return (
global.i18n.locale == 'zh-tw'
setting.value.player.isS2t
? Promise.all([
lyric ? langS2T(lyric) : Promise.resolve(''),
tlyric ? langS2T(tlyric) : Promise.resolve(''),