fix: add more i18n for artist and album pages (#790)

This commit is contained in:
Changjian Gao 2021-06-17 12:29:09 +08:00 committed by GitHub
parent 9dcf9f5db1
commit c091e4cb9f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 12 additions and 4 deletions

View File

@ -40,6 +40,7 @@ export default {
},
artist: {
latestRelease: 'Latest Releases',
latestMV: 'Latest MV',
popularSongs: 'Popular Songs',
showMore: 'SHOW MORE',
showLess: 'SHOW LESS',
@ -50,9 +51,12 @@ export default {
videos: 'Music Videos',
following: 'Following',
follow: 'Follow',
similarArtists: 'Similar Artists',
artistDesc: 'Artist Description',
},
album: {
released: 'Released',
albumDesc: 'Album Description',
},
playlist: {
playlist: 'Playlists',

View File

@ -37,6 +37,7 @@ export default {
},
artist: {
latestRelease: '最新发布',
latestMV: '最新 MV',
popularSongs: '热门歌曲',
showMore: '显示更多',
showLess: '收起',
@ -47,9 +48,12 @@ export default {
videos: '个 MV',
following: '正在关注',
follow: '关注',
similarArtists: '相似艺人',
artistDesc: '艺术家介绍',
},
album: {
released: '发行于',
albumDesc: '专辑介绍',
},
playlist: {
playlist: '歌单',

View File

@ -107,7 +107,7 @@
:close="toggleFullDescription"
:show-footer="false"
:click-outside-hide="true"
title="专辑介绍"
:title="$t('album.albumDesc')"
>
<p class="description-fulltext">
{{ album.description }}

View File

@ -95,7 +95,7 @@
<div class="date">
{{ latestMV.publishTime | formatDate }}
</div>
<div class="type"> 最新MV </div>
<div class="type">{{ $t('artist.latestMV') }}</div>
</div>
</div>
<div v-show="!latestMV.id"></div>
@ -144,7 +144,7 @@
</div>
<div v-if="similarArtists.length !== 0" class="similar-artists">
<div class="section-title">相似艺人</div>
<div class="section-title">{{ $t('artist.similarArtists') }}</div>
<CoverRow
type="artist"
:column-number="6"
@ -158,7 +158,7 @@
:close="toggleFullDescription"
:show-footer="false"
:click-outside-hide="true"
title="艺术家介绍"
:title="$t('artist.artistDesc')"
>
<p class="description-fulltext">
{{ artist.briefDesc }}