feat(library): i18n & l10n (#1386)

* Update library translations

* Update zh-TW.js
This commit is contained in:
memorydream 2022-03-08 12:22:27 +08:00 committed by GitHub
parent be35a8ded4
commit ef7f51ecf0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
5 changed files with 49 additions and 6 deletions

View File

@ -28,7 +28,14 @@ export default {
albums: 'Albums',
artists: 'Artists',
mvs: 'MVs',
cloudDisk: 'Cloud Disk',
newPlayList: 'New Playlist',
uploadSongs: 'Upload Songs',
playHistory: {
title: 'Play History',
week: 'Latest Week',
all: 'All Time',
},
userProfileMenu: {
settings: 'Settings',
logout: 'Logout',
@ -186,6 +193,7 @@ export default {
allPlaylists: 'All Playlists',
minePlaylists: 'My Playlists',
likedPlaylists: 'Liked Playlists',
cardiacMode: 'Cardiac Mode',
},
toast: {
savedToPlaylist: 'Saved to playlist',

View File

@ -28,7 +28,14 @@ export default {
albums: 'Albümler',
artists: 'Sanatçılar',
mvs: 'MVs',
cloudDisk: 'Cloud Disk',
newPlayList: 'Yeni Çalma Listesi',
uploadSongs: 'Upload Songs',
playHistory: {
title: 'Play History',
week: 'Latest Week',
all: 'All Time',
},
userProfileMenu: {
settings: 'Ayarlar',
logout: ıkış Yap',
@ -171,6 +178,16 @@ export default {
addToQueue: 'Sonrakini Oynat',
saveToMyLikedSongs: 'Beğendiğim Müziklere Kaydet',
removeFromMyLikedMüzikler: 'Beğendiğim Müziklerden Kaldır',
saveToLibrary: 'Save to library',
removeFromLibrary: 'Remove from library',
addToPlaylist: 'Add to playlist',
searchInPlaylist: 'Search in playlist',
copyUrl: 'Copy URL',
openInBrowser: 'Open in Browser',
allPlaylists: 'All Playlists',
minePlaylists: 'My Playlists',
likedPlaylists: 'Liked Playlists',
cardiacMode: 'Cardiac Mode',
},
toast: {
savedToMyLikedSongs: 'Beğendiğim Müziklere Kaydet',

View File

@ -25,7 +25,14 @@ export default {
albums: '专辑',
artists: '艺人',
mvs: 'MV',
cloudDisk: '云盘',
newPlayList: '新建歌单',
uploadSongs: '上传歌曲',
playHistory: {
title: '听歌排行',
week: '最近一周',
all: '所有时间',
},
userProfileMenu: {
settings: '设置',
logout: '登出',
@ -187,6 +194,7 @@ export default {
allPlaylists: '全部歌单',
minePlaylists: '创建的歌单',
likedPlaylists: '收藏的歌单',
cardiacMode: '心动模式',
},
toast: {
savedToPlaylist: '已添加到歌单',

View File

@ -25,7 +25,14 @@ export default {
albums: '專輯',
artists: '藝人',
mvs: 'MV',
cloudDisk: '雲端硬碟',
newPlayList: '新增歌單',
uploadSongs: '上傳音樂',
playHistory: {
title: '聽歌排行',
week: '最近一周',
all: '所有時間',
},
userProfileMenu: {
settings: '設定',
logout: '登出',
@ -184,6 +191,7 @@ export default {
allPlaylists: '全部歌單',
minePlaylists: '我建立的歌單',
likedPlaylists: '收藏的歌單',
cardiacMode: '心動模式',
},
toast: {
savedToPlaylist: '已新增至歌單',

View File

@ -85,14 +85,14 @@
:class="{ active: currentTab === 'cloudDisk' }"
@click="updateCurrentTab('cloudDisk')"
>
云盘
{{ $t('library.cloudDisk') }}
</div>
<div
class="tab"
:class="{ active: currentTab === 'playHistory' }"
@click="updateCurrentTab('playHistory')"
>
听歌排行
{{ $t('library.playHistory.title') }}
</div>
</div>
<button
@ -105,7 +105,7 @@
v-show="currentTab === 'cloudDisk'"
class="tab-button"
@click="selectUploadFiles"
><svg-icon icon-class="arrow-up-alt" /> 上传歌曲
><svg-icon icon-class="arrow-up-alt" />{{ $t('library.uploadSongs') }}
</button>
</div>
@ -154,10 +154,10 @@
<div v-show="currentTab === 'playHistory'">
<button class="playHistory-button" @click="playHistoryMode = 'week'">
最近一周
{{ $t('library.playHistory.week') }}
</button>
<button class="playHistory-button" @click="playHistoryMode = 'all'">
所有時間
{{ $t('library.playHistory.all') }}
</button>
<TrackList
:tracks="playHistoryList"
@ -192,7 +192,9 @@
$t('library.likedSongs')
}}</div>
<hr />
<div class="item" @click="playIntelligenceList"> 心动模式 </div>
<div class="item" @click="playIntelligenceList">{{
$t('contextMenu.cardiacMode')
}}</div>
</ContextMenu>
</div>
</template>