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

@ -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>