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

master
Changjian Gao 4 years ago committed by GitHub
parent 9dcf9f5db1
commit c091e4cb9f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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

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

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

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

Loading…
Cancel
Save