feat: Add status text to like button when hover event triggers (#1789)

Signed-off-by: Kay Wei <weikaiii@sina.cn>
master
Kay W 2 years ago committed by GitHub
parent b589f82b6c
commit 9fcb6da960
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -50,7 +50,11 @@
</div>
<div class="like-button">
<button-icon
:title="$t('player.like')"
:title="
player.isCurrentTrackLiked
? $t('player.unlike')
: $t('player.like')
"
@click.native="likeATrack(player.currentTrack.id)"
>
<svg-icon

@ -102,6 +102,7 @@ export default {
},
player: {
like: 'Like',
unlike: 'Unlike',
previous: 'Previous Song',
next: 'Next Song',
repeat: 'Repeat',

@ -98,6 +98,7 @@ export default {
},
player: {
like: 'Beğen',
unlike: 'Aksine',
previous: 'Önceki Müzik',
next: 'Sonraki Müzik',
repeat: 'Tekrarla',

@ -103,6 +103,7 @@ export default {
},
player: {
like: '喜欢',
unlike: '取消喜欢',
previous: '上一首',
next: '下一首',
repeat: '循环播放',

@ -99,6 +99,7 @@ export default {
},
player: {
like: '喜歡',
unlike: '取消喜歡',
previous: '上一首',
next: '下一首',
repeat: '循環播放',

Loading…
Cancel
Save