fix: add some translations (#36)

* feat: add i18n

* refactor: move songs to common
This commit is contained in:
BeADre 2020-10-22 14:39:02 +08:00 committed by GitHub
parent e4693b1bdf
commit f99dbac95f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
8 changed files with 32 additions and 13 deletions

View file

@ -27,7 +27,7 @@
<span :title="album.publishTime | formatDate">{{
new Date(album.publishTime).getFullYear()
}}</span>
<span> · {{ album.size }} songs</span>,
<span> · {{ album.size }} {{ $t("common.songs") }}</span>,
{{ albumTime | formatTime("Human") }}
</div>
<div class="description" @click="showFullDescription = true">