From b7bb0cfff8f51fc9068389d28f22d913d441328e Mon Sep 17 00:00:00 2001 From: R2m1liA <15258427350@163.com> Date: Tue, 4 Nov 2025 14:13:46 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20=E6=96=87=E6=A1=A3=E4=B8=8B=E8=BD=BD?= =?UTF-8?q?=E9=A1=B5=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/pages/download/FileCard.vue | 18 +++++++++++------- app/pages/download/[id].vue | 2 +- i18n/locales/en.json | 8 +++++++- i18n/locales/zh.json | 8 +++++++- 4 files changed, 26 insertions(+), 10 deletions(-) diff --git a/app/components/pages/download/FileCard.vue b/app/components/pages/download/FileCard.vue index 6ed83e5..3c098ea 100644 --- a/app/components/pages/download/FileCard.vue +++ b/app/components/pages/download/FileCard.vue @@ -8,15 +8,17 @@
-
类型:
+
{{ $t('document-meta.type') }}:
{{ file.type }}
-
大小:
+
{{ $t('document-meta.size') }}:
{{ formatFileSize(file.filesize) }}
-
上传时间:
+
+ {{ $t('document-meta.upload-at') }}: +
{{ new Date(file.uploaded_on).toLocaleDateString() }}
@@ -24,10 +26,12 @@
diff --git a/app/pages/download/[id].vue b/app/pages/download/[id].vue index dfff6a3..f0f54df 100644 --- a/app/pages/download/[id].vue +++ b/app/pages/download/[id].vue @@ -1,7 +1,7 @@