From 085fd8bad3da2bf1ccccc9c97a16be0f23105b91 Mon Sep 17 00:00:00 2001 From: R2m1liA <15258427350@163.com> Date: Tue, 4 Nov 2025 14:09:06 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20=E6=96=87=E6=A1=A3=E5=88=97=E8=A1=A8?= =?UTF-8?q?=E7=9A=84i18n=E9=80=82=E9=85=8D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/components/shared/DocumentList.vue | 4 ++-- i18n/locales/en.json | 4 ++++ i18n/locales/zh.json | 4 ++++ 3 files changed, 10 insertions(+), 2 deletions(-) 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": "格式" } }