fix: update locale

master
qier222 5 years ago
parent 60989a2572
commit 463aaf7698

@ -1,5 +1,8 @@
export default { export default {
play: "PLAY", common: {
play: "PLAY",
songs: "Songs",
},
nav: { nav: {
home: "Home", home: "Home",
explore: "Explore", explore: "Explore",
@ -97,9 +100,6 @@ export default {
noResult: "No Results", noResult: "No Results",
searchFor: "Search for", searchFor: "Search for",
}, },
common: {
songs: "Songs",
},
settings: { settings: {
settings: "Settings", settings: "Settings",
logout: "LOGOUT", logout: "LOGOUT",
@ -118,4 +118,14 @@ export default {
dark: "Dark", dark: "Dark",
}, },
}, },
contextMenu: {
play: "Play",
playNext: "Play Next",
saveToMyLikedSongs: "Save to my Liked Songs",
removeFromMyLikedSongs: "Remove from my Liked Songs",
},
toast: {
savedToMyLikedSongs: "Saved to my Liked Songs",
removedFromMyLikedSongs: "Removed from my Liked Songs",
},
}; };

@ -1,5 +1,8 @@
export default { export default {
play: "播放", common: {
play: "播放",
songs: "首歌",
},
nav: { nav: {
home: "首页", home: "首页",
explore: "发现", explore: "发现",
@ -15,8 +18,8 @@ export default {
}, },
library: { library: {
sLibrary: "的音乐库", sLibrary: "的音乐库",
likedSongs: "我喜欢的", likedSongs: "我喜欢的音乐",
sLikedSongs: "喜欢的", sLikedSongs: "喜欢的音乐",
}, },
explore: { explore: {
explore: "发现", explore: "发现",
@ -99,9 +102,6 @@ export default {
noResult: "暂无结果", noResult: "暂无结果",
searchFor: "搜索", searchFor: "搜索",
}, },
common: {
songs: "首歌",
},
settings: { settings: {
settings: "设置", settings: "设置",
logout: "登出", logout: "登出",
@ -120,4 +120,14 @@ export default {
dark: "深色", dark: "深色",
}, },
}, },
contextMenu: {
play: "播放",
playNext: "下一首播放",
saveToMyLikedSongs: "添加到我喜欢的音乐",
removeFromMyLikedSongs: "从喜欢的音乐中移除",
},
toast: {
savedToMyLikedSongs: "已添加到我喜欢的音乐",
removedFromMyLikedSongs: "已从喜欢的音乐中移除",
},
}; };

@ -41,7 +41,7 @@
@click.native="playAlbumByID(album.id)" @click.native="playAlbumByID(album.id)"
:iconClass="`play`" :iconClass="`play`"
> >
{{ $t("play") }} {{ $t("common.play") }}
</ButtonTwoTone> </ButtonTwoTone>
<ButtonTwoTone <ButtonTwoTone
v-if="accountLogin" v-if="accountLogin"

@ -22,7 +22,7 @@
</div> </div>
<div class="buttons"> <div class="buttons">
<ButtonTwoTone @click.native="playPopularSongs()" :iconClass="`play`"> <ButtonTwoTone @click.native="playPopularSongs()" :iconClass="`play`">
{{ $t("play") }} {{ $t("common.play") }}
</ButtonTwoTone> </ButtonTwoTone>
<ButtonTwoTone @click.native="followArtist" color="grey"> <ButtonTwoTone @click.native="followArtist" color="grey">
<span v-if="artist.followed">{{ $t("artist.following") }}</span> <span v-if="artist.followed">{{ $t("artist.following") }}</span>

@ -49,7 +49,7 @@
</div> </div>
<div class="buttons"> <div class="buttons">
<ButtonTwoTone @click.native="playPlaylistByID()" :iconClass="`play`"> <ButtonTwoTone @click.native="playPlaylistByID()" :iconClass="`play`">
{{ $t("play") }} {{ $t("common.play") }}
</ButtonTwoTone> </ButtonTwoTone>
<ButtonTwoTone <ButtonTwoTone
v-if="accountLogin && playlist.creator.userId !== data.user.userId" v-if="accountLogin && playlist.creator.userId !== data.user.userId"
@ -84,7 +84,7 @@
iconClass="play" iconClass="play"
color="grey" color="grey"
> >
{{ $t("play") }} {{ $t("common.play") }}
</ButtonTwoTone> </ButtonTwoTone>
<ButtonTwoTone <ButtonTwoTone
v-if="accountLogin && playlist.creator.userId !== data.user.userId" v-if="accountLogin && playlist.creator.userId !== data.user.userId"

Loading…
Cancel
Save