diff --git a/apps/fronted/src/app/app/dashboard/resumes/page.tsx b/apps/fronted/src/app/app/dashboard/resumes/page.tsx index e8c484a..efc2d8c 100644 --- a/apps/fronted/src/app/app/dashboard/resumes/page.tsx +++ b/apps/fronted/src/app/app/dashboard/resumes/page.tsx @@ -123,11 +123,9 @@ const ResumeWorkbench = () => { ) : ( - 注意 + {t("dashboard.resumes.notice.title")} - - 建议在设置里中配置简历备份文件夹,防止您的数据可能会在浏览器清除缓存后丢失 - + {t("dashboard.resumes.notice.description")} @@ -233,7 +231,10 @@ const ResumeWorkbench = () => { {resume.title || "未命名简历"} - 创建于 {new Date(resume.createdAt).toLocaleDateString()} + {t("dashboard.resumes.created")} + + {new Date(resume.createdAt).toLocaleDateString()} + diff --git a/apps/fronted/src/i18n/locales/en.json b/apps/fronted/src/i18n/locales/en.json index 9ffe57e..19641c5 100644 --- a/apps/fronted/src/i18n/locales/en.json +++ b/apps/fronted/src/i18n/locales/en.json @@ -43,12 +43,18 @@ "settings": "Settings" }, "resumes": { + "created": "Created At", "synced": "Synced Files", "view": "View", "myResume": "Resumes", "create": "Create Resume", "newResume": "New Resume", - "newResumeDescription": "Create a new resume to get started." + "newResumeDescription": "Create a new resume to get started.", + "notice": { + "title": "Attention", + "description": "It is recommended to configure a resume backup folder in the settings to prevent your data from being lost when the browser cache is cleared", + "goToSettings": "Go to Settings" + } }, "settings": { "title": "Settings", diff --git a/apps/fronted/src/i18n/locales/zh.json b/apps/fronted/src/i18n/locales/zh.json index 462fc13..89ac560 100644 --- a/apps/fronted/src/i18n/locales/zh.json +++ b/apps/fronted/src/i18n/locales/zh.json @@ -43,12 +43,18 @@ "settings": "设置" }, "resumes": { + "created": "创建于", "synced": "已备份文件夹", "view": "去查看", "myResume": "我的简历", "create": "创建简历", "newResume": "新建简历", - "newResumeDescription": "创建一个新简历以开始。" + "newResumeDescription": "创建一个新简历以开始。", + "notice": { + "title": "注意", + "description": "建议在设置里中配置简历备份文件夹,防止您的数据可能会在浏览器清除缓存后丢失", + "goToSettings": "前往设置" + } }, "settings": { "title": "设置",