feat: add i18n of modal (#31)

Co-authored-by: wanghaobb <wanghaobb@seeyon.com>
master
BeADre 4 years ago committed by GitHub
parent c92f09328a
commit 3d4d1e9f66
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -79,5 +79,8 @@ export default {
pause: "Pause",
mute: "Mute",
nextUp: "Next Up"
},
modal: {
close: "Close"
}
};

@ -84,5 +84,8 @@ export default {
pause: "暂停",
mute: "静音",
nextUp: "播放列表"
},
modal: {
close: "关闭"
}
};

@ -62,7 +62,9 @@
>
<div class="description-full" @click.stop>
<span>{{ album.description }}</span>
<span class="close" @click="showFullDescription = false">Close</span>
<span class="close" @click="showFullDescription = false">
{{ $t('modal.close') }}
</span>
</div>
</div>
</transition>

@ -79,7 +79,9 @@
>
<div class="description-full" @click.stop>
<span>{{ playlist.description }}</span>
<span class="close" @click="showFullDescription = false">Close</span>
<span class="close" @click="showFullDescription = false">
{{ $t('modal.close') }}
</span>
</div>
</div>
</transition>

Loading…
Cancel
Save