diff --git a/apps/fronted/src/app/app/dashboard/settings/page.tsx b/apps/fronted/src/app/app/dashboard/settings/page.tsx index f5da18c..a2dd886 100644 --- a/apps/fronted/src/app/app/dashboard/settings/page.tsx +++ b/apps/fronted/src/app/app/dashboard/settings/page.tsx @@ -236,12 +236,12 @@ const SettingsPage = () => { {t("dashboard.settings.ai.doubao.apiKey")} - {t("dashboard.settings.aiConfig.apiKey.description")} + {t("dashboard.settings.ai.doubao.description")} @@ -251,9 +251,7 @@ const SettingsPage = () => { onChange={(e) => handleApiKeyChange(e, "doubao")} type="password" className="h-11 bg-white dark:bg-slate-900 border-slate-200 dark:border-slate-800 focus-visible:ring-indigo-500" - placeholder={t( - "dashboard.settings.aiConfig.apiKey.placeholder" - )} + placeholder={t("dashboard.settings.ai.doubao.apiKey")} />
@@ -266,9 +264,7 @@ const SettingsPage = () => { value={doubaoModelId} onChange={(e) => handleModelIdChange(e, "doubao")} className="h-11 bg-white dark:bg-slate-900 border-slate-200 dark:border-slate-800 focus-visible:ring-indigo-500" - placeholder={t( - "dashboard.settings.aiConfig.modelId.placeholder" - )} + placeholder={t("dashboard.settings.ai.doubao.modelId")} />
@@ -297,7 +293,7 @@ const SettingsPage = () => { rel="noopener noreferrer" className="text-xs text-indigo-600 dark:text-indigo-400 hover:text-indigo-700 dark:hover:text-indigo-300 hover:underline inline-flex items-center" > - {t("dashboard.settings.aiConfig.apiKey.description")} + {t("dashboard.settings.ai.deepseek.description")} @@ -307,12 +303,10 @@ const SettingsPage = () => { onChange={(e) => handleApiKeyChange(e, "deepseek")} type="password" className="h-11 bg-white dark:bg-slate-900 border-slate-200 dark:border-slate-800 focus-visible:ring-indigo-500" - placeholder={t( - "dashboard.settings.aiConfig.apiKey.placeholder" - )} + placeholder={t("dashboard.settings.ai.deepseek.apiKey")} /> -
+ {/*
+
*/} diff --git a/apps/fronted/src/i18n/locales/en.json b/apps/fronted/src/i18n/locales/en.json index bbbd1ec..2c6a4a5 100644 --- a/apps/fronted/src/i18n/locales/en.json +++ b/apps/fronted/src/i18n/locales/en.json @@ -66,20 +66,6 @@ "changeFolder": "Change Folder", "selectFolder": "Select Folder" }, - "aiConfig": { - "title": "AI Model Configuration", - "description": "Configure Doubao Large Model to provide intelligent optimization and suggestions for your resume.", - "apiKey": { - "label": "Doubao API Key", - "placeholder": "Please enter Doubao API Key", - "description": "Obtain API Key from Doubao Open Platform" - }, - "modelId": { - "label": "Doubao Model ID", - "placeholder": "Please enter Doubao Model ID", - "description": "Obtain Model ID from Doubao Open Platform" - } - }, "sync": { "title": "Sync Directory", "description": "Choose a folder to sync and backup your resumes.", @@ -91,11 +77,13 @@ "selectedModel": "Select Model", "doubao": { "title": "Doubao Settings", + "description": "Obtain API Key from Volcengine Platform", "apiKey": "API Key", "modelId": "Model ID" }, "deepseek": { "title": "Deepseek Settings", + "description": "Obtain API Key from Deepseek Open Platform", "apiKey": "API Key", "modelId": "Model ID" } diff --git a/apps/fronted/src/i18n/locales/zh.json b/apps/fronted/src/i18n/locales/zh.json index 38a46e9..4459027 100644 --- a/apps/fronted/src/i18n/locales/zh.json +++ b/apps/fronted/src/i18n/locales/zh.json @@ -66,36 +66,24 @@ "changeFolder": "更改文件夹", "selectFolder": "选择文件夹" }, - "aiConfig": { - "title": "AI 模型配置", - "description": "配置豆包大模型,让 AI 助手为你的简历提供智能优化和建议。", - "apiKey": { - "label": "豆包 API 密钥", - "placeholder": "请输入豆包 API 密钥", - "description": "在豆包开放平台获取 API 密钥" - }, - "modelId": { - "label": "豆包模型 ID", - "placeholder": "请输入豆包模型 ID", - "description": "在豆包开放平台获取模型 ID" - } - }, "sync": { "title": "同步目录", "description": "选择一个文件夹来同步和备份您的简历。", "select": "选择文件夹" }, "ai": { - "title": "AI 模型配置", + "title": "AI 配置", "description": "配置 AI 模型,让 AI 助手为你的简历提供智能优化和建议。", "selectedModel": "选择模型", "doubao": { "title": "豆包", + "description": "在火山引擎获取 API 密钥", "apiKey": "API 密钥", "modelId": "模型 ID" }, "deepseek": { "title": "Deepseek", + "description": "在 Deepseek 开放平台获取 API 密钥", "apiKey": "API 密钥", "modelId": "模型 ID" }