-
{{ t('textshareresult.info') }}
+
{{ t('page.result.text.info') }}
-
{{ t('textshareresult.viewNums') }}
+
{{ t('page.result.text.viewNums') }}
{{ data?.download_nums }}
-
{{ t('textshareresult.expireTime') }}
+
{{ t('page.result.text.expireTime') }}
{{ dayjs((data?.expire_at ?? 0) * 1000).format('YYYY-MM-DD HH:mm:ss') }}
-
{{ t('textshareresult.pickupCode') }}
+
{{ t('page.result.text.pickupCode') }}
-
{{ t('textshareresult.link') }}
+
{{ t('page.result.text.link') }}
-
{{ t('textshareresult.content') }}
+
{{ t('page.result.text.content') }}
diff --git a/front/i18n/locales/en.json b/front/i18n/locales/en.json
index be9566e..70e4736 100644
--- a/front/i18n/locales/en.json
+++ b/front/i18n/locales/en.json
@@ -13,106 +13,114 @@
"submit": "Submit",
"backToHome": "Back to Home"
},
- "file": {
- "uploadFile": "Upload File",
- "uploadFilePlaceholder": "Drag and drop files or click to upload",
- "addMore": "Add More",
- "handleType": {
- "file-share": "File Share",
- "file-image-compress": "Image Compress"
- }
- },
- "text": {
- "uploadText": "Upload Text",
- "uploadTextPlaceholder": "Share, translate, summarize, generate images, and ask large models with our text processor",
- "handleType": {
- "text-share": "Text Share"
- }
- },
- "pickup": {
- "title": "Enter Pickup Code",
- "codeError": "Invalid pickup code",
- "btn": "Pickup"
- },
- "fileshare": {
- "title": "Share Options",
- "downloadNums": "Download Count",
- "expireTime": "Expire Time",
- "or": "or",
- "expireAfter": "expire",
- "pickupCode": "Pickup Code",
- "passwordProtection": "Password Protection",
- "downloadNotify": "Download Notification",
- "passwordPlaceholder": "Enter password",
- "emailPlaceholder": "Enter email",
- "downloadOptions": {
- "xdownload": "{0} downloads"
+ "page": {
+ "upload": {
+ "file": {
+ "uploadFile": "Upload File",
+ "uploadFilePlaceholder": "Drag and drop files or click to upload",
+ "addMore": "Add More",
+ "handleType": {
+ "file-share": "File Share",
+ "file-image-compress": "Image Compress"
+ }
+ },
+ "text": {
+ "uploadText": "Upload Text",
+ "uploadTextPlaceholder": "Share, translate, summarize, generate images, and ask large models with our text processor",
+ "handleType": {
+ "text-share": "Text Share"
+ }
+ },
+ "pickup": {
+ "title": "Enter Pickup Code",
+ "codeError": "Invalid pickup code",
+ "btn": "Pickup"
+ }
},
- "expireOptions": {
- "5min": "5 minutes",
- "1hour": "1 hour",
- "1day": "1 day",
- "3days": "3 days"
- }
- },
- "textshare": {
- "title": "Share Options",
- "viewNums": "View Count",
- "expireTime": "Expire Time",
- "or": "or",
- "expireAfter": "expire",
- "pickupCode": "Pickup Code",
- "passwordProtection": "Password Protection",
- "readNotify": "Read Notification",
- "passwordPlaceholder": "Enter password",
- "emailPlaceholder": "Enter email",
- "viewOptions": {
- "xview": "{0} views"
+ "shareOptions": {
+ "file": {
+ "title": "Share Options",
+ "downloadNums": "Download Count",
+ "expireTime": "Expire Time",
+ "or": "or",
+ "expireAfter": "expire",
+ "pickupCode": "Pickup Code",
+ "passwordProtection": "Password Protection",
+ "downloadNotify": "Download Notification",
+ "passwordPlaceholder": "Enter password",
+ "emailPlaceholder": "Enter email",
+ "downloadOptions": {
+ "xdownload": "{0} downloads"
+ },
+ "expireOptions": {
+ "5min": "5 minutes",
+ "1hour": "1 hour",
+ "1day": "1 day",
+ "3days": "3 days"
+ }
+ },
+ "text": {
+ "title": "Share Options",
+ "viewNums": "View Count",
+ "expireTime": "Expire Time",
+ "or": "or",
+ "expireAfter": "expire",
+ "pickupCode": "Pickup Code",
+ "passwordProtection": "Password Protection",
+ "readNotify": "Read Notification",
+ "passwordPlaceholder": "Enter password",
+ "emailPlaceholder": "Enter email",
+ "viewOptions": {
+ "xview": "{0} views"
+ },
+ "expireOptions": {
+ "5min": "5 minutes",
+ "1hour": "1 hour",
+ "1day": "1 day",
+ "3days": "3 days"
+ }
+ }
},
- "expireOptions": {
- "5min": "5 minutes",
- "1hour": "1 hour",
- "1day": "1 day",
- "3days": "3 days"
+ "result": {
+ "file": {
+ "title": "Upload Successful",
+ "fileList": "File List",
+ "info": "Info",
+ "downloadNums": "Download Count",
+ "expireTime": "Expire Time",
+ "pickupCode": "Pickup Code",
+ "link": "Link",
+ "copySuccess": "Copy Success"
+ },
+ "text": {
+ "title": "Share Successful",
+ "info": "Info",
+ "viewNums": "View Count",
+ "expireTime": "Expire Time",
+ "pickupCode": "Pickup Code",
+ "link": "Link",
+ "content": "Content",
+ "copySuccess": "Copy Success"
+ }
+ },
+ "about": {
+ "powerBy": "Power by {0} as a open source temporary file sharing platform",
+ "file": "File",
+ "share": "Share",
+ "download": "Download",
+ "task": "Task",
+ "admin": "Site Admin",
+ "author": "Author",
+ "title": "About",
+ "about": "About",
+ "systemInfo": "System Info",
+ "systemVersion": "System Version",
+ "storage": "Storage",
+ "analysis": "Analysis",
+ "fileSize": "File Size",
+ "fileNum": "File Num",
+ "processed": "Processed",
+ "failed": "Failed"
}
- },
- "fileshareresult": {
- "title": "Upload Successful",
- "fileList": "File List",
- "info": "Info",
- "downloadNums": "Download Count",
- "expireTime": "Expire Time",
- "pickupCode": "Pickup Code",
- "link": "Link",
- "copySuccess": "Copy Success"
- },
- "textshareresult": {
- "title": "Share Successful",
- "info": "Info",
- "viewNums": "View Count",
- "expireTime": "Expire Time",
- "pickupCode": "Pickup Code",
- "link": "Link",
- "content": "Content",
- "copySuccess": "Copy Success"
- },
- "about": {
- "powerBy": "Power by {0} as a open source temporary file sharing platform",
- "file": "File",
- "share": "Share",
- "download": "Download",
- "task": "Task",
- "admin": "Site Admin",
- "author": "Author",
- "title": "About",
- "about": "About",
- "systemInfo": "System Info",
- "systemVersion": "System Version",
- "storage": "Storage",
- "analysis": "Analysis",
- "fileSize": "File Size",
- "fileNum": "File Num",
- "processed": "Processed",
- "failed": "Failed"
}
}
diff --git a/front/i18n/locales/zh-CN.json b/front/i18n/locales/zh-CN.json
index c69864c..383e70c 100644
--- a/front/i18n/locales/zh-CN.json
+++ b/front/i18n/locales/zh-CN.json
@@ -13,106 +13,114 @@
"submit": "提交",
"backToHome": "返回首页"
},
- "file": {
- "uploadFile": "上传文件",
- "uploadFilePlaceholder": "拖拽文件 或 点击上传",
- "addMore": "添加更多",
- "handleType": {
- "file-share": "文件分享",
- "file-image-compress": "图片压缩"
- }
- },
- "text": {
- "uploadText": "上传文本",
- "uploadTextPlaceholder": "使用我们的文本处理器轻松分享,翻译,总结,生成图片,询问大模型",
- "handleType": {
- "text-share": "文本分享"
- }
- },
- "pickup": {
- "title": "输入取件码",
- "codeError": "取件码错误",
- "btn": "取件"
- },
- "fileshare": {
- "title": "分享选项",
- "downloadNums": "下载次数",
- "expireTime": "过期时间",
- "or": "或",
- "expireAfter": "后过期",
- "pickupCode": "取件码",
- "passwordProtection": "密码保护",
- "downloadNotify": "下载通知",
- "passwordPlaceholder": "请输入密码",
- "emailPlaceholder": "请输入邮箱",
- "downloadOptions": {
- "xdownload": "{0}次下载"
+ "page": {
+ "upload": {
+ "file": {
+ "uploadFile": "上传文件",
+ "uploadFilePlaceholder": "拖拽文件 或 点击上传",
+ "addMore": "添加更多",
+ "handleType": {
+ "file-share": "文件分享",
+ "file-image-compress": "图片压缩"
+ }
+ },
+ "text": {
+ "uploadText": "上传文本",
+ "uploadTextPlaceholder": "使用我们的文本处理器轻松分享,翻译,总结,生成图片,询问大模型",
+ "handleType": {
+ "text-share": "文本分享"
+ }
+ },
+ "pickup": {
+ "title": "输入取件码",
+ "codeError": "取件码错误",
+ "btn": "取件"
+ }
},
- "expireOptions": {
- "5min": "5分钟",
- "1hour": "1小时",
- "1day": "1天",
- "3days": "3天"
- }
- },
- "textshare": {
- "title": "分享选项",
- "viewNums": "浏览次数",
- "expireTime": "过期时间",
- "or": "或",
- "expireAfter": "后过期",
- "pickupCode": "取件码",
- "passwordProtection": "密码保护",
- "readNotify": "已读通知",
- "passwordPlaceholder": "请输入密码",
- "emailPlaceholder": "请输入邮箱",
- "viewOptions": {
- "xview": "{0}次浏览"
+ "shareOptions": {
+ "file": {
+ "title": "分享选项",
+ "downloadNums": "下载次数",
+ "expireTime": "过期时间",
+ "or": "或",
+ "expireAfter": "后过期",
+ "pickupCode": "取件码",
+ "passwordProtection": "密码保护",
+ "downloadNotify": "下载通知",
+ "passwordPlaceholder": "请输入密码",
+ "emailPlaceholder": "请输入邮箱",
+ "downloadOptions": {
+ "xdownload": "{0}次下载"
+ },
+ "expireOptions": {
+ "5min": "5分钟",
+ "1hour": "1小时",
+ "1day": "1天",
+ "3days": "3天"
+ }
+ },
+ "text": {
+ "title": "分享选项",
+ "viewNums": "浏览次数",
+ "expireTime": "过期时间",
+ "or": "或",
+ "expireAfter": "后过期",
+ "pickupCode": "取件码",
+ "passwordProtection": "密码保护",
+ "readNotify": "已读通知",
+ "passwordPlaceholder": "请输入密码",
+ "emailPlaceholder": "请输入邮箱",
+ "viewOptions": {
+ "xview": "{0}次浏览"
+ },
+ "expireOptions": {
+ "5min": "5分钟",
+ "1hour": "1小时",
+ "1day": "1天",
+ "3days": "3天"
+ }
+ }
},
- "expireOptions": {
- "5min": "5分钟",
- "1hour": "1小时",
- "1day": "1天",
- "3days": "3天"
+ "result": {
+ "file": {
+ "title": "上传成功",
+ "fileList": "文件列表",
+ "info": "信息",
+ "downloadNums": "下载次数",
+ "expireTime": "过期时间",
+ "pickupCode": "提取码",
+ "link": "链接",
+ "copySuccess": "复制成功"
+ },
+ "text": {
+ "title": "分享成功",
+ "info": "信息",
+ "viewNums": "浏览次数",
+ "expireTime": "过期时间",
+ "pickupCode": "提取码",
+ "link": "链接",
+ "content": "内容",
+ "copySuccess": "复制成功"
+ }
+ },
+ "about": {
+ "powerBy": "由 {0} 驱动的开源自托管临时文件分享平台",
+ "file": "文件",
+ "share": "分享",
+ "download": "下载",
+ "task": "任务",
+ "admin": "本站管理员",
+ "author": "作者",
+ "title": "关于",
+ "about": "关于",
+ "systemInfo": "系统信息",
+ "systemVersion": "系统版本",
+ "storage": "已托管的文件",
+ "analysis": "分析",
+ "fileSize": "文件大小",
+ "fileNum": "文件数量",
+ "processed": "处理数量",
+ "failed": "失败数量"
}
- },
- "fileshareresult": {
- "title": "上传成功",
- "fileList": "文件列表",
- "info": "信息",
- "downloadNums": "下载次数",
- "expireTime": "过期时间",
- "pickupCode": "提取码",
- "link": "链接",
- "copySuccess": "复制成功"
- },
- "textshareresult": {
- "title": "分享成功",
- "info": "信息",
- "viewNums": "浏览次数",
- "expireTime": "过期时间",
- "pickupCode": "提取码",
- "link": "链接",
- "content": "内容",
- "copySuccess": "复制成功"
- },
- "about": {
- "powerBy": "由 {0} 驱动的开源自托管临时文件分享平台",
- "file": "文件",
- "share": "分享",
- "download": "下载",
- "task": "任务",
- "admin": "本站管理员",
- "author": "作者",
- "title": "关于",
- "about": "关于",
- "systemInfo": "系统信息",
- "systemVersion": "系统版本",
- "storage": "已托管的文件",
- "analysis": "分析",
- "fileSize": "文件大小",
- "fileNum": "文件数量",
- "processed": "处理数量",
- "failed": "失败数量"
}
}
diff --git a/front/pages/about.vue b/front/pages/about.vue
index 29fbe6b..9fbf305 100644
--- a/front/pages/about.vue
+++ b/front/pages/about.vue
@@ -7,7 +7,7 @@ const { t } = useI18n()
-
{{ t('about.title') }}
+
{{ t('page.about.title') }}