Fix some i18n keys (#2148)

This commit is contained in:
3gf8jv4dv
2024-12-07 15:47:00 +08:00
committed by GitHub
parent 7f864a9e35
commit aa7ab86b62
8 changed files with 43 additions and 43 deletions
+2 -2
View File
@@ -68,7 +68,7 @@ const delayRetry = async(musicInfo: LX.Music.MusicInfo | LX.Download.ListItem, i
// if (cancelDelayRetry) cancelDelayRetry()
return new Promise<string | null>((resolve, reject) => {
const time = getRandom(2, 6)
setAllStatus(window.i18n.t('player__geting_url_delay_retry', { time }))
setAllStatus(window.i18n.t('player__getting_url_delay_retry', { time }))
const tiemout = setTimeout(() => {
getMusicPlayUrl(musicInfo, isRefresh, true).then((result) => {
cancelDelayRetry = null
@@ -87,7 +87,7 @@ const delayRetry = async(musicInfo: LX.Music.MusicInfo | LX.Download.ListItem, i
}
const getMusicPlayUrl = async(musicInfo: LX.Music.MusicInfo | LX.Download.ListItem, isRefresh = false, isRetryed = false): Promise<string | null> => {
// this.musicInfo.url = await getMusicPlayUrl(targetSong, type)
setAllStatus(window.i18n.t('player__geting_url'))
setAllStatus(window.i18n.t('player__getting_url'))
if (appSetting['player.autoSkipOnError']) addLoadTimeout()
// const type = getPlayType(appSetting['player.highQuality'], musicInfo)
@@ -30,7 +30,7 @@ export default () => {
if (!device && !devices.length && !isShowingTipAlert) {
isShowingTipAlert = true
void dialog({
message: window.i18n.t('media_device__emtpy_device_tip'),
message: window.i18n.t('media_device__empty_device_tip'),
confirmButtonText: window.i18n.t('ok'),
}).finally(() => {
isShowingTipAlert = false