diff --git a/app/components/shared/DocumentList.vue b/app/components/shared/DocumentList.vue index 9a14e66..de8669d 100644 --- a/app/components/shared/DocumentList.vue +++ b/app/components/shared/DocumentList.vue @@ -10,10 +10,10 @@

{{ doc.title }}

大小: {{ formatFileSize(doc.size) }} + >{{ $t('document-meta.size') }}: {{ formatFileSize(doc.size) }} 格式: + >{{ $t('document-meta.format') }}: {{ formatFileExtension(getFileExtension(doc.filename)) }}
diff --git a/i18n/locales/en.json b/i18n/locales/en.json index 7f5a042..0f1d15d 100644 --- a/i18n/locales/en.json +++ b/i18n/locales/en.json @@ -78,5 +78,9 @@ "select-product-type": "Select product type", "select-product-model": "Select product model", "enter-keyword": "Enter keyword" + }, + "document-meta": { + "size": "Size", + "format": "Format" } } diff --git a/i18n/locales/zh.json b/i18n/locales/zh.json index b454b52..e4df7b0 100644 --- a/i18n/locales/zh.json +++ b/i18n/locales/zh.json @@ -77,5 +77,9 @@ "select-product-type": "选择产品类型", "select-product-model": "选择产品系列", "enter-keyword": "输入关键词" + }, + "document-meta": { + "size": "大小", + "format": "格式" } }