添加歌曲列表更新操作的二次确认

pull/930/merge
lyswhut 2022-06-13 12:57:25 +08:00
parent 2884e67109
commit 283bdd6246
5 changed files with 11 additions and 1 deletions

View File

@ -6,6 +6,7 @@
- 添加歌曲到“我的列表”时,若按住`ctrl`键Mac对应`Command`),则不会自动关闭添加窗口,这对想要将同一首(一批)歌曲添加到多个列表时会很有用
- 支持mg源逐字歌词的播放感谢 @mozbugbox 提供的帮助
- 添加歌曲列表更新操作的二次确认
### 修复

View File

@ -127,6 +127,7 @@
"lists__sort_list": "Sort songs",
"lists__source_detail": "Playlist Page",
"lists__sync": "Update",
"lists__sync_confirm_tip": "This will replace the songs in {name} with the songs in the online list, are you sure you want to update?",
"load_list_file_error_detail": "We have helped you back up the old list file to {path}\nIt is stored in JSON format, you can try to repair and restore it manually\n\nError details: {detail}",
"load_list_file_error_title": "Error loading playlist data",
"loding_list": "Loading...",

View File

@ -127,6 +127,7 @@
"lists__sort_list": "排序歌曲",
"lists__source_detail": "歌单详情页",
"lists__sync": "更新",
"lists__sync_confirm_tip": "这将会把 {name} 内的歌曲替换成在线列表的歌曲,你确认要更新吗?",
"load_list_file_error_detail": "我们已经帮你把旧的列表文件备份到{path}\n它以 JSON 格式存储,你可以尝试手动修复并恢复它\n\n错误详情{detail}",
"load_list_file_error_title": "播放列表数据加载错误建议到GitHub或加群反馈",
"loding": "加载中...",

View File

@ -127,6 +127,7 @@
"lists__sort_list": "排序歌曲",
"lists__source_detail": "歌單詳情頁",
"lists__sync": "更新",
"lists__sync_confirm_tip": "這將會把 {name} 內的歌曲替換成在線列表的歌曲,你確認要更新嗎?",
"load_list_file_error_detail": "我們已經幫你把舊的列表文件備份到{path}\n它以 JSON 格式存儲,你可以嘗試手動修復並恢復它\n\n錯誤詳情{detail}",
"load_list_file_error_title": "播放列表數據加載錯誤",
"loding": "加載中...",

View File

@ -352,7 +352,13 @@ export default {
this.handleExportList(index)
break
case 'sync':
this.handleSyncSourceList(userLists[index])
this.$dialog.confirm({
message: this.$t('lists__sync_confirm_tip', { name: userLists[index].name }),
confirmButtonText: this.$t('lists__remove_tip_button'),
}).then(isSync => {
if (!isSync) return
this.handleSyncSourceList(userLists[index])
})
break
case 'remove':
this.$dialog.confirm({