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>
<div class="like-button"> <div class="like-button">
<button-icon <button-icon
:title="$t('player.like')" :title="
player.isCurrentTrackLiked
? $t('player.unlike')
: $t('player.like')
"
@click.native="likeATrack(player.currentTrack.id)" @click.native="likeATrack(player.currentTrack.id)"
> >
<svg-icon <svg-icon

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

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

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

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

Loading…
Cancel
Save