diff --git a/src/i18n/lang/en-US/songItem.ts b/src/i18n/lang/en-US/songItem.ts index f6e5bb2..c84e39a 100644 --- a/src/i18n/lang/en-US/songItem.ts +++ b/src/i18n/lang/en-US/songItem.ts @@ -6,7 +6,9 @@ export default { addToPlaylist: 'Add to Playlist', favorite: 'Like', unfavorite: 'Unlike', - removeFromPlaylist: 'Remove from Playlist' + removeFromPlaylist: 'Remove from Playlist', + dislike: 'Dislike', + undislike: 'Undislike', }, message: { downloading: 'Downloading, please wait...', @@ -14,5 +16,13 @@ export default { downloadQueued: 'Added to download queue', addedToNextPlay: 'Added to play next', getUrlFailed: 'Failed to get music download URL, please check if logged in' + }, + dialog: { + dislike:{ + title: 'Dislike', + content: 'Are you sure you want to dislike this song?', + positiveText: 'Dislike', + negativeText: 'Cancel' + } } }; diff --git a/src/i18n/lang/zh-CN/songItem.ts b/src/i18n/lang/zh-CN/songItem.ts index b9339f5..9e71328 100644 --- a/src/i18n/lang/zh-CN/songItem.ts +++ b/src/i18n/lang/zh-CN/songItem.ts @@ -6,7 +6,9 @@ export default { addToPlaylist: '添加到歌单', favorite: '喜欢', unfavorite: '取消喜欢', - removeFromPlaylist: '从歌单中删除' + removeFromPlaylist: '从歌单中删除', + dislike: '不喜欢', + undislike: '取消不喜欢', }, message: { downloading: '正在下载中,请稍候...', @@ -14,5 +16,13 @@ export default { downloadQueued: '已加入下载队列', addedToNextPlay: '已添加到下一首播放', getUrlFailed: '获取音乐下载地址失败,请检查是否登录' + }, + dialog: { + dislike: { + title: '提示!', + content: '确认不喜欢这首歌吗?再次进入将从每日推荐中排除。', + positiveText: '不喜欢', + negativeText: '取消' + } } }; diff --git a/src/renderer/components/common/SongItem.vue b/src/renderer/components/common/SongItem.vue index 0b0ec33..e392acd 100644 --- a/src/renderer/components/common/SongItem.vue +++ b/src/renderer/components/common/SongItem.vue @@ -134,7 +134,7 @@