Fix some i18n keys (#2148)
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user