From fa170096957b5818ac38456eea5e9511ff3e50ed Mon Sep 17 00:00:00 2001 From: keven Date: Sat, 18 Oct 2025 10:43:57 +0800 Subject: [PATCH] feat(front): enhance FileShareResult and FileUploadField components with internationalization support, adding localized text for file sharing success and related UI elements --- front/components/Field/FileUploadField.vue | 2 +- front/components/Result/FileShareResult.vue | 32 +++++++++------------ front/i18n/locales/en.json | 10 +++++++ front/i18n/locales/zh-CN.json | 10 +++++++ 4 files changed, 35 insertions(+), 19 deletions(-) diff --git a/front/components/Field/FileUploadField.vue b/front/components/Field/FileUploadField.vue index 429c528..0c2ec5e 100644 --- a/front/components/Field/FileUploadField.vue +++ b/front/components/Field/FileUploadField.vue @@ -39,7 +39,7 @@ const { t } = useI18n() diff --git a/front/i18n/locales/en.json b/front/i18n/locales/en.json index 956b139..28ce728 100644 --- a/front/i18n/locales/en.json +++ b/front/i18n/locales/en.json @@ -84,6 +84,16 @@ "3days": "3 days" } }, + "fileshareresult": { + "title": "Upload Successful", + "fileList": "File List", + "info": "Info", + "downloadNums": "Download Count", + "expireTime": "Expire Time", + "pickupCode": "Pickup Code", + "link": "Link", + "copySuccess": "Copy Success" + }, "about": { "file": "File", "task": "Task", diff --git a/front/i18n/locales/zh-CN.json b/front/i18n/locales/zh-CN.json index 5f6bc52..14aa5f7 100644 --- a/front/i18n/locales/zh-CN.json +++ b/front/i18n/locales/zh-CN.json @@ -84,6 +84,16 @@ "3days": "3天" } }, + "fileshareresult": { + "title": "上传成功", + "fileList": "文件列表", + "info": "信息", + "downloadNums": "下载次数", + "expireTime": "过期时间", + "pickupCode": "提取码", + "link": "链接", + "copySuccess": "复制成功" + }, "about": { "file": "文件", "task": "任务",