2023-05-15 08:51:32 +08:00
|
|
|
|
const translation = {
|
|
|
|
|
api: {
|
|
|
|
|
success: '成功',
|
2023-12-18 15:41:24 +08:00
|
|
|
|
actionSuccess: '操作成功',
|
2023-05-15 08:51:32 +08:00
|
|
|
|
saved: '已保存',
|
|
|
|
|
create: '已创建',
|
|
|
|
|
remove: '已移除',
|
|
|
|
|
},
|
|
|
|
|
operation: {
|
2023-05-25 16:59:47 +08:00
|
|
|
|
create: '创建',
|
2023-05-15 08:51:32 +08:00
|
|
|
|
confirm: '确认',
|
|
|
|
|
cancel: '取消',
|
|
|
|
|
clear: '清空',
|
|
|
|
|
save: '保存',
|
|
|
|
|
edit: '编辑',
|
|
|
|
|
add: '添加',
|
2024-01-23 19:31:56 +08:00
|
|
|
|
added: '已添加',
|
2023-05-15 08:51:32 +08:00
|
|
|
|
refresh: '重新开始',
|
2023-07-14 11:19:26 +08:00
|
|
|
|
reset: '重置',
|
2023-05-15 08:51:32 +08:00
|
|
|
|
search: '搜索',
|
|
|
|
|
change: '更改',
|
|
|
|
|
remove: '移除',
|
|
|
|
|
send: '发送',
|
|
|
|
|
copy: '复制',
|
|
|
|
|
lineBreak: '换行',
|
|
|
|
|
sure: '我确定',
|
2023-07-13 09:30:16 +08:00
|
|
|
|
download: '下载',
|
2023-08-16 10:31:08 +08:00
|
|
|
|
delete: '删除',
|
|
|
|
|
settings: '设置',
|
2023-08-12 00:57:13 +08:00
|
|
|
|
setup: '设置',
|
|
|
|
|
getForFree: '免费获取',
|
2023-08-14 12:46:28 +08:00
|
|
|
|
reload: '刷新',
|
2023-08-17 15:49:22 +08:00
|
|
|
|
ok: '好的',
|
2023-10-12 23:14:28 +08:00
|
|
|
|
log: '日志',
|
2023-11-06 19:36:32 +08:00
|
|
|
|
learnMore: '了解更多',
|
2023-12-19 10:25:54 +08:00
|
|
|
|
params: '参数设置',
|
2024-04-24 15:02:29 +08:00
|
|
|
|
duplicate: '复制',
|
|
|
|
|
rename: '重命名',
|
2023-05-15 08:51:32 +08:00
|
|
|
|
},
|
|
|
|
|
placeholder: {
|
|
|
|
|
input: '请输入',
|
|
|
|
|
select: '请选择',
|
|
|
|
|
},
|
2024-02-16 00:15:22 +08:00
|
|
|
|
voice: {
|
|
|
|
|
language: {
|
|
|
|
|
zhHans: '中文',
|
2024-04-29 17:55:52 +08:00
|
|
|
|
zhHant: '繁体中文',
|
2024-02-16 00:15:22 +08:00
|
|
|
|
enUS: '英语',
|
|
|
|
|
deDE: '德语',
|
|
|
|
|
frFR: '法语',
|
|
|
|
|
esES: '西班牙语',
|
|
|
|
|
itIT: '意大利语',
|
|
|
|
|
thTH: '泰语',
|
|
|
|
|
idID: '印尼语',
|
2024-02-16 20:05:14 +08:00
|
|
|
|
jaJP: '日语',
|
|
|
|
|
koKR: '韩语',
|
|
|
|
|
ptBR: '葡萄牙语',
|
|
|
|
|
ruRU: '俄语',
|
2024-02-22 16:06:17 +08:00
|
|
|
|
ukUA: '乌克兰语',
|
2024-04-29 17:55:52 +08:00
|
|
|
|
viVN: '越南语',
|
2024-05-09 15:38:51 +08:00
|
|
|
|
plPL: '波兰语',
|
2024-02-16 00:15:22 +08:00
|
|
|
|
},
|
|
|
|
|
},
|
2023-05-15 08:51:32 +08:00
|
|
|
|
unit: {
|
|
|
|
|
char: '个字符',
|
|
|
|
|
},
|
|
|
|
|
actionMsg: {
|
2023-08-16 10:31:08 +08:00
|
|
|
|
noModification: '暂无修改',
|
2023-05-15 08:51:32 +08:00
|
|
|
|
modifiedSuccessfully: '修改成功',
|
2023-09-05 09:13:59 +08:00
|
|
|
|
modifiedUnsuccessfully: '修改失败',
|
2023-05-15 08:51:32 +08:00
|
|
|
|
copySuccessfully: '复制成功',
|
2023-09-05 09:13:59 +08:00
|
|
|
|
generatedSuccessfully: '已重新生成',
|
|
|
|
|
generatedUnsuccessfully: '生成失败',
|
2023-08-17 15:49:22 +08:00
|
|
|
|
paySucceeded: '已支付成功',
|
|
|
|
|
payCancelled: '已取消支付',
|
2023-05-15 08:51:32 +08:00
|
|
|
|
},
|
|
|
|
|
model: {
|
|
|
|
|
params: {
|
2023-09-15 11:14:14 +08:00
|
|
|
|
temperature: '随机性 temperature',
|
2023-05-15 08:51:32 +08:00
|
|
|
|
temperatureTip:
|
2023-09-15 11:14:14 +08:00
|
|
|
|
'控制回复的随机性。\n值越大,回复越随机。\n值越小,回复越确定或一致。',
|
|
|
|
|
top_p: '核采样 top_p',
|
2023-08-12 00:57:13 +08:00
|
|
|
|
top_pTip:
|
2023-09-15 11:14:14 +08:00
|
|
|
|
'控制生成多样性。\n值越大,输出会包括更多的单词选项。\n值越小,模型会更集中在高概率的单词上,输出更确定但可能缺乏多样性。\n核采样和随机性不建议同时修改。',
|
|
|
|
|
presence_penalty: '话题新鲜度 presence_penalty',
|
2023-08-12 00:57:13 +08:00
|
|
|
|
presence_penaltyTip:
|
2023-09-15 11:14:14 +08:00
|
|
|
|
'控制生成时对上文已存在的话题的偏好程度。\n值越大,越可能使用到新的话题。',
|
|
|
|
|
frequency_penalty: '频率惩罚度 frequency_penalty',
|
2023-08-12 00:57:13 +08:00
|
|
|
|
frequency_penaltyTip:
|
2023-09-15 11:14:14 +08:00
|
|
|
|
'影响常见与罕见词汇使用。\n值较大时,倾向于生成不常见的词汇和表达方式。\n值越小,更倾向于使用常见和普遍接受的词汇或短语。',
|
2023-09-15 11:36:01 +08:00
|
|
|
|
max_tokens: '单次回复限制 max_tokens',
|
2023-08-12 00:57:13 +08:00
|
|
|
|
max_tokensTip:
|
2023-12-14 09:55:30 +08:00
|
|
|
|
'用于限制回复的最大长度,以 token 为单位。\n较大的值可能会限制给提示词、聊天记录和知识库留出的空间。\n建议将其设置在三分之二以下。\ngpt-4-1106-preview、gpt-4-vision-preview 最大长度 (输入128k,输出4k)',
|
2023-11-27 17:22:16 +08:00
|
|
|
|
maxTokenSettingTip: '您设置的最大 tokens 数较大,可能会导致 prompt、用户问题、知识库内容没有 token 空间进行处理,建议设置到 2/3 以下。',
|
2023-08-12 00:57:13 +08:00
|
|
|
|
setToCurrentModelMaxTokenTip: '最大令牌数更新为当前模型最大的令牌数 {{maxToken}} 的 80%。',
|
2023-10-12 23:14:28 +08:00
|
|
|
|
stop_sequences: '停止序列 stop_sequences',
|
|
|
|
|
stop_sequencesTip: '最多四个序列,API 将停止生成更多的 token。返回的文本将不包含停止序列。',
|
|
|
|
|
stop_sequencesPlaceholder: '输入序列并按 Tab 键',
|
2023-05-15 08:51:32 +08:00
|
|
|
|
},
|
|
|
|
|
tone: {
|
|
|
|
|
Creative: '创意',
|
|
|
|
|
Balanced: '平衡',
|
|
|
|
|
Precise: '精确',
|
|
|
|
|
Custom: '自定义',
|
|
|
|
|
},
|
2023-10-12 23:14:28 +08:00
|
|
|
|
addMoreModel: '添加更多模型',
|
2023-05-15 08:51:32 +08:00
|
|
|
|
},
|
|
|
|
|
menus: {
|
|
|
|
|
status: 'beta',
|
2023-05-25 16:59:47 +08:00
|
|
|
|
explore: '探索',
|
2024-01-23 19:31:56 +08:00
|
|
|
|
apps: '工作室',
|
2023-05-15 08:51:32 +08:00
|
|
|
|
plugins: '插件',
|
|
|
|
|
pluginsTips: '集成第三方插件或创建与 ChatGPT 兼容的 AI 插件。',
|
2023-11-27 17:22:16 +08:00
|
|
|
|
datasets: '知识库',
|
2023-05-15 08:51:32 +08:00
|
|
|
|
datasetsTips: '即将到来: 上传自己的长文本数据,或通过 Webhook 集成自己的数据源',
|
|
|
|
|
newApp: '创建应用',
|
2023-11-27 17:22:16 +08:00
|
|
|
|
newDataset: '创建知识库',
|
2024-01-23 19:31:56 +08:00
|
|
|
|
tools: '工具',
|
2023-05-15 08:51:32 +08:00
|
|
|
|
},
|
|
|
|
|
userProfile: {
|
|
|
|
|
settings: '设置',
|
|
|
|
|
workspace: '工作空间',
|
|
|
|
|
createWorkspace: '创建工作空间',
|
|
|
|
|
helpCenter: '帮助文档',
|
2024-04-07 13:37:32 +08:00
|
|
|
|
roadmapAndFeedback: '用户反馈',
|
2023-12-28 18:14:16 +08:00
|
|
|
|
community: '社区',
|
2023-05-15 08:51:32 +08:00
|
|
|
|
about: '关于',
|
|
|
|
|
logout: '登出',
|
|
|
|
|
},
|
|
|
|
|
settings: {
|
|
|
|
|
accountGroup: '账户',
|
|
|
|
|
workplaceGroup: '工作空间',
|
2023-05-30 09:59:05 +08:00
|
|
|
|
account: '我的账户',
|
|
|
|
|
members: '成员',
|
2023-12-03 22:10:16 +08:00
|
|
|
|
billing: '账单',
|
2023-05-30 09:59:05 +08:00
|
|
|
|
integrations: '集成',
|
|
|
|
|
language: '语言',
|
|
|
|
|
provider: '模型供应商',
|
2023-06-16 21:47:51 +08:00
|
|
|
|
dataSource: '数据来源',
|
2023-07-27 13:27:34 +08:00
|
|
|
|
plugin: '插件',
|
2023-11-13 22:32:39 +08:00
|
|
|
|
apiBasedExtension: 'API 扩展',
|
2023-05-15 08:51:32 +08:00
|
|
|
|
},
|
|
|
|
|
account: {
|
|
|
|
|
avatar: '头像',
|
|
|
|
|
name: '用户名',
|
|
|
|
|
email: '邮箱',
|
2023-07-14 11:19:26 +08:00
|
|
|
|
password: '密码',
|
|
|
|
|
passwordTip: '如果您不想使用验证码登录,可以设置永久密码',
|
|
|
|
|
setPassword: '设置密码',
|
|
|
|
|
resetPassword: '重置密码',
|
|
|
|
|
currentPassword: '原密码',
|
|
|
|
|
newPassword: '新密码',
|
|
|
|
|
notEqual: '两个密码不相同',
|
|
|
|
|
confirmPassword: '确认密码',
|
2023-05-15 08:51:32 +08:00
|
|
|
|
langGeniusAccount: 'Dify 账号',
|
|
|
|
|
langGeniusAccountTip: '您的 Dify 账号和相关的用户数据。',
|
|
|
|
|
editName: '编辑名字',
|
|
|
|
|
showAppLength: '显示 {{length}} 个应用',
|
|
|
|
|
},
|
|
|
|
|
members: {
|
|
|
|
|
team: '团队',
|
2023-05-30 09:59:05 +08:00
|
|
|
|
invite: '添加',
|
2023-05-15 08:51:32 +08:00
|
|
|
|
name: '姓名',
|
|
|
|
|
lastActive: '上次活动时间',
|
|
|
|
|
role: '角色',
|
|
|
|
|
pending: '待定...',
|
|
|
|
|
owner: '所有者',
|
|
|
|
|
admin: '管理员',
|
|
|
|
|
adminTip: '能够建立应用程序和管理团队设置',
|
2023-10-19 17:52:14 +08:00
|
|
|
|
normal: '成员',
|
2023-05-15 08:51:32 +08:00
|
|
|
|
normalTip: '只能使用应用程序,不能建立应用程序',
|
2024-06-14 20:34:25 +08:00
|
|
|
|
editor: '编辑',
|
|
|
|
|
editorTip: '能够建立并编辑应用程序,不能管理团队设置',
|
2023-05-30 09:59:05 +08:00
|
|
|
|
inviteTeamMember: '添加团队成员',
|
|
|
|
|
inviteTeamMemberTip: '对方在登录后可以访问你的团队数据。',
|
2023-05-15 08:51:32 +08:00
|
|
|
|
email: '邮箱',
|
|
|
|
|
emailInvalid: '邮箱格式无效',
|
|
|
|
|
emailPlaceholder: '输入邮箱',
|
2023-08-31 01:18:31 +08:00
|
|
|
|
sendInvite: '发送邀请',
|
|
|
|
|
invitedAsRole: '邀请为{{role}}用户',
|
2023-07-14 11:19:26 +08:00
|
|
|
|
invitationSent: '邀请已发送',
|
|
|
|
|
invitationSentTip: '邀请已发送,对方登录 Dify 后即可访问你的团队数据。',
|
|
|
|
|
invitationLink: '邀请链接',
|
2023-08-31 01:18:31 +08:00
|
|
|
|
failedinvitationEmails: '邀请以下邮箱失败',
|
2023-05-15 08:51:32 +08:00
|
|
|
|
ok: '好的',
|
|
|
|
|
removeFromTeam: '移除团队',
|
|
|
|
|
removeFromTeamTip: '将取消团队访问',
|
|
|
|
|
setAdmin: '设为管理员',
|
|
|
|
|
setMember: '设为普通成员',
|
2024-06-14 20:34:25 +08:00
|
|
|
|
setEditor: '设为编辑',
|
2023-05-15 08:51:32 +08:00
|
|
|
|
disinvite: '取消邀请',
|
|
|
|
|
deleteMember: '删除成员',
|
|
|
|
|
you: '(你)',
|
|
|
|
|
},
|
|
|
|
|
integrations: {
|
|
|
|
|
connected: '登录方式',
|
|
|
|
|
google: 'Google',
|
|
|
|
|
googleAccount: 'Google 账号登录',
|
|
|
|
|
github: 'GitHub',
|
|
|
|
|
githubAccount: 'GitHub 账号登录',
|
2023-05-30 09:59:05 +08:00
|
|
|
|
connect: '绑定',
|
2023-05-15 08:51:32 +08:00
|
|
|
|
},
|
|
|
|
|
language: {
|
|
|
|
|
displayLanguage: '界面语言',
|
|
|
|
|
timezone: '时区',
|
|
|
|
|
},
|
|
|
|
|
provider: {
|
2023-05-30 09:59:05 +08:00
|
|
|
|
apiKey: 'API 密钥',
|
|
|
|
|
enterYourKey: '输入你的 API 密钥',
|
2023-05-15 08:51:32 +08:00
|
|
|
|
invalidKey: '无效的 OpenAI API 密钥',
|
2023-05-30 09:59:05 +08:00
|
|
|
|
validatedError: '校验失败:',
|
|
|
|
|
validating: '验证密钥中...',
|
|
|
|
|
saveFailed: 'API 密钥保存失败',
|
|
|
|
|
apiKeyExceedBill: '此 API KEY 已没有可用配额,请阅读',
|
2023-05-15 08:51:32 +08:00
|
|
|
|
addKey: '添加 密钥',
|
|
|
|
|
comingSoon: '即将推出',
|
|
|
|
|
editKey: '编辑',
|
|
|
|
|
invalidApiKey: '无效的 API 密钥',
|
|
|
|
|
azure: {
|
2023-05-19 13:24:45 +08:00
|
|
|
|
apiBase: 'API Base',
|
|
|
|
|
apiBasePlaceholder: '输入您的 Azure OpenAI API Base 地址',
|
2023-05-15 08:51:32 +08:00
|
|
|
|
apiKey: 'API Key',
|
2023-05-19 13:24:45 +08:00
|
|
|
|
apiKeyPlaceholder: '输入你的 API 密钥',
|
2023-05-15 08:51:32 +08:00
|
|
|
|
helpTip: '了解 Azure OpenAI Service',
|
|
|
|
|
},
|
|
|
|
|
openaiHosted: {
|
|
|
|
|
openaiHosted: '托管 OpenAI',
|
|
|
|
|
onTrial: '体验',
|
|
|
|
|
exhausted: '超出限额',
|
|
|
|
|
desc: '托管 OpenAI 由 Dify 提供的托管 OpenAI 服务,你可以使用 GPT-3.5 等模型,在体验额度消耗完毕前你需要设置其它模型供应商。',
|
|
|
|
|
callTimes: '调用次数',
|
|
|
|
|
usedUp: '试用额度已用完,请在下方添加自己的模型供应商',
|
|
|
|
|
useYourModel: '当前正在使用你自己的模型供应商。',
|
|
|
|
|
close: '关闭',
|
|
|
|
|
},
|
2023-07-17 00:14:32 +08:00
|
|
|
|
anthropicHosted: {
|
|
|
|
|
anthropicHosted: 'Anthropic Claude',
|
|
|
|
|
onTrial: '体验',
|
|
|
|
|
exhausted: '超出限额',
|
|
|
|
|
desc: '功能强大的模型,擅长执行从复杂对话和创意内容生成到详细指导的各种任务。',
|
|
|
|
|
callTimes: '调用次数',
|
|
|
|
|
usedUp: '试用额度已用完,请在下方添加自己的模型供应商',
|
|
|
|
|
useYourModel: '当前正在使用你自己的模型供应商。',
|
|
|
|
|
close: '关闭',
|
|
|
|
|
},
|
|
|
|
|
anthropic: {
|
|
|
|
|
using: '嵌入能力正在使用',
|
|
|
|
|
enableTip: '要启用 Anthropic 模型,您需要先绑定 OpenAI 或 Azure OpenAI 服务。',
|
|
|
|
|
notEnabled: '未启用',
|
|
|
|
|
keyFrom: '从 Anthropic 获取您的 API 密钥',
|
|
|
|
|
},
|
2023-05-15 08:51:32 +08:00
|
|
|
|
encrypted: {
|
|
|
|
|
front: '密钥将使用 ',
|
|
|
|
|
back: ' 技术进行加密和存储。',
|
2023-05-30 09:59:05 +08:00
|
|
|
|
},
|
2023-05-15 08:51:32 +08:00
|
|
|
|
},
|
2023-08-12 00:57:13 +08:00
|
|
|
|
modelProvider: {
|
2023-11-21 13:46:07 +08:00
|
|
|
|
notConfigured: '系统模型尚未完全配置,部分功能可能无法使用。',
|
2023-11-18 11:53:35 +08:00
|
|
|
|
systemModelSettings: '系统模型设置',
|
|
|
|
|
systemModelSettingsLink: '为什么需要设置系统模型?',
|
2023-08-12 00:57:13 +08:00
|
|
|
|
selectModel: '选择您的模型',
|
|
|
|
|
setupModelFirst: '请先设置您的模型',
|
|
|
|
|
systemReasoningModel: {
|
|
|
|
|
key: '系统推理模型',
|
2023-08-13 22:50:31 +08:00
|
|
|
|
tip: '设置创建应用使用的默认推理模型,以及对话名称生成、下一步问题建议等功能也会使用该默认推理模型。',
|
2023-08-12 00:57:13 +08:00
|
|
|
|
},
|
|
|
|
|
embeddingModel: {
|
|
|
|
|
key: 'Embedding 模型',
|
2023-11-27 17:22:16 +08:00
|
|
|
|
tip: '设置知识库文档嵌入处理的默认模型,检索和导入知识库均使用该Embedding模型进行向量化处理,切换后将导致已导入的知识库与问题之间的向量维度不一致,从而导致检索失败。为避免检索失败,请勿随意切换该模型。',
|
2023-12-18 15:41:24 +08:00
|
|
|
|
required: '请选择 Embedding 模型',
|
2023-08-12 00:57:13 +08:00
|
|
|
|
},
|
|
|
|
|
speechToTextModel: {
|
|
|
|
|
key: '语音转文本模型',
|
2023-08-13 22:50:31 +08:00
|
|
|
|
tip: '设置对话中语音转文字输入的默认使用模型。',
|
2023-08-12 00:57:13 +08:00
|
|
|
|
},
|
2024-01-24 01:05:37 +08:00
|
|
|
|
ttsModel: {
|
|
|
|
|
key: '文本转语音模型',
|
|
|
|
|
tip: '设置对话中文字转语音输出的默认使用模型。',
|
|
|
|
|
},
|
2023-11-18 11:53:35 +08:00
|
|
|
|
rerankModel: {
|
|
|
|
|
key: 'Rerank 模型',
|
|
|
|
|
tip: '重排序模型将根据候选文档列表与用户问题语义匹配度进行重新排序,从而改进语义排序的结果',
|
|
|
|
|
},
|
2023-08-12 00:57:13 +08:00
|
|
|
|
quota: '额度',
|
|
|
|
|
searchModel: '搜索模型',
|
|
|
|
|
noModelFound: '找不到模型 {{model}}',
|
|
|
|
|
models: '模型列表',
|
|
|
|
|
showMoreModelProvider: '显示更多模型提供商',
|
|
|
|
|
selector: {
|
|
|
|
|
tip: '该模型已被删除。请添模型或选择其他模型。',
|
2023-11-18 11:53:35 +08:00
|
|
|
|
emptyTip: '无可用模型',
|
|
|
|
|
emptySetting: '请前往设置进行配置',
|
2023-11-21 13:46:07 +08:00
|
|
|
|
rerankTip: '请设置 Rerank 模型',
|
2023-08-12 00:57:13 +08:00
|
|
|
|
},
|
|
|
|
|
card: {
|
|
|
|
|
quota: '额度',
|
|
|
|
|
onTrial: '试用中',
|
|
|
|
|
paid: '已购买',
|
|
|
|
|
quotaExhausted: '配额已用完',
|
|
|
|
|
callTimes: '调用次数',
|
|
|
|
|
tokens: 'Tokens',
|
|
|
|
|
buyQuota: '购买额度',
|
|
|
|
|
priorityUse: '优先使用',
|
|
|
|
|
removeKey: '删除 API 密钥',
|
|
|
|
|
tip: '已付费额度将优先考虑。 试用额度将在付费额度用完后使用。',
|
|
|
|
|
},
|
|
|
|
|
item: {
|
|
|
|
|
deleteDesc: '{{modelName}} 被用作系统推理模型。删除后部分功能将无法使用。请确认。',
|
|
|
|
|
freeQuota: '免费额度',
|
|
|
|
|
},
|
|
|
|
|
addApiKey: '添加您的 API 密钥',
|
|
|
|
|
invalidApiKey: 'Invalid API key',
|
|
|
|
|
encrypted: {
|
|
|
|
|
front: '您的密钥将使用',
|
|
|
|
|
back: '技术进行加密和存储。',
|
|
|
|
|
},
|
2023-08-14 16:36:04 +08:00
|
|
|
|
freeQuota: {
|
|
|
|
|
howToEarn: '如何获取',
|
|
|
|
|
},
|
2024-01-02 23:42:00 +08:00
|
|
|
|
addMoreModelProvider: '添加更多模型提供商',
|
|
|
|
|
addModel: '添加模型',
|
|
|
|
|
modelsNum: '{{num}} 个模型',
|
|
|
|
|
showModels: '显示模型',
|
|
|
|
|
showModelsNum: '显示 {{num}} 个模型',
|
|
|
|
|
collapse: '收起',
|
|
|
|
|
config: '配置',
|
|
|
|
|
modelAndParameters: '模型及参数',
|
|
|
|
|
model: '模型',
|
|
|
|
|
featureSupported: '支持 {{feature}} 功能',
|
|
|
|
|
callTimes: '调用次数',
|
2024-01-26 18:06:54 +08:00
|
|
|
|
credits: '消息额度',
|
2024-01-02 23:42:00 +08:00
|
|
|
|
buyQuota: '购买额度',
|
|
|
|
|
getFreeTokens: '获得免费 Tokens',
|
|
|
|
|
priorityUsing: '优先使用',
|
2024-01-03 00:05:08 +08:00
|
|
|
|
deprecated: '已弃用',
|
|
|
|
|
confirmDelete: '确认删除?',
|
|
|
|
|
quotaTip: '剩余免费额度',
|
2024-01-25 18:04:22 +08:00
|
|
|
|
loadPresets: '加载预设',
|
|
|
|
|
parameters: '参数',
|
2024-06-05 00:13:29 +08:00
|
|
|
|
loadBalancing: '负载均衡',
|
|
|
|
|
loadBalancingDescription: '为了减轻单组凭据的压力,您可以为模型调用配置多组凭据。',
|
|
|
|
|
loadBalancingHeadline: '负载均衡',
|
|
|
|
|
configLoadBalancing: '设置负载均衡',
|
|
|
|
|
modelHasBeenDeprecated: '该模型已废弃',
|
|
|
|
|
providerManaged: '由模型供应商管理',
|
|
|
|
|
providerManagedDescription: '使用模型供应商提供的单组凭据',
|
|
|
|
|
defaultConfig: '默认配置',
|
|
|
|
|
apiKeyStatusNormal: 'API Key 正常',
|
|
|
|
|
apiKeyRateLimit: '已达频率上限,{{seconds}}秒后恢复',
|
|
|
|
|
addConfig: '增加配置',
|
|
|
|
|
editConfig: '修改配置',
|
|
|
|
|
loadBalancingLeastKeyWarning: '至少启用 2 个 Key 以使用负载均衡',
|
|
|
|
|
loadBalancingInfo: '默认情况下,负载平衡使用 Round-robin 策略。如果触发速率限制,将应用 1 分钟的冷却时间',
|
|
|
|
|
upgradeForLoadBalancing: '升级以解锁负载均衡功能',
|
2023-08-12 00:57:13 +08:00
|
|
|
|
},
|
2023-06-16 21:47:51 +08:00
|
|
|
|
dataSource: {
|
|
|
|
|
add: '添加数据源',
|
|
|
|
|
connect: '绑定',
|
|
|
|
|
notion: {
|
|
|
|
|
title: 'Notion',
|
2023-11-27 17:22:16 +08:00
|
|
|
|
description: '使用 Notion 作为知识库的数据源。',
|
2023-06-16 21:47:51 +08:00
|
|
|
|
connectedWorkspace: '已绑定工作空间',
|
|
|
|
|
addWorkspace: '添加工作空间',
|
|
|
|
|
connected: '已绑定',
|
|
|
|
|
disconnected: '未绑定',
|
|
|
|
|
changeAuthorizedPages: '更改授权页面',
|
|
|
|
|
pagesAuthorized: '已授权页面',
|
|
|
|
|
sync: '同步',
|
|
|
|
|
remove: '删除',
|
|
|
|
|
selector: {
|
|
|
|
|
pageSelected: '已选页面',
|
|
|
|
|
searchPages: '搜索页面...',
|
|
|
|
|
noSearchResult: '无搜索结果',
|
|
|
|
|
addPages: '添加页面',
|
|
|
|
|
preview: '预览',
|
|
|
|
|
},
|
|
|
|
|
},
|
|
|
|
|
},
|
2023-07-27 13:27:34 +08:00
|
|
|
|
plugin: {
|
|
|
|
|
serpapi: {
|
|
|
|
|
apiKey: 'API Key',
|
|
|
|
|
apiKeyPlaceholder: '输入你的 API 密钥',
|
|
|
|
|
keyFrom: '从 SerpAPI 帐户页面获取您的 SerpAPI 密钥',
|
|
|
|
|
},
|
|
|
|
|
},
|
2023-11-06 19:36:32 +08:00
|
|
|
|
apiBasedExtension: {
|
2023-11-13 22:32:39 +08:00
|
|
|
|
title: 'API 扩展提供了一个集中式的 API 管理,在此统一添加 API 配置后,方便在 Dify 上的各类应用中直接使用。',
|
|
|
|
|
link: '了解如何开发您自己的 API 扩展。',
|
2023-11-06 19:36:32 +08:00
|
|
|
|
linkUrl: 'https://docs.dify.ai/v/zh-hans/advanced/api_based_extension',
|
2023-11-13 22:32:39 +08:00
|
|
|
|
add: '新增 API 扩展',
|
2023-11-06 19:36:32 +08:00
|
|
|
|
selector: {
|
2023-11-13 22:32:39 +08:00
|
|
|
|
title: 'API 扩展',
|
|
|
|
|
placeholder: '请选择 API 扩展',
|
|
|
|
|
manage: '管理 API 扩展',
|
2023-11-06 19:36:32 +08:00
|
|
|
|
},
|
|
|
|
|
modal: {
|
2023-11-13 22:32:39 +08:00
|
|
|
|
title: '新增 API 扩展',
|
|
|
|
|
editTitle: '编辑 API 扩展',
|
2023-11-06 19:36:32 +08:00
|
|
|
|
name: {
|
|
|
|
|
title: '名称',
|
|
|
|
|
placeholder: '请输入名称',
|
|
|
|
|
},
|
|
|
|
|
apiEndpoint: {
|
|
|
|
|
title: 'API Endpoint',
|
|
|
|
|
placeholder: '请输入 API endpoint',
|
|
|
|
|
},
|
|
|
|
|
apiKey: {
|
|
|
|
|
title: 'API-key',
|
|
|
|
|
placeholder: '请输入 API-key',
|
|
|
|
|
lengthError: 'API-key 不能少于 5 位',
|
|
|
|
|
},
|
|
|
|
|
},
|
2024-02-07 15:01:53 +08:00
|
|
|
|
type: '类型',
|
2023-11-06 19:36:32 +08:00
|
|
|
|
},
|
2023-05-15 08:51:32 +08:00
|
|
|
|
about: {
|
|
|
|
|
changeLog: '更新日志',
|
|
|
|
|
updateNow: '现在更新',
|
|
|
|
|
nowAvailable: 'Dify {{version}} 现已可用。',
|
|
|
|
|
latestAvailable: 'Dify {{version}} 已是最新版本。',
|
|
|
|
|
},
|
|
|
|
|
appMenus: {
|
|
|
|
|
overview: '概览',
|
2024-01-23 19:31:56 +08:00
|
|
|
|
promptEng: '编排',
|
2023-05-15 08:51:32 +08:00
|
|
|
|
apiAccess: '访问 API',
|
|
|
|
|
logAndAnn: '日志与标注',
|
2024-04-08 18:51:46 +08:00
|
|
|
|
logs: '日志',
|
2023-05-15 08:51:32 +08:00
|
|
|
|
},
|
|
|
|
|
environment: {
|
|
|
|
|
testing: '测试环境',
|
|
|
|
|
development: '开发环境',
|
|
|
|
|
},
|
|
|
|
|
appModes: {
|
|
|
|
|
completionApp: '文本生成型应用',
|
|
|
|
|
chatApp: '对话型应用',
|
|
|
|
|
},
|
|
|
|
|
datasetMenus: {
|
|
|
|
|
documents: '文档',
|
2023-11-18 11:53:35 +08:00
|
|
|
|
hitTesting: '召回测试',
|
2023-05-15 08:51:32 +08:00
|
|
|
|
settings: '设置',
|
2023-11-27 17:22:16 +08:00
|
|
|
|
emptyTip: ' 知识库尚未关联,请前往应用程序或插件完成关联。',
|
2023-05-15 08:51:32 +08:00
|
|
|
|
viewDoc: '查看文档',
|
|
|
|
|
relatedApp: '个关联应用',
|
|
|
|
|
},
|
2023-07-07 17:50:42 +08:00
|
|
|
|
voiceInput: {
|
|
|
|
|
speaking: '现在讲...',
|
|
|
|
|
converting: '正在转换为文本...',
|
|
|
|
|
notAllow: '麦克风未授权',
|
|
|
|
|
},
|
2023-08-12 00:57:13 +08:00
|
|
|
|
modelName: {
|
|
|
|
|
'gpt-3.5-turbo': 'GPT-3.5-Turbo',
|
|
|
|
|
'gpt-3.5-turbo-16k': 'GPT-3.5-Turbo-16K',
|
|
|
|
|
'gpt-4': 'GPT-4',
|
|
|
|
|
'gpt-4-32k': 'GPT-4-32K',
|
|
|
|
|
'text-davinci-003': 'Text-Davinci-003',
|
|
|
|
|
'text-embedding-ada-002': 'Text-Embedding-Ada-002',
|
|
|
|
|
'whisper-1': 'Whisper-1',
|
|
|
|
|
'claude-instant-1': 'Claude-Instant',
|
|
|
|
|
'claude-2': 'Claude-2',
|
|
|
|
|
},
|
2023-08-30 17:32:32 +08:00
|
|
|
|
chat: {
|
|
|
|
|
renameConversation: '重命名会话',
|
|
|
|
|
conversationName: '会话名称',
|
|
|
|
|
conversationNamePlaceholder: '请输入会话名称',
|
|
|
|
|
conversationNameCanNotEmpty: '会话名称必填',
|
2023-09-09 19:17:12 +08:00
|
|
|
|
citation: {
|
|
|
|
|
title: '引用',
|
2023-11-27 17:22:16 +08:00
|
|
|
|
linkToDataset: '跳转至知识库',
|
2023-09-09 19:17:12 +08:00
|
|
|
|
characters: '字符:',
|
2023-11-18 11:53:35 +08:00
|
|
|
|
hitCount: '召回次数:',
|
2023-09-09 19:17:12 +08:00
|
|
|
|
vectorHash: '向量哈希:',
|
2023-11-18 11:53:35 +08:00
|
|
|
|
hitScore: '召回得分:',
|
2023-09-09 19:17:12 +08:00
|
|
|
|
},
|
2023-08-30 17:32:32 +08:00
|
|
|
|
},
|
2023-10-12 23:14:28 +08:00
|
|
|
|
promptEditor: {
|
|
|
|
|
placeholder: '在这里写你的提示词,输入\'{\' 插入变量、输入\'/\' 插入提示内容块',
|
|
|
|
|
context: {
|
|
|
|
|
item: {
|
|
|
|
|
title: '上下文',
|
|
|
|
|
desc: '插入上下文模板',
|
|
|
|
|
},
|
|
|
|
|
modal: {
|
2023-11-27 17:22:16 +08:00
|
|
|
|
title: '有 {{num}} 个知识库在上下文中',
|
2023-10-12 23:14:28 +08:00
|
|
|
|
add: '添加上下文',
|
|
|
|
|
footer: '您可以在下面的“上下文”部分中管理上下文。',
|
|
|
|
|
},
|
|
|
|
|
},
|
|
|
|
|
history: {
|
|
|
|
|
item: {
|
|
|
|
|
title: '会话历史',
|
|
|
|
|
desc: '插入历史消息模板',
|
|
|
|
|
},
|
|
|
|
|
modal: {
|
|
|
|
|
title: '示例',
|
|
|
|
|
user: '你好',
|
|
|
|
|
assistant: '你好!今天我能为您提供什么帮助?',
|
|
|
|
|
edit: '编辑对话角色名称',
|
|
|
|
|
},
|
|
|
|
|
},
|
|
|
|
|
variable: {
|
|
|
|
|
item: {
|
2023-11-06 19:36:32 +08:00
|
|
|
|
title: '变量 & 外部工具',
|
|
|
|
|
desc: '插入变量和外部工具',
|
2023-10-12 23:14:28 +08:00
|
|
|
|
},
|
2024-04-08 18:51:46 +08:00
|
|
|
|
outputToolDisabledItem: {
|
|
|
|
|
title: '变量',
|
|
|
|
|
desc: '插入变量',
|
|
|
|
|
},
|
2023-10-12 23:14:28 +08:00
|
|
|
|
modal: {
|
|
|
|
|
add: '添加新变量',
|
2023-11-06 19:36:32 +08:00
|
|
|
|
addTool: '添加工具',
|
2023-10-12 23:14:28 +08:00
|
|
|
|
},
|
|
|
|
|
},
|
|
|
|
|
query: {
|
|
|
|
|
item: {
|
|
|
|
|
title: '查询内容',
|
|
|
|
|
desc: '插入用户查询模板',
|
|
|
|
|
},
|
|
|
|
|
},
|
|
|
|
|
existed: 'Prompt 中已存在',
|
|
|
|
|
},
|
2023-11-13 22:32:39 +08:00
|
|
|
|
imageUploader: {
|
|
|
|
|
uploadFromComputer: '从本地上传',
|
|
|
|
|
uploadFromComputerReadError: '图片读取失败,请重新选择。',
|
|
|
|
|
uploadFromComputerUploadError: '图片上传失败,请重新上传。',
|
|
|
|
|
uploadFromComputerLimit: '上传图片不能超过 {{size}} MB',
|
|
|
|
|
pasteImageLink: '粘贴图片链接',
|
|
|
|
|
pasteImageLinkInputPlaceholder: '将图像链接粘贴到此处',
|
|
|
|
|
pasteImageLinkInvalid: '图片链接无效',
|
2023-11-16 11:56:11 +08:00
|
|
|
|
imageUpload: '图片上传',
|
2023-11-13 22:32:39 +08:00
|
|
|
|
},
|
2024-04-24 15:02:29 +08:00
|
|
|
|
tag: {
|
|
|
|
|
placeholder: '全部标签',
|
|
|
|
|
addNew: '创建新标签',
|
|
|
|
|
noTag: '没有标签',
|
|
|
|
|
noTagYet: '还没有标签',
|
|
|
|
|
addTag: '添加标签',
|
|
|
|
|
editTag: '修改标签',
|
|
|
|
|
manageTags: '管理标签',
|
|
|
|
|
selectorPlaceholder: '搜索或者创建',
|
|
|
|
|
create: '创建',
|
|
|
|
|
delete: '删除标签',
|
|
|
|
|
deleteTip: '标签正在使用中,是否删除?',
|
|
|
|
|
created: '标签创建成功',
|
|
|
|
|
failed: '标签创建失败',
|
|
|
|
|
},
|
2023-05-15 08:51:32 +08:00
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
export default translation
|