diff --git a/src/i18n/en_OWO.json b/src/i18n/en_OWO.json index 99e63bb3..eb147a67 100644 --- a/src/i18n/en_OWO.json +++ b/src/i18n/en_OWO.json @@ -136,7 +136,7 @@ "term.amLive": "Appwe Music Wive", "term.language": "Wanguage", "term.funLanguages": "Fun", - "term.noLyrics": "Woading... / Wywics nyot found./ Instwumentaw.", + "term.noLyrics": ">w< Sowwy Wowwy.. N-Nyo Wywics Avaiwabwe", "term.copyright": "Copywight", "term.rightsReserved": "Aww Wights Wesewved.", "term.sponsor": "Sponsow this pwoject", diff --git a/src/i18n/en_PISS.json b/src/i18n/en_PISS.json index 3047cac2..692c8ebc 100644 --- a/src/i18n/en_PISS.json +++ b/src/i18n/en_PISS.json @@ -103,7 +103,7 @@ "term.recentStations": "recent pisses", "term.language": "piss around the world", "term.funLanguages": "piss languages", - "term.noLyrics": "piss…", + "term.noLyrics": "out of piss...", "term.copyright": "copypiss", "term.rightsReserved": "all piss reserved.", "term.sponsor": "piss on Cider", diff --git a/src/i18n/en_US.json b/src/i18n/en_US.json index 154d7120..f2ef03fd 100644 --- a/src/i18n/en_US.json +++ b/src/i18n/en_US.json @@ -142,7 +142,7 @@ "term.live": "LIVE", "term.language": "Language", "term.funLanguages": "Fun", - "term.noLyrics": "Loading... / Lyrics not found./ Instrumental.", + "term.noLyrics": "Instrumental Track / No Lyrics.", "term.copyright": "Copyright", "term.rightsReserved": "All Rights Reserved.", "term.sponsor": "Sponsor this project", diff --git a/src/i18n/hi_IN.json b/src/i18n/hi_IN.json index d941bf5d..c09c0b66 100644 --- a/src/i18n/hi_IN.json +++ b/src/i18n/hi_IN.json @@ -101,7 +101,7 @@ "term.recentStations": "Recent Stations", "term.language": "Language", "term.funLanguages": "Fun", - "term.noLyrics": "Loading... / Lyrics not found./ Instrumental.", + "term.noLyrics": "Instrumental Track / No Lyrics.", "term.copyright": "Copyright", "term.rightsReserved": "All Rights Reserved.", "term.sponsor": "Sponsor this project", diff --git a/src/i18n/source/en_US.json b/src/i18n/source/en_US.json index ae09a6d3..256b937d 100644 --- a/src/i18n/source/en_US.json +++ b/src/i18n/source/en_US.json @@ -138,7 +138,7 @@ "term.amLive": "Apple Music Live", "term.language": "Language", "term.funLanguages": "Fun", - "term.noLyrics": "Loading... / Lyrics not found./ Instrumental.", + "term.noLyrics": "Instrumental Track / No Lyrics.", "term.copyright": "Copyright", "term.rightsReserved": "All Rights Reserved.", "term.sponsor": "Sponsor this project", diff --git a/src/i18n/zh_TW.json b/src/i18n/zh_TW.json index 5a25fef5..4ce84e9c 100644 --- a/src/i18n/zh_TW.json +++ b/src/i18n/zh_TW.json @@ -21,6 +21,8 @@ "term.login": "登入", "term.quit" : "結束", "term.about": "關於", + "term.cast" : "投影", + "term.cast2" : "投影到裝置", "term.privateSession": "私人時間", "term.queue": "待播清單", "term.lyrics": "歌詞", @@ -222,13 +224,14 @@ "action.deletepreset": "刪除預設", "action.open": "開啟", "action.cast.chromecast": "Chromecast", - "action.cast.todevices": "投射到裝置", - "action.cast.stop": "停止投射到所有裝置", + "action.cast.todevices": "投影到裝置", + "action.cast.stop": "停止投影到所有裝置", "action.cast.airplay": "AirPlay", "action.cast.airplay.underdevelopment": "AirPlay 仍處於開發階段中,敬請期待。", "action.cast.scan": "尋找", "action.cast.scanning": "尋找中...", "action.createNew": "新增...", + "action.refresh": "重新整理", "settings.header.general": "一般", "settings.header.general.description": "調整 Cider 的一般設定", "settings.option.general.resumebehavior": "還原行為", @@ -341,6 +344,7 @@ "settings.option.visual.theme.github.openfolder": "開啟主題存放位置", "settings.option.visual.theme.github.explore": "探索 GitHub 上的主題", "settings.prompt.visual.theme.github.URL": "輸入你要安裝的主題網址", + "settings.option.visual.theme.checkForUpdates": "檢查更新", "settings.option.visual.theme.manageStyles": "管理主題", "settings.option.visual.theme.uninstall": "移除", "settings.option.visual.theme.viewInfo": "查看資訊", @@ -375,7 +379,7 @@ "settings.option.lyrics.musixmatchPreferredLanguage": "Musixmatch 歌詞優先語言偏好選項", "settings.option.lyrics.enableYoutubeLyrics": "播放 MV 時,使用 YouTube 歌詞", "settings.option.lyrics.enableQQLyrics": "開啟 QQ 音樂的歌詞", - "settings.header.connectivity": "外部連接", + "settings.header.connectivity": "連接", "settings.header.connectivity.description": "調整 Cider 與外部的連接", "settings.option.connectivity.playbackNotifications": "歌曲播放通知", "settings.option.connectivity.discordRPC": "Discord 動態", diff --git a/src/renderer/main/vueapp.js b/src/renderer/main/vueapp.js index 9c15f480..c1b4026c 100644 --- a/src/renderer/main/vueapp.js +++ b/src/renderer/main/vueapp.js @@ -989,7 +989,11 @@ const app = new Vue({ } if (previewURL == null && ((app.mk.nowPlayingItem?._songId ?? (app.mk.nowPlayingItem["songId"] ?? app.mk.nowPlayingItem.relationships.catalog.data[0].id)) != -1)) { app.mk.api.v3.music(`/v1/catalog/${app.mk.storefrontId}/songs/${app.mk.nowPlayingItem?._songId ?? (app.mk.nowPlayingItem["songId"] ?? app.mk.nowPlayingItem.relationships.catalog.data[0].id)}`).then((response) => { - previewURL = response.data.data[0].attributes.previews[0].url ?? false; + try {previewURL = response.data.data[0].attributes.previews[0].url;} catch(e) { + if (e instanceof TypeError === false) { console.debug("[Cider][MaikiwiSoundCheck] normalizer function err: " + e) } + else { + if (localFiles === true) {CiderAudio.audioNodes.gainNode.gain.value = 0.8222426499470}} + } if (previewURL) { console.debug("[Cider][MaikiwiSoundCheck] previewURL response.data.data[0].attributes.previews[0].url: " + previewURL) ipcRenderer.send('getPreviewURL', previewURL)