feat: 文档列表的i18n适配
This commit is contained in:
@ -10,10 +10,10 @@
|
||||
<h3>{{ doc.title }}</h3>
|
||||
<div class="document-content">
|
||||
<span v-if="doc.size" class="document-meta"
|
||||
>大小: {{ formatFileSize(doc.size) }}
|
||||
>{{ $t('document-meta.size') }}: {{ formatFileSize(doc.size) }}
|
||||
</span>
|
||||
<span v-if="doc.filename" class="document-meta"
|
||||
>格式:
|
||||
>{{ $t('document-meta.format') }}:
|
||||
{{ formatFileExtension(getFileExtension(doc.filename)) }}</span
|
||||
>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user