2023-05-15 08:51:32 +08:00
|
|
|
|
const translation = {
|
|
|
|
|
api: {
|
|
|
|
|
success: '成功',
|
|
|
|
|
saved: '已保存',
|
|
|
|
|
create: '已创建',
|
|
|
|
|
remove: '已移除',
|
|
|
|
|
},
|
|
|
|
|
operation: {
|
|
|
|
|
confirm: '确认',
|
|
|
|
|
cancel: '取消',
|
|
|
|
|
clear: '清空',
|
|
|
|
|
save: '保存',
|
|
|
|
|
edit: '编辑',
|
|
|
|
|
add: '添加',
|
|
|
|
|
refresh: '重新开始',
|
|
|
|
|
search: '搜索',
|
|
|
|
|
change: '更改',
|
|
|
|
|
remove: '移除',
|
|
|
|
|
send: '发送',
|
|
|
|
|
copy: '复制',
|
|
|
|
|
lineBreak: '换行',
|
|
|
|
|
sure: '我确定',
|
|
|
|
|
},
|
|
|
|
|
placeholder: {
|
|
|
|
|
input: '请输入',
|
|
|
|
|
select: '请选择',
|
|
|
|
|
},
|
|
|
|
|
unit: {
|
|
|
|
|
char: '个字符',
|
|
|
|
|
},
|
|
|
|
|
actionMsg: {
|
|
|
|
|
modifiedSuccessfully: '修改成功',
|
|
|
|
|
modificationFailed: '修改失败',
|
|
|
|
|
copySuccessfully: '复制成功',
|
|
|
|
|
},
|
|
|
|
|
model: {
|
|
|
|
|
params: {
|
|
|
|
|
temperature: '多样性',
|
|
|
|
|
temperatureTip:
|
|
|
|
|
'较高的 Temperature 设置将导致更多样和创造性的输出,而较低的 Temperature 将产生更保守的输出并且类似于训练数据。',
|
|
|
|
|
topP: '采样范围',
|
|
|
|
|
topPTip:
|
|
|
|
|
'Top P值越高,输出与训练文本越相似,Top P值越低,输出越有创意和变化。它可用于使输出更适合特定用例。',
|
|
|
|
|
presencePenalty: '词汇控制',
|
|
|
|
|
presencePenaltyTip:
|
|
|
|
|
'Presence penalty 是根据新词是否出现在目前的文本中来对其进行惩罚。正值将降低模型谈论新话题的可能性。',
|
|
|
|
|
frequencyPenalty: '重复控制',
|
|
|
|
|
frequencyPenaltyTip:
|
|
|
|
|
'Frequency penalty 是根据重复词在目前文本中的出现频率来对其进行惩罚。正值将不太可能重复常用单词和短语。',
|
|
|
|
|
maxToken: '最大 Token',
|
|
|
|
|
maxTokenTip:
|
|
|
|
|
'生成的最大令牌数为 2,048 或 4,000,取决于模型。提示和完成共享令牌数限制。一个令牌约等于 1 个英文或 4 个中文字符。',
|
2023-05-17 14:53:15 +08:00
|
|
|
|
setToCurrentModelMaxTokenTip: '最大令牌数更新为当前模型最大的令牌数 4,000。',
|
2023-05-15 08:51:32 +08:00
|
|
|
|
},
|
|
|
|
|
tone: {
|
|
|
|
|
Creative: '创意',
|
|
|
|
|
Balanced: '平衡',
|
|
|
|
|
Precise: '精确',
|
|
|
|
|
Custom: '自定义',
|
|
|
|
|
},
|
|
|
|
|
},
|
|
|
|
|
menus: {
|
|
|
|
|
status: 'beta',
|
|
|
|
|
apps: '应用',
|
|
|
|
|
plugins: '插件',
|
|
|
|
|
pluginsTips: '集成第三方插件或创建与 ChatGPT 兼容的 AI 插件。',
|
|
|
|
|
datasets: '数据集',
|
|
|
|
|
datasetsTips: '即将到来: 上传自己的长文本数据,或通过 Webhook 集成自己的数据源',
|
|
|
|
|
newApp: '创建应用',
|
|
|
|
|
newDataset: '创建数据集',
|
|
|
|
|
},
|
|
|
|
|
userProfile: {
|
|
|
|
|
settings: '设置',
|
|
|
|
|
workspace: '工作空间',
|
|
|
|
|
createWorkspace: '创建工作空间',
|
|
|
|
|
helpCenter: '帮助文档',
|
|
|
|
|
about: '关于',
|
|
|
|
|
logout: '登出',
|
|
|
|
|
},
|
|
|
|
|
settings: {
|
|
|
|
|
accountGroup: '账户',
|
|
|
|
|
workplaceGroup: '工作空间',
|
|
|
|
|
account: "我的账户",
|
|
|
|
|
members: "成员",
|
|
|
|
|
integrations: "集成",
|
|
|
|
|
language: "语言",
|
|
|
|
|
provider: "模型供应商"
|
|
|
|
|
},
|
|
|
|
|
account: {
|
|
|
|
|
avatar: '头像',
|
|
|
|
|
name: '用户名',
|
|
|
|
|
email: '邮箱',
|
|
|
|
|
edit: '编辑',
|
|
|
|
|
langGeniusAccount: 'Dify 账号',
|
|
|
|
|
langGeniusAccountTip: '您的 Dify 账号和相关的用户数据。',
|
|
|
|
|
editName: '编辑名字',
|
|
|
|
|
showAppLength: '显示 {{length}} 个应用',
|
|
|
|
|
},
|
|
|
|
|
members: {
|
|
|
|
|
team: '团队',
|
|
|
|
|
invite: '邀请',
|
|
|
|
|
name: '姓名',
|
|
|
|
|
lastActive: '上次活动时间',
|
|
|
|
|
role: '角色',
|
|
|
|
|
pending: '待定...',
|
|
|
|
|
owner: '所有者',
|
|
|
|
|
admin: '管理员',
|
|
|
|
|
adminTip: '能够建立应用程序和管理团队设置',
|
|
|
|
|
normal: '正常人',
|
|
|
|
|
normalTip: '只能使用应用程序,不能建立应用程序',
|
|
|
|
|
inviteTeamMember: '邀请团队成员',
|
|
|
|
|
inviteTeamMemberTip: '对方会收到一封邮件。如果他已经是 Dify 用户则可直接在登录后访问你的团队数据。',
|
|
|
|
|
email: '邮箱',
|
|
|
|
|
emailInvalid: '邮箱格式无效',
|
|
|
|
|
emailPlaceholder: '输入邮箱',
|
|
|
|
|
sendInvite: '发送邀请',
|
|
|
|
|
invitationSent: '邀请已发送',
|
|
|
|
|
invitationSentTip: '邀请已发送,对方登录 Dify 后即可访问你的团队数据。',
|
|
|
|
|
ok: '好的',
|
|
|
|
|
removeFromTeam: '移除团队',
|
|
|
|
|
removeFromTeamTip: '将取消团队访问',
|
|
|
|
|
setAdmin: '设为管理员',
|
|
|
|
|
setMember: '设为普通成员',
|
|
|
|
|
disinvite: '取消邀请',
|
|
|
|
|
deleteMember: '删除成员',
|
|
|
|
|
you: '(你)',
|
|
|
|
|
},
|
|
|
|
|
integrations: {
|
|
|
|
|
connected: '登录方式',
|
|
|
|
|
google: 'Google',
|
|
|
|
|
googleAccount: 'Google 账号登录',
|
|
|
|
|
github: 'GitHub',
|
|
|
|
|
githubAccount: 'GitHub 账号登录',
|
|
|
|
|
connect: '绑定'
|
|
|
|
|
},
|
|
|
|
|
language: {
|
|
|
|
|
displayLanguage: '界面语言',
|
|
|
|
|
timezone: '时区',
|
|
|
|
|
},
|
|
|
|
|
provider: {
|
|
|
|
|
apiKey: "API 密钥",
|
|
|
|
|
enterYourKey: "输入你的 API 密钥",
|
|
|
|
|
invalidKey: '无效的 OpenAI API 密钥',
|
|
|
|
|
validating: "验证密钥中...",
|
|
|
|
|
saveFailed: "API 密钥保存失败",
|
|
|
|
|
apiKeyExceedBill: "此 API KEY 已没有可用配额,请阅读",
|
|
|
|
|
addKey: '添加 密钥',
|
|
|
|
|
comingSoon: '即将推出',
|
|
|
|
|
editKey: '编辑',
|
|
|
|
|
invalidApiKey: '无效的 API 密钥',
|
|
|
|
|
azure: {
|
|
|
|
|
resourceName: 'Resource Name',
|
|
|
|
|
resourceNamePlaceholder: 'The name of your Azure OpenAI Resource.',
|
|
|
|
|
deploymentId: 'Deployment ID',
|
|
|
|
|
deploymentIdPlaceholder: 'The deployment name you chose when you deployed the model.',
|
|
|
|
|
apiVersion: 'API Version',
|
|
|
|
|
apiVersionPlaceholder: 'The API version to use for this operation.',
|
|
|
|
|
apiKey: 'API Key',
|
|
|
|
|
apiKeyPlaceholder: 'Enter your API key here',
|
|
|
|
|
helpTip: '了解 Azure OpenAI Service',
|
|
|
|
|
},
|
|
|
|
|
openaiHosted: {
|
|
|
|
|
openaiHosted: '托管 OpenAI',
|
|
|
|
|
onTrial: '体验',
|
|
|
|
|
exhausted: '超出限额',
|
|
|
|
|
desc: '托管 OpenAI 由 Dify 提供的托管 OpenAI 服务,你可以使用 GPT-3.5 等模型,在体验额度消耗完毕前你需要设置其它模型供应商。',
|
|
|
|
|
callTimes: '调用次数',
|
|
|
|
|
usedUp: '试用额度已用完,请在下方添加自己的模型供应商',
|
|
|
|
|
useYourModel: '当前正在使用你自己的模型供应商。',
|
|
|
|
|
close: '关闭',
|
|
|
|
|
},
|
|
|
|
|
encrypted: {
|
|
|
|
|
front: '密钥将使用 ',
|
|
|
|
|
back: ' 技术进行加密和存储。',
|
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
about: {
|
|
|
|
|
changeLog: '更新日志',
|
|
|
|
|
updateNow: '现在更新',
|
|
|
|
|
nowAvailable: 'Dify {{version}} 现已可用。',
|
|
|
|
|
latestAvailable: 'Dify {{version}} 已是最新版本。',
|
|
|
|
|
},
|
|
|
|
|
appMenus: {
|
|
|
|
|
overview: '概览',
|
|
|
|
|
promptEng: '提示词编排',
|
|
|
|
|
apiAccess: '访问 API',
|
|
|
|
|
logAndAnn: '日志与标注',
|
|
|
|
|
},
|
|
|
|
|
environment: {
|
|
|
|
|
testing: '测试环境',
|
|
|
|
|
development: '开发环境',
|
|
|
|
|
},
|
|
|
|
|
appModes: {
|
|
|
|
|
completionApp: '文本生成型应用',
|
|
|
|
|
chatApp: '对话型应用',
|
|
|
|
|
},
|
|
|
|
|
datasetMenus: {
|
|
|
|
|
documents: '文档',
|
|
|
|
|
hitTesting: '命中测试',
|
|
|
|
|
settings: '设置',
|
|
|
|
|
emptyTip: ' 数据集尚未关联,请前往应用程序或插件完成关联。',
|
|
|
|
|
viewDoc: '查看文档',
|
|
|
|
|
relatedApp: '个关联应用',
|
|
|
|
|
},
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
export default translation
|