mirror of
https://github.com/JOYCEQL/magic-resume.git
synced 2026-07-03 14:07:11 +02:00
feat: dashboard resumes i18n
This commit is contained in:
@@ -123,11 +123,9 @@ const ResumeWorkbench = () => {
|
||||
) : (
|
||||
<Alert variant="destructive" className="mb-6">
|
||||
<AlertCircle className="h-4 w-4" />
|
||||
<AlertTitle>注意</AlertTitle>
|
||||
<AlertTitle>{t("dashboard.resumes.notice.title")}</AlertTitle>
|
||||
<AlertDescription className="flex items-center justify-between">
|
||||
<span>
|
||||
建议在设置里中配置简历备份文件夹,防止您的数据可能会在浏览器清除缓存后丢失
|
||||
</span>
|
||||
<span>{t("dashboard.resumes.notice.description")}</span>
|
||||
<Button
|
||||
variant="destructive"
|
||||
size="sm"
|
||||
@@ -137,7 +135,7 @@ const ResumeWorkbench = () => {
|
||||
}}
|
||||
>
|
||||
<Settings className="w-4 h-4 mr-2" />
|
||||
前往设置
|
||||
{t("dashboard.resumes.notice.goToSettings")}
|
||||
</Button>
|
||||
</AlertDescription>
|
||||
</Alert>
|
||||
@@ -233,7 +231,10 @@ const ResumeWorkbench = () => {
|
||||
{resume.title || "未命名简历"}
|
||||
</CardTitle>
|
||||
<CardDescription className="mt-2 text-sm">
|
||||
创建于 {new Date(resume.createdAt).toLocaleDateString()}
|
||||
{t("dashboard.resumes.created")}
|
||||
<span className="ml-2">
|
||||
{new Date(resume.createdAt).toLocaleDateString()}
|
||||
</span>
|
||||
</CardDescription>
|
||||
</CardContent>
|
||||
<CardFooter className="pt-0 pb-4 px-4">
|
||||
|
||||
@@ -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",
|
||||
|
||||
@@ -43,12 +43,18 @@
|
||||
"settings": "设置"
|
||||
},
|
||||
"resumes": {
|
||||
"created": "创建于",
|
||||
"synced": "已备份文件夹",
|
||||
"view": "去查看",
|
||||
"myResume": "我的简历",
|
||||
"create": "创建简历",
|
||||
"newResume": "新建简历",
|
||||
"newResumeDescription": "创建一个新简历以开始。"
|
||||
"newResumeDescription": "创建一个新简历以开始。",
|
||||
"notice": {
|
||||
"title": "注意",
|
||||
"description": "建议在设置里中配置简历备份文件夹,防止您的数据可能会在浏览器清除缓存后丢失",
|
||||
"goToSettings": "前往设置"
|
||||
}
|
||||
},
|
||||
"settings": {
|
||||
"title": "设置",
|
||||
|
||||
Reference in New Issue
Block a user