mirror of
https://github.com/GiriNeko/YesPlayMusic.git
synced 2025-12-16 13:17:46 +00:00
feat(library): i18n & l10n (#1386)
* Update library translations * Update zh-TW.js
This commit is contained in:
parent
be35a8ded4
commit
ef7f51ecf0
5 changed files with 49 additions and 6 deletions
|
|
@ -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>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue