Skip to content

RAGFlow is an agent-native database: a Retrieval-Augmented Generation (RAG) engine that grew into context infrastructure.

Fix some multilingual issues (#11382)

chanx9c24d5d44ace
diff --git a/web/src/locales/en.ts b/web/src/locales/en.ts
index cf351b7ba8..e49f97ed14 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 433ea628e0..763bd63040 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 ae46ead5f7..5fd2f80b4e 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 = () => {
<AvatarUpload
value={profile.avatar}
onChange={handleAvatarUpload}
- tips={'This will be displayed on your profile.'}
+ tips={t('avatarTip')}
/>
</div>
</div>