Skip to content

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

fix(i18n): add missing translation keys for model provider form fields (#17551)

chanx493f60588948
diff --git a/web/src/locales/en.ts b/web/src/locales/en.ts
index 278a3cc100..7d2b78f36a 100644
--- a/web/src/locales/en.ts
+++ b/web/src/locales/en.ts
@@ -2014,6 +2014,7 @@ Example: Virtual Hosted Style`,
addTheModel: 'Add',
apiKey: 'API Key',
apiKeyMessage: 'Please enter the API Key',
+ apiKeyPlaceholder: 'Please enter the API Key',
apiKeyTip:
'The API Key can be obtained by registering the corresponding LLM supplier.',
aimlapiGetKey: 'Get API key',
@@ -2051,6 +2052,7 @@ Example: Virtual Hosted Style`,
paddleocrAccessTokenPlaceholder: 'Your AI Studio token (optional)',
paddleocrAlgorithm: 'PaddleOCR Algorithm',
paddleocrAlgorithmMessage: 'Please select a PaddleOCR algorithm',
+ paddleocrSelectAlgorithm: 'Select Algorithm',
mineruApiserver: 'MinerU API Server',
mineruApiserverMessage: 'Please input the MinerU API Server URL!',
mineruApiserverPlaceholder: 'e.g. http://host.docker.internal:9987',
@@ -2199,9 +2201,9 @@ Example: Virtual Hosted Style`,
FishAudioModelNameMessage:
'Please give your speech synthesis model a name',
addFishAudioAK: 'Fish Audio API Key',
- addFishAudioAKMessage: 'Please input your API Key',
+ FishAudioAKMessage: 'Please input your API Key',
addFishAudioRefID: 'FishAudio Reference ID',
- addFishAudioRefIDMessage:
+ FishAudioRefIDMessage:
'Please input the Reference ID (leave blank to use the default model).',
GoogleModelIDMessage: 'Please input your model ID!',
addGoogleProjectID: 'Project ID',
diff --git a/web/src/locales/zh.ts b/web/src/locales/zh.ts
index 942dc1665e..32368be78d 100644
--- a/web/src/locales/zh.ts
+++ b/web/src/locales/zh.ts
@@ -1699,6 +1699,7 @@ NER:使用 spaCy NER 和基于规则的关键词提取来抽取实体和关系
addTheModel: '添加',
apiKey: 'API Key',
apiKeyMessage: '请输入API Key',
+ apiKeyPlaceholder: '请输入API Key',
apiKeyTip: 'API Key可以通过注册相应的LLM供应商来获取。',
aimlapiGetKey: '获取 API Key',
aimlapiCheckStatus: '检查状态',
@@ -1733,6 +1734,7 @@ NER:使用 spaCy NER 和基于规则的关键词提取来抽取实体和关系
paddleocrAccessTokenPlaceholder: '您的 AI Studio 令牌(可选)',
paddleocrAlgorithm: 'PaddleOCR 算法',
paddleocrAlgorithmMessage: '请选择 PaddleOCR 算法',
+ paddleocrSelectAlgorithm: '选择算法',
mineruApiserver: 'MinerU API 服务器',
mineruApiserverMessage: '请输入 MinerU API 服务器地址!',
mineruApiserverPlaceholder: '例如:http://host.docker.internal:9987',