mirror of
https://github.com/infiniflow/ragflow.git
synced 2025-12-08 20:42:30 +08:00
### What problem does this PR solve? Fix(i18n): Added new translations #3221 - Added and updated internationalization translations in multiple components ### Type of change - [x] Bug Fix (non-breaking change which fixes an issue) --------- Co-authored-by: Kevin Hu <kevinhu.sh@gmail.com>
This commit is contained in:
@ -1,6 +1,7 @@
|
||||
export default {
|
||||
translation: {
|
||||
common: {
|
||||
noResults: '无结果。',
|
||||
selectPlaceholder: '请选择',
|
||||
delete: '删除',
|
||||
deleteModalTitle: '确定删除吗?',
|
||||
@ -39,6 +40,9 @@ export default {
|
||||
previousPage: '上一页',
|
||||
nextPage: '下一页',
|
||||
add: '添加',
|
||||
remove: '移除',
|
||||
search: '搜索',
|
||||
noDataFound: '没有找到数据。',
|
||||
promptPlaceholder: '请输入或使用 / 快速插入变量。',
|
||||
},
|
||||
login: {
|
||||
@ -71,7 +75,7 @@ export default {
|
||||
setting: '用户设置',
|
||||
logout: '登出',
|
||||
fileManager: '文件管理',
|
||||
flow: 'Agent',
|
||||
flow: '智能体',
|
||||
search: '搜索',
|
||||
welcome: '欢迎来到',
|
||||
dataset: '数据集',
|
||||
@ -814,6 +818,89 @@ General:实体和关系提取提示来自 GitHub - microsoft/graphrag:基于
|
||||
pleaseUploadAtLeastOneFile: '请上传至少一个文件',
|
||||
},
|
||||
flow: {
|
||||
beginInput: '开始输入',
|
||||
seconds: '秒',
|
||||
ref: '引用变量',
|
||||
stockCode: '股票代码',
|
||||
apiKeyPlaceholder: '您的API密钥(从https://serpapi.com获取)',
|
||||
flowStart: '开始',
|
||||
flowNum: '编号',
|
||||
test: '测试',
|
||||
extractDepth: '深度提取',
|
||||
format: '格式',
|
||||
basic: '基本',
|
||||
advanced: '高级',
|
||||
general: '通用',
|
||||
searchDepth: '深度搜索',
|
||||
tavilyTopic: 'Tavily话题',
|
||||
maxResults: '最大结果数',
|
||||
includeAnswer: '包含答案',
|
||||
includeRawContent: '包含原始内容',
|
||||
includeImages: '包含图片',
|
||||
includeImageDescriptions: '包含图片描述',
|
||||
includeDomains: '包含域名',
|
||||
ExcludeDomains: '排除域名',
|
||||
Days: 'Days',
|
||||
comma: '逗号',
|
||||
semicolon: '分号',
|
||||
period: '句点',
|
||||
linebreak: '换行符',
|
||||
tab: '制表符',
|
||||
space: '空格',
|
||||
delimiters: '分隔符',
|
||||
merge: '合并',
|
||||
split: '拆分',
|
||||
script: '脚本',
|
||||
iterationItemDescription:
|
||||
'它是迭代过程中的当前元素,可以被后续流程引用和操作。',
|
||||
guidingQuestion: '引导问题',
|
||||
onFailure: '异常时',
|
||||
userPromptDefaultValue:
|
||||
'This is the order you need to send to the agent.',
|
||||
descriptionMessage: '这是一个用于特定任务的代理。',
|
||||
search: '搜索',
|
||||
communication: '通信',
|
||||
developer: '开发者',
|
||||
typeCommandOrsearch: '输入命令或或搜索...',
|
||||
builtIn: '内置',
|
||||
goto: '异常分支',
|
||||
comment: '默认值',
|
||||
ExceptionDefaultValue: '异常处理默认值',
|
||||
exceptionMethod: '异常处理方法',
|
||||
maxRounds: '最大轮数',
|
||||
delayEfterError: '错误后延迟',
|
||||
maxRetries: '最大重试次数',
|
||||
advancedSettings: '高级设置',
|
||||
addTools: '添加工具',
|
||||
sysPromptDefultValue: `<role>
|
||||
您是{{agent_name}},一位专注于{{领域_or_任务}}的AI助手。
|
||||
</role>
|
||||
<instructions>
|
||||
1. 理解用户请求。
|
||||
2. 将其分解为逻辑子任务。
|
||||
3. 逐步执行每个子任务,并清晰地进行推理。
|
||||
4. 验证准确性和一致性。
|
||||
5. 清晰地总结最终结果。
|
||||
</instructions>`,
|
||||
line: '单行文本',
|
||||
paragraph: '段落文字',
|
||||
options: '选项',
|
||||
file: '文件',
|
||||
integer: '数字',
|
||||
boolean: '布尔值',
|
||||
name: '名称',
|
||||
singleLineText: '单行文本',
|
||||
variableSettings: '变量设置',
|
||||
multimodalModels: '多模态模型',
|
||||
textOnlyModels: '仅文本模型',
|
||||
allModels: '所有模型',
|
||||
codeExecDescription: '用 Python 或者 Javascript 编写自定义逻辑',
|
||||
stringTransformDescription:
|
||||
'修改文本内容,目前支持文本分割、文本拼接操作',
|
||||
foundation: '基础',
|
||||
tools: '工具',
|
||||
dataManipulation: '数据操控',
|
||||
dialog: '对话',
|
||||
flow: '工作流',
|
||||
noMoreData: '没有更多数据了',
|
||||
historyversion: '历史版本',
|
||||
@ -823,7 +910,6 @@ General:实体和关系提取提示来自 GitHub - microsoft/graphrag:基于
|
||||
},
|
||||
cite: '引用',
|
||||
citeTip: '引用',
|
||||
name: '名称',
|
||||
nameMessage: '请输入名称',
|
||||
description: '描述',
|
||||
examples: '示例',
|
||||
@ -839,7 +925,7 @@ General:实体和关系提取提示来自 GitHub - microsoft/graphrag:基于
|
||||
'loop为当前组件循环次数上限,当循环次数超过loop的值时,说明组件不能完成当前任务,请重新优化agent',
|
||||
yes: '是',
|
||||
no: '否',
|
||||
key: 'key',
|
||||
key: '键',
|
||||
componentId: '组件ID',
|
||||
add: '新增',
|
||||
operation: '操作',
|
||||
@ -861,7 +947,7 @@ General:实体和关系提取提示来自 GitHub - microsoft/graphrag:基于
|
||||
promptText: `请总结以下段落。注意数字,不要胡编乱造。段落如下:
|
||||
{input}
|
||||
以上就是你需要总结的内容。`,
|
||||
createGraph: '创建 Agent',
|
||||
createGraph: '创建智能体',
|
||||
createFromTemplates: '从模板创建',
|
||||
retrieval: '知识检索',
|
||||
generate: '生成回答',
|
||||
@ -911,7 +997,7 @@ General:实体和关系提取提示来自 GitHub - microsoft/graphrag:基于
|
||||
bing: 'Bing',
|
||||
bingDescription:
|
||||
'此组件用于从 https://www.bing.com/ 获取搜索结果。通常,它作为知识库的补充。Top N 和 Bing Subscription-Key 指定您需要调整的搜索结果数量。',
|
||||
apiKey: 'API KEY',
|
||||
apiKey: 'API密钥',
|
||||
country: '国家和地区',
|
||||
language: '语言',
|
||||
googleScholar: '谷歌学术',
|
||||
@ -1255,6 +1341,7 @@ General:实体和关系提取提示来自 GitHub - microsoft/graphrag:基于
|
||||
team: '团队',
|
||||
},
|
||||
systemPrompt: '系统提示词',
|
||||
userPrompt: '用户提示词',
|
||||
prompt: '提示词',
|
||||
promptMessage: '提示词是必填项',
|
||||
promptTip:
|
||||
@ -1270,21 +1357,26 @@ General:实体和关系提取提示来自 GitHub - microsoft/graphrag:基于
|
||||
openingCopy: '开场白文案',
|
||||
openingSwitchTip: '您的用户将在开始时看到此欢迎消息。',
|
||||
modeTip: '模式定义了工作流的启动方式。',
|
||||
mode: '模式',
|
||||
conversational: '对话式',
|
||||
task: '任务',
|
||||
beginInputTip: '通过定义输入参数,此内容可以被后续流程中的其他组件访问。',
|
||||
query: '查询变量',
|
||||
queryTip: '选择您想要使用的变量',
|
||||
agent: '智能体',
|
||||
addAgent: '添加智能体',
|
||||
agentDescription: '构建具备推理、工具调用和多智能体协同的智能体组件。',
|
||||
maxRecords: '最大记录数',
|
||||
createAgent: 'Create Agent',
|
||||
createAgent: '创建智能体',
|
||||
stringTransform: '文本处理',
|
||||
userFillUp: '等待输入',
|
||||
userFillUpDescription: `此组件会暂停当前的流程并等待用户发送消息,接收到消息之后再进行之后的流程。`,
|
||||
|
||||
codeExec: '代码',
|
||||
tavilySearch: 'Tavily Search',
|
||||
tavilySearch: 'Tavily 搜索',
|
||||
tavilySearchDescription: '通过 Tavily 服务搜索结果',
|
||||
tavilyExtract: 'Tavily Extract',
|
||||
tavilyExtractDescription: 'Tavily Extract',
|
||||
tavilyExtract: 'Tavily 提取',
|
||||
tavilyExtractDescription: 'Tavily 提取',
|
||||
log: '日志',
|
||||
management: '管理',
|
||||
import: '导入',
|
||||
|
||||
Reference in New Issue
Block a user