From 9c24d5d44ace41cc3fcc812c69a6ff386dde72a4 Mon Sep 17 00:00:00 2001 From: chanx <1243304602@qq.com> Date: Wed, 19 Nov 2025 19:14:43 +0800 Subject: [PATCH] Fix some multilingual issues (#11382) ### What problem does this PR solve? Fix some multilingual issues ### Type of change - [x] Bug Fix (non-breaking change which fixes an issue) --- web/src/locales/en.ts | 3 +-- web/src/locales/zh.ts | 2 +- web/src/pages/user-setting/profile/index.tsx | 2 +- 3 files changed, 3 insertions(+), 4 deletions(-) diff --git a/web/src/locales/en.ts b/web/src/locales/en.ts index cf351b7ba..e49f97ed1 100644 --- a/web/src/locales/en.ts +++ b/web/src/locales/en.ts @@ -818,8 +818,7 @@ Example: https://fsn1.your-objectstorage.com`, modelsToBeAdded: 'Models to be added', addTheModel: 'Add', apiKey: 'API-Key', - apiKeyMessage: - 'Please enter the API key (for locally deployed model,ignore this).', + apiKeyMessage: 'Please enter the API key', apiKeyTip: 'The API key can be obtained by registering the corresponding LLM supplier.', showMoreModels: 'View models', diff --git a/web/src/locales/zh.ts b/web/src/locales/zh.ts index 433ea628e..763bd6304 100644 --- a/web/src/locales/zh.ts +++ b/web/src/locales/zh.ts @@ -788,7 +788,7 @@ General:实体和关系提取提示来自 GitHub - microsoft/graphrag:基于 modelsToBeAdded: '待添加的模型', addTheModel: '添加', apiKey: 'API-Key', - apiKeyMessage: '请输入api key(如果是本地部署的模型,请忽略它)', + apiKeyMessage: '请输入api key', apiKeyTip: 'API key可以通过注册相应的LLM供应商来获取。', showMoreModels: '展示更多模型', hideModels: '隐藏模型', diff --git a/web/src/pages/user-setting/profile/index.tsx b/web/src/pages/user-setting/profile/index.tsx index ae46ead5f..5fd2f80b4 100644 --- a/web/src/pages/user-setting/profile/index.tsx +++ b/web/src/pages/user-setting/profile/index.tsx @@ -160,7 +160,7 @@ const ProfilePage: FC = () => {