fix: 修复中文本地化文件中占位符显示问题
This commit is contained in:
@@ -951,7 +951,6 @@ export default {
|
|||||||
normalModeDesc: 'Knowledge base RAG Q&A',
|
normalModeDesc: 'Knowledge base RAG Q&A',
|
||||||
agentModeDesc: 'Multi-step thinking, deep analysis',
|
agentModeDesc: 'Multi-step thinking, deep analysis',
|
||||||
agentNotReadyTooltip: 'Agent is not ready. Please finish configuration first.',
|
agentNotReadyTooltip: 'Agent is not ready. Please finish configuration first.',
|
||||||
agentNotReadyDetail: 'Agent is not ready. Please configure the following: {reasons}',
|
|
||||||
agentMissingAllowedTools: 'Allowed tools',
|
agentMissingAllowedTools: 'Allowed tools',
|
||||||
agentMissingSummaryModel: 'Chat Model (Summary Model)',
|
agentMissingSummaryModel: 'Chat Model (Summary Model)',
|
||||||
agentMissingRerankModel: 'Rerank Model',
|
agentMissingRerankModel: 'Rerank Model',
|
||||||
|
|||||||
@@ -818,12 +818,12 @@ export default {
|
|||||||
systemPromptRequired: "请输入系统提示词",
|
systemPromptRequired: "请输入系统提示词",
|
||||||
modelRequired: "请选择模型",
|
modelRequired: "请选择模型",
|
||||||
rerankModelRequired: "使用知识库时请选择 ReRank 模型",
|
rerankModelRequired: "使用知识库时请选择 ReRank 模型",
|
||||||
contextsMissing: "开启知识库时,上下文模板必须包含 {{contexts}} 占位符",
|
contextsMissing: "开启知识库时,上下文模板必须包含 {'{{'}contexts{'}}'} 占位符",
|
||||||
queryMissingInContext: "上下文模板必须包含 {{query}} 占位符",
|
queryMissingInContext: "上下文模板必须包含 {'{{'}query{'}}'} 占位符",
|
||||||
knowledgeBasesMissing: "建议在系统提示词中包含 {{knowledge_bases}} 占位符,以便模型了解可用的知识库",
|
knowledgeBasesMissing: "建议在系统提示词中包含 {'{{'}knowledge_bases{'}}'} 占位符,以便模型了解可用的知识库",
|
||||||
queryMissingInRewrite: "改写用户提示词必须包含 {{query}} 占位符",
|
queryMissingInRewrite: "改写用户提示词必须包含 {'{{'}query{'}}'} 占位符",
|
||||||
conversationMissing: "改写用户提示词必须包含 {{conversation}} 占位符",
|
conversationMissing: "改写用户提示词必须包含 {'{{'}conversation{'}}'} 占位符",
|
||||||
queryMissingInFallback: "兜底提示词必须包含 {{query}} 占位符",
|
queryMissingInFallback: "兜底提示词必须包含 {'{{'}query{'}}'} 占位符",
|
||||||
avatar: "图标",
|
avatar: "图标",
|
||||||
avatarPlaceholder: "输入 Emoji 或点击选择",
|
avatarPlaceholder: "输入 Emoji 或点击选择",
|
||||||
description: "描述",
|
description: "描述",
|
||||||
@@ -834,12 +834,12 @@ export default {
|
|||||||
model: "模型",
|
model: "模型",
|
||||||
modelPlaceholder: "请选择模型",
|
modelPlaceholder: "请选择模型",
|
||||||
systemPrompt: "系统提示词",
|
systemPrompt: "系统提示词",
|
||||||
systemPromptPlaceholder: "自定义系统提示词,定义智能体的行为和角色(使用 {{web_search_status}} 占位符动态控制网络搜索行为)",
|
systemPromptPlaceholder: "自定义系统提示词,定义智能体的行为和角色(使用 {'{{'}web_search_status{'}}'} 占位符动态控制网络搜索行为)",
|
||||||
defaultPromptHint: "留空将使用以下系统默认提示词:",
|
defaultPromptHint: "留空将使用以下系统默认提示词:",
|
||||||
defaultContextTemplateHint: "留空将使用以下系统默认上下文模板:",
|
defaultContextTemplateHint: "留空将使用以下系统默认上下文模板:",
|
||||||
contextTemplateRequired: "请输入上下文模板",
|
contextTemplateRequired: "请输入上下文模板",
|
||||||
availablePlaceholders: "可用占位符",
|
availablePlaceholders: "可用占位符",
|
||||||
placeholderHint: "输入 {{ 触发自动补全",
|
placeholderHint: "输入 {'{{'} 触发自动补全",
|
||||||
temperature: "温度",
|
temperature: "温度",
|
||||||
welcomeMessage: "欢迎消息",
|
welcomeMessage: "欢迎消息",
|
||||||
welcomeMessagePlaceholder: "选择该智能体时显示的欢迎消息",
|
welcomeMessagePlaceholder: "选择该智能体时显示的欢迎消息",
|
||||||
@@ -1786,7 +1786,7 @@ export default {
|
|||||||
custom: "自定义 Prompt",
|
custom: "自定义 Prompt",
|
||||||
disabledHint: "当前使用系统默认 Prompt,开启自定义后才会应用下方内容。",
|
disabledHint: "当前使用系统默认 Prompt,开启自定义后才会应用下方内容。",
|
||||||
placeholder: "请输入系统 Prompt,或留空使用默认 Prompt...",
|
placeholder: "请输入系统 Prompt,或留空使用默认 Prompt...",
|
||||||
tabHint: "统一的系统提示词,使用 {{web_search_status}} 占位符动态控制网络搜索行为",
|
tabHint: "统一的系统提示词,使用 {'{{'}web_search_status{'}}'} 占位符动态控制网络搜索行为",
|
||||||
},
|
},
|
||||||
reset: {
|
reset: {
|
||||||
header: "恢复默认 Prompt",
|
header: "恢复默认 Prompt",
|
||||||
@@ -2130,6 +2130,7 @@ export default {
|
|||||||
},
|
},
|
||||||
},
|
},
|
||||||
promptTemplate: {
|
promptTemplate: {
|
||||||
|
noTemplates: "暂无模板",
|
||||||
selectTemplate: "选择模板",
|
selectTemplate: "选择模板",
|
||||||
useTemplate: "使用模板",
|
useTemplate: "使用模板",
|
||||||
withKnowledgeBase: "知识库",
|
withKnowledgeBase: "知识库",
|
||||||
|
|||||||
Reference in New Issue
Block a user