fix: standardize spacing in various labels and messages across multiple files

This commit is contained in:
wxg0103 2025-12-10 10:21:52 +08:00
parent 237527ea41
commit 38eb915d3b
21 changed files with 91 additions and 91 deletions

View File

@ -9,7 +9,7 @@ export default {
only20history: '仅显示最近 20 条对话',
question_count: '条提问',
exportRecords: '导出聊天记录',
exportPDF: '导出PDF',
exportPDF: '导出 PDF',
exportImg: '导出图片',
preview: '预览',
chatId: '对话 ID',
@ -79,7 +79,7 @@ export default {
errorMessage: '上传失败',
fileMessage: '请解析文件内容',
fileRepeat: '文件已存在',
invalidUrl: '无效的URL',
invalidUrl: '无效的 URL',
localUpload: '本地上传',
urlPlaceholder: '请输入 URL 地址,每行一个地址',
urlTitle: 'URL 地址',
@ -88,7 +88,7 @@ export default {
executionDetails: {
title: '执行详情',
createTime: '执行时间',
paramOutputTooltip: '每个文档仅支持预览500字',
paramOutputTooltip: '每个文档仅支持预览 500 字',
audioFile: '语音文件',
searchContent: '检索内容',
searchResult: '检索结果',
@ -112,7 +112,7 @@ export default {
KnowledgeSource: {
title: '知识来源',
referenceParagraph: '引用分段',
consume: '消耗tokens',
consume: '消耗 tokens',
consumeTime: '耗时',
noSource: '没有检索到知识来源',
},

View File

@ -7,7 +7,7 @@ export default {
SingleSelect: '单选框',
MultiSelect: '多选框',
DatePicker: '日期',
JsonInput: 'JSON文本框',
JsonInput: 'JSON 文本框',
RadioCard: '选项卡',
RadioRow: '单行选项卡',
UploadInput: '文件上传',
@ -22,7 +22,7 @@ export default {
},
tip: {
requiredMessage: '不能为空',
jsonMessage: 'JSON格式不正确',
jsonMessage: 'JSON 格式不正确',
},
paramForm: {
field: {
@ -85,7 +85,7 @@ export default {
step: {
label: '步长值',
requiredMessage1: '步长值必填',
requiredMessage2: '步长不能为0',
requiredMessage2: '步长不能为 0',
},
},
TextInput: {

View File

@ -22,8 +22,8 @@ export default {
APIKeyDialog: {
saveSettings: '保存设置',
msgConfirm1: '是否删除API Key',
msgConfirm2: '删除API Key后将无法恢复请确认是否删除',
msgConfirm1: '是否删除 API Key',
msgConfirm2: '删除 API Key 后将无法恢复,请确认是否删除?',
},
EmbedDialog: {
fullscreenModeTitle: '全屏模式',

View File

@ -107,7 +107,7 @@ export default {
requiredMessage: '请选择语音播放模型',
autoPlay: '自动播放',
browser: '浏览器播放(免费)',
tts: 'TTS模型',
tts: 'TTS 模型',
listeningTest: '试听',
},
reasoningContent: {
@ -116,7 +116,7 @@ export default {
start: '开始',
end: '结束',
},
mcp_output_enable: '输出MCP/工具执行过程',
mcp_output_enable: '输出 MCP/ 工具执行过程',
},
generateDialog: {
label: '生成',
@ -179,10 +179,10 @@ export default {
title: '企业微信应用配置',
cropId: '企业 ID',
cropIdPlaceholder: '请输入企业 ID',
agentIdPlaceholder: '请输入Agent ID',
secretPlaceholder: '请输入Secret',
tokenPlaceholder: '请输入Token',
encodingAesKeyPlaceholder: '请输入EncodingAESKey',
agentIdPlaceholder: '请输入 Agent ID',
secretPlaceholder: '请输入 Secret',
tokenPlaceholder: '请输入 Token',
encodingAesKeyPlaceholder: '请输入 EncodingAESKey',
authenticationSuccessful: '认证成功',
urlInfo: '-应用管理-自建-创建的应用-接收消息-设置 API 接收的 "URL" 中',
},
@ -192,14 +192,14 @@ export default {
},
dingtalkSetting: {
title: '钉钉应用配置',
clientIdPlaceholder: '请输入Client ID',
clientSecretPlaceholder: '请输入Client Secret',
urlInfo: '-机器人页面,设置 "消息接收模式" 为 HTTP模式 ,并把上面URL填写到"消息接收地址"中',
clientIdPlaceholder: '请输入 Client ID',
clientSecretPlaceholder: '请输入 Client Secret',
urlInfo: '-机器人页面,设置 "消息接收模式" 为 HTTP模式 ,并把上面 URL 填写到"消息接收地址"中',
},
wechatSetting: {
title: '公众号应用配置',
appId: '开发者ID (APP ID)',
appIdPlaceholder: '请输入开发者ID (APP ID)',
appIdPlaceholder: '请输入开发者 ID (APP ID)',
appSecret: '开发者密钥 (APP SECRET)',
appSecretPlaceholder: '请输入开发者密钥 (APP SECRET)',
token: '令牌 (TOKEN)',
@ -210,11 +210,11 @@ export default {
},
larkSetting: {
title: '飞书应用配置',
appIdPlaceholder: '请输入App ID',
appSecretPlaceholder: '请输入App Secret',
verificationTokenPlaceholder: '请输入Verification Token',
appIdPlaceholder: '请输入 App ID',
appSecretPlaceholder: '请输入 App Secret',
verificationTokenPlaceholder: '请输入 Verification Token',
urlInfo: '-事件与回调-事件配置-配置订阅方式的 "请求地址" 中',
folderTokenPlaceholder: '请输入Folder Token',
folderTokenPlaceholder: '请输入 Folder Token',
},
slackSetting: {
title: 'Slack 应用配置',

View File

@ -190,7 +190,7 @@ export default {
},
feishu: {
selectDocument: '选择文档',
tip1: '支持文档和表格类型,包含TXT、Markdown、PDF、DOCX、HTML、XLS、XLSX、CSV、ZIP格式',
tip1: '支持文档和表格类型,包含 TXT、Markdown、PDF、DOCX、HTML、XLS、XLSX、CSV、ZIP 格式;',
tip2: '导入文档前,建议规范文档的分段标识。',
errorMessage1: '请选择文档',
},

View File

@ -59,10 +59,10 @@ export default {
requiredMessage: ' 请输入 Web 根地址',
},
user_id: {
requiredMessage: '请输入User ID',
requiredMessage: '请输入 User ID',
},
token: {
requiredMessage: '请输入Token',
requiredMessage: '请输入 Token',
},
selector: {
label: '选择器',

View File

@ -16,7 +16,7 @@ export default {
updateSuccessMessage: '修改模型成功',
saveSuccessMessage: '模型参数保存成功',
downloadError: '下载失败',
noModel: '模型在Ollama不存在',
noModel: '模型在 Ollama 不存在',
},
modelType: {
allModel: '全部模型',

View File

@ -4,7 +4,7 @@ export default {
menu: '操作菜单',
detail: '操作详情',
user: '操作用户',
ip_address: 'IP地址',
ip_address: 'IP 地址',
opt: 'API详情',
operateTime: '操作时间',
},

View File

@ -13,9 +13,9 @@ export default {
title: 'LDAP',
address: 'LDAP 地址',
serverPlaceholder: '请输入LDAP 地址',
bindDN: '绑定DN',
bindDN: '绑定 DN',
bindDNPlaceholder: '请输入绑定 DN',
ou: '用户OU',
ou: '用户 OU',
ouPlaceholder: '请输入用户 OU',
ldap_filter: '用户过滤器',
ldap_filterPlaceholder: '请输入用户过滤器',
@ -26,7 +26,7 @@ export default {
cas: {
title: 'CAS',
ldpUri: 'ldpUri',
ldpUriPlaceholder: '请输入ldpUri',
ldpUriPlaceholder: '请输入 ldpUri',
validateUrl: '验证地址',
validateUrlPlaceholder: '请输入验证地址',
redirectUrl: '回调地址',
@ -37,7 +37,7 @@ export default {
title: 'OIDC',
authEndpoint: '授权端地址',
authEndpointPlaceholder: '请输入授权端地址',
tokenEndpoint: 'Token端地址',
tokenEndpoint: 'Token 端地址',
tokenEndpointPlaceholder: '请输入 Token 端地址',
userInfoEndpoint: '用户信息端地址',
userInfoEndpointPlaceholder: '请输入用户信息端地址',

View File

@ -2,10 +2,10 @@ export default {
title: '工具',
createTool: '创建工具',
editTool: '编辑工具',
createMcpTool: '创建MCP',
editMcpTool: '编辑MCP',
createMcpTool: '创建 MCP',
editMcpTool: '编辑 MCP',
copyTool: '复制工具',
copyMcpTool: '复制MCP',
copyMcpTool: '复制 MCP',
importTool: '导入工具',
settingTool: '设置工具',
mcpConfig: 'MCP服务配置',
@ -50,15 +50,15 @@ export default {
requiredMessage: '请输入工具名称',
},
mcpName: {
name: 'MCP名称',
placeholder: '请输入MCP名称',
requiredMessage: '请输入MCP名称',
name: 'MCP 名称',
placeholder: '请输入 MCP 名称',
requiredMessage: '请输入 MCP 名称',
},
toolDescription: {
placeholder: '请输入工具的描述',
},
mcpDescription: {
placeholder: '请输入MCP的描述',
placeholder: '请输入 MCP 的描述',
},
paramName: {
label: '参数名',
@ -85,8 +85,8 @@ export default {
mcp: {
title: 'MCP 服务',
label: 'MCP Server Config',
placeholder: '请输入MCP Server配置',
tip: '仅支持SSE、Streamable HTTP调用方式',
placeholder: '请输入 MCP Server 配置',
tip: '仅支持 SSE、Streamable HTTP 调用方式',
requiredMessage: '请输入 MCP Server Config',
},
debug: {

View File

@ -1,5 +1,5 @@
import tool from '@/api/tool/tool'
import type { title } from 'process'
import type {title} from 'process'
export default {
node: '节点',
@ -250,7 +250,7 @@ export default {
requiredMessage: '请选择重排内容',
},
higher: '高于',
ScoreTooltip: 'Score越高相关性越强。',
ScoreTooltip: 'Score 越高相关性越强。',
max_paragraph_char_number: '最大引用字符数',
reranker_model: {
label: '重排模型',
@ -329,13 +329,13 @@ export default {
},
mcpNode: {
label: 'MCP 调用',
text: '通过SSE/Streamable HTTP方式执行MCP服务中的工具',
text: '通过 SSE/Streamable HTTP 方式执行MCP服务中的工具',
getToolsSuccess: '获取工具成功',
getTool: '获取工具',
toolParam: '工具参数',
mcpServerTip: '请输入JSON格式的MCP服务器配置',
mcpServerTip: '请输入 JSON 格式的MCP服务器配置',
mcpToolTip: '请选择工具',
configLabel: 'MCP Server Config (仅支持SSE/Streamable HTTP调用方式)',
configLabel: 'MCP Server Config (仅支持 SSE/Streamable HTTP 调用方式)',
reference: '引用MCP',
},
imageGenerateNode: {

View File

@ -79,7 +79,7 @@ export default {
fileMessage: '請解析文件內容',
errorMessage: '上傳失敗',
fileRepeat: '文件已存在',
invalidUrl: '无效的URL',
invalidUrl: '无效的 URL',
localUpload: '本地上傳',
urlPlaceholder: '請輸入 URL 地址,每行一個地址',
urlTitle: 'URL 地址',
@ -112,7 +112,7 @@ export default {
KnowledgeSource: {
title: '知識來源',
referenceParagraph: '引用段落',
consume: '消耗tokens',
consume: '消耗 tokens',
consumeTime: '耗時',
noSource: '沒有检索到知識來源',
},

View File

@ -98,7 +98,7 @@ export default {
title: '應用頭像',
customizeUpload: '自訂上傳',
upload: '上傳',
default: '預設logo',
default: '預設 logo',
sizeTip: '建議尺寸 32*32支援 JPG、PNG、GIF大小不超過 10 MB',
fileSizeExceeded: '檔案大小超過 10 MB',
uploadImagePrompt: '請上傳一張圖片',

View File

@ -22,7 +22,7 @@ export default {
},
tip: {
requiredMessage: '不能為空',
jsonMessage: 'JSON格式不正確',
jsonMessage: 'JSON 格式不正確',
},
paramForm: {
field: {

View File

@ -21,8 +21,8 @@ export default {
},
APIKeyDialog: {
saveSettings: '儲存設定',
msgConfirm1: '是否刪除API Key',
msgConfirm2: '刪除API Key後將無法恢復請確認是否刪除',
msgConfirm1: '是否刪除 API Key',
msgConfirm2: '刪除 API Key 後將無法恢復,請確認是否刪除?',
},
EmbedDialog: {
fullscreenModeTitle: '全螢幕模式',

View File

@ -104,7 +104,7 @@ export default {
requiredMessage: '請選擇語音播放模型',
autoPlay: '自動播放',
browser: '瀏覽器播放(免費)',
tts: 'TTS模型',
tts: 'TTS 模型',
listeningTest: '試聽',
},
reasoningContent: {
@ -113,7 +113,7 @@ export default {
start: '開始',
end: '結束',
},
mcp_output_enable: '輸出MCP/工具執行過程',
mcp_output_enable: '輸出 MCP/ 工具執行過程',
},
generateDialog: {
label: '生成',
@ -177,36 +177,36 @@ export default {
title: '企業微信應用配置',
cropId: '企業 ID',
cropIdPlaceholder: '請輸入企業 ID',
agentIdPlaceholder: '請輸入Agent ID',
secretPlaceholder: '請輸入Secret',
tokenPlaceholder: '請輸入Token',
encodingAesKeyPlaceholder: '請輸入EncodingAESKey',
agentIdPlaceholder: '請輸入 Agent ID',
secretPlaceholder: '請輸入 Secret',
tokenPlaceholder: '請輸入 Token',
encodingAesKeyPlaceholder: '請輸入 EncodingAESKey',
authenticationSuccessful: '認證成功',
urlInfo: '-應用管理-自建-建立的應用-接收消息-設定 API 接收的 "URL" 中',
},
dingtalkSetting: {
title: '釘釘應用配置',
clientIdPlaceholder: '請輸入Client ID',
clientSecretPlaceholder: '請輸入Client Secret',
urlInfo: '-機器人頁面,設定 "消息接收模式" 為 HTTP模式 並把上面URL填寫到"消息接收位址"中',
clientIdPlaceholder: '請輸入 Client ID',
clientSecretPlaceholder: '請輸入 Client Secret',
urlInfo: '-機器人頁面,設定 "消息接收模式" 為 HTTP 模式 並把上面URL填寫到"消息接收位址"中',
},
wechatSetting: {
title: '公眾號應用配置',
appId: '開發者ID (APP ID)',
appIdPlaceholder: '請輸入開發者ID (APP ID)',
appId: '開發者 ID (APP ID)',
appIdPlaceholder: '請輸入開發者 ID (APP ID)',
appSecret: '開發者密鑰 (APP SECRET)',
appSecretPlaceholder: '請輸入開發者密鑰 (APP SECRET)',
token: '權杖 (TOKEN)',
tokenPlaceholder: '請輸入權杖 (TOKEN)',
aesKey: '消息加解密密鑰',
aesKeyPlaceholder: '請輸入消息加解密密鑰',
urlInfo: '-設定與開發-基本配置-伺服器配置的 "伺服器位址URL" 中',
urlInfo: '-設定與開發-基本配置-伺服器配置的 "伺服器位址 URL " 中',
},
larkSetting: {
title: '飛書應用配置',
appIdPlaceholder: '請輸入App ID',
appSecretPlaceholder: '請輸入App Secret',
verificationTokenPlaceholder: '請輸入Verification Token',
appIdPlaceholder: '請輸入 App ID',
appSecretPlaceholder: '請輸入 App Secret',
verificationTokenPlaceholder: '請輸入 Verification Token',
urlInfo: '-事件與回呼-事件配置-配置訂閱方式的 "請求位址" 中',
},
wecomBotSetting: {

View File

@ -16,7 +16,7 @@ export default {
updateSuccessMessage: '修改模型成功',
saveSuccessMessage: '模型參數儲存成功',
downloadError: '下載失敗',
noModel: '模型在Ollama不存在',
noModel: '模型在 Ollama 不存在',
},
modelType: {
allModel: '全部模型',
@ -55,7 +55,7 @@ export default {
model_type: {
label: '模型類型',
placeholder: '請選擇模型類型',
tooltip1: '大語言模型:在應用中與AI對話的推理模型。',
tooltip1: '大語言模型:在應用中與 AI 對話的推理模型。',
tooltip2: '向量模型:在知識庫中對文件內容進行向量化化的模型。',
tooltip3: '語音辨識:在應用中開啟語音辨識後用於語音轉文字的模型。',
tooltip4: '語音合成:在應用中開啟語音播放後用於文字轉語音的模型。',

View File

@ -4,8 +4,8 @@ export default {
menu: '操作菜單',
detail: '操作詳情',
user: '操作用戶',
ip_address: 'IP地址',
opt: 'API詳情',
ip_address: 'IP 地址',
opt: 'API 詳情',
operateTime: '操作時間',
},
}

View File

@ -9,11 +9,11 @@ export default {
ldap: {
title: 'LDAP',
address: 'LDAP 位址',
serverPlaceholder: '請輸入LDAP 位址',
bindDN: '綁定DN',
serverPlaceholder: '請輸入 LDAP 位址',
bindDN: '綁定 DN',
bindDNPlaceholder: '請輸入綁定 DN',
ou: '使用者OU',
ou: '使用者 OU',
ouPlaceholder: '請輸入使用者 OU',
ldap_filter: '使用者過濾器',
ldap_filterPlaceholder: '請輸入使用者過濾器',
@ -24,7 +24,7 @@ export default {
cas: {
title: 'CAS',
ldpUri: 'ldpUri',
ldpUriPlaceholder: '請輸入ldpUri',
ldpUriPlaceholder: '請輸入 ldpUri',
validateUrl: '驗證位址',
validateUrlPlaceholder: '請輸入驗證位址',
redirectUrl: '回呼位址',
@ -35,7 +35,7 @@ export default {
title: 'OIDC',
authEndpoint: '授權端位址',
authEndpointPlaceholder: '請輸入授權端位址',
tokenEndpoint: 'Token端位址',
tokenEndpoint: 'Token 端位址',
tokenEndpointPlaceholder: '請輸入 Token 端位址',
userInfoEndpoint: '使用者資訊端位址',
userInfoEndpointPlaceholder: '請輸入使用者資訊端位址',

View File

@ -2,10 +2,10 @@ export default {
title: '工具',
createTool: '创建工具',
editTool: '編輯工具',
createMcpTool: '建立MCP',
editMcpTool: '編輯MCP',
createMcpTool: '建立 MCP',
editMcpTool: '編輯 MCP',
copyTool: '複製工具',
copyMcpTool: '複製MCP',
copyMcpTool: '複製 MCP',
importTool: '匯入工具',
settingTool: '設定工具',
mcpConfig: 'MCP服務配置',
@ -50,15 +50,15 @@ export default {
requiredMessage: '請輸入工具名稱',
},
mcpName: {
name: 'MCP名稱',
placeholder: '請輸入MCP名稱',
requiredMessage: '請輸入MCP名稱',
name: 'MCP 名稱',
placeholder: '請輸入 MCP 名稱',
requiredMessage: '請輸入 MCP 名稱',
},
toolDescription: {
placeholder: '請輸入工具的描述',
},
mcpDescription: {
placeholder: '請輸入MCP的描述',
placeholder: '請輸入 MCP 的描述',
},
paramName: {
label: '參數名',
@ -85,8 +85,8 @@ export default {
mcp: {
title: 'MCP 服務',
label: 'MCP Server Config',
placeholder: '請輸入MCP Server配置',
tip: '僅支援SSE、Streamable HTTP呼叫方式',
placeholder: '請輸入 MCP Server配置',
tip: '僅支援 SSE、Streamable HTTP 呼叫方式',
requiredMessage: '請輸入 MCP Server Config',
},
debug: {

View File

@ -77,7 +77,7 @@ export default {
needConnect1: '節點的',
needConnect2: '分支需要連接',
cannotEndNode: '節點不能當做結束節點',
loopNodeBreakNodeRequired: '無限循環必須存在Break節點',
loopNodeBreakNodeRequired: '無限循環必須存在 Break 節點',
},
nodes: {
knowledgeWriteNode: {
@ -241,7 +241,7 @@ export default {
requiredMessage: '請選擇重排內容',
},
higher: '高於',
ScoreTooltip: 'Score越高相關性越強。',
ScoreTooltip: 'Score 越高相關性越強。',
max_paragraph_char_number: '最大引用字符數',
reranker_model: {
label: '重排模型',
@ -333,13 +333,13 @@ export default {
},
mcpNode: {
label: 'MCP 調用',
text: '通過SSE/Streamable HTTP方式執行MCP服務中的工具',
text: '通過 SSE/Streamable HTTP 方式執行 MCP 服務中的工具',
getToolsSuccess: '獲取工具成功',
getTool: '獲取工具',
toolParam: '工具參數',
mcpServerTip: '請輸入JSON格式的MCP服務器配置',
mcpServerTip: '請輸入 JSON 格式的 MCP 服務器配置',
mcpToolTip: '請選擇工具',
configLabel: 'MCP Server Config (僅支持SSE/Streamable HTTP調用方式)',
configLabel: 'MCP Server Config (僅支持SSE/Streamable HTTP 調用方式)',
reference: '引用MCP',
},
imageGenerateNode: {
@ -491,7 +491,7 @@ export default {
expression: {
label: '表達式',
placeholder: '請輸入表達式',
tooltip: '請使用JSON Path 表達式拆分變量,例如:$.store.book',
tooltip: '請使用 JSON Path 表達式拆分變量,例如:$.store.book',
},
},
parameterExtractionNode: {