添加歌曲列表更新操作的二次确认
parent
2884e67109
commit
283bdd6246
|
@ -6,6 +6,7 @@
|
||||||
|
|
||||||
- 添加歌曲到“我的列表”时,若按住`ctrl`键(Mac对应`Command`),则不会自动关闭添加窗口,这对想要将同一首(一批)歌曲添加到多个列表时会很有用
|
- 添加歌曲到“我的列表”时,若按住`ctrl`键(Mac对应`Command`),则不会自动关闭添加窗口,这对想要将同一首(一批)歌曲添加到多个列表时会很有用
|
||||||
- 支持mg源逐字歌词的播放,感谢 @mozbugbox 提供的帮助
|
- 支持mg源逐字歌词的播放,感谢 @mozbugbox 提供的帮助
|
||||||
|
- 添加歌曲列表更新操作的二次确认
|
||||||
|
|
||||||
### 修复
|
### 修复
|
||||||
|
|
||||||
|
|
|
@ -127,6 +127,7 @@
|
||||||
"lists__sort_list": "Sort songs",
|
"lists__sort_list": "Sort songs",
|
||||||
"lists__source_detail": "Playlist Page",
|
"lists__source_detail": "Playlist Page",
|
||||||
"lists__sync": "Update",
|
"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_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",
|
"load_list_file_error_title": "Error loading playlist data",
|
||||||
"loding_list": "Loading...",
|
"loding_list": "Loading...",
|
||||||
|
|
|
@ -127,6 +127,7 @@
|
||||||
"lists__sort_list": "排序歌曲",
|
"lists__sort_list": "排序歌曲",
|
||||||
"lists__source_detail": "歌单详情页",
|
"lists__source_detail": "歌单详情页",
|
||||||
"lists__sync": "更新",
|
"lists__sync": "更新",
|
||||||
|
"lists__sync_confirm_tip": "这将会把 {name} 内的歌曲替换成在线列表的歌曲,你确认要更新吗?",
|
||||||
"load_list_file_error_detail": "我们已经帮你把旧的列表文件备份到{path}\n它以 JSON 格式存储,你可以尝试手动修复并恢复它\n\n错误详情:{detail}",
|
"load_list_file_error_detail": "我们已经帮你把旧的列表文件备份到{path}\n它以 JSON 格式存储,你可以尝试手动修复并恢复它\n\n错误详情:{detail}",
|
||||||
"load_list_file_error_title": "播放列表数据加载错误(建议到GitHub或加群反馈)",
|
"load_list_file_error_title": "播放列表数据加载错误(建议到GitHub或加群反馈)",
|
||||||
"loding": "加载中...",
|
"loding": "加载中...",
|
||||||
|
|
|
@ -127,6 +127,7 @@
|
||||||
"lists__sort_list": "排序歌曲",
|
"lists__sort_list": "排序歌曲",
|
||||||
"lists__source_detail": "歌單詳情頁",
|
"lists__source_detail": "歌單詳情頁",
|
||||||
"lists__sync": "更新",
|
"lists__sync": "更新",
|
||||||
|
"lists__sync_confirm_tip": "這將會把 {name} 內的歌曲替換成在線列表的歌曲,你確認要更新嗎?",
|
||||||
"load_list_file_error_detail": "我們已經幫你把舊的列表文件備份到{path}\n它以 JSON 格式存儲,你可以嘗試手動修復並恢復它\n\n錯誤詳情:{detail}",
|
"load_list_file_error_detail": "我們已經幫你把舊的列表文件備份到{path}\n它以 JSON 格式存儲,你可以嘗試手動修復並恢復它\n\n錯誤詳情:{detail}",
|
||||||
"load_list_file_error_title": "播放列表數據加載錯誤",
|
"load_list_file_error_title": "播放列表數據加載錯誤",
|
||||||
"loding": "加載中...",
|
"loding": "加載中...",
|
||||||
|
|
|
@ -352,7 +352,13 @@ export default {
|
||||||
this.handleExportList(index)
|
this.handleExportList(index)
|
||||||
break
|
break
|
||||||
case 'sync':
|
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
|
break
|
||||||
case 'remove':
|
case 'remove':
|
||||||
this.$dialog.confirm({
|
this.$dialog.confirm({
|
||||||
|
|
Loading…
Reference in New Issue