Skip to content

armgit / dify

Public Imported from GitHub
0

Build Agentic workflows, RAG pipelines, with rich AI model and tool support on one collaborative workspace. Deploy on cloud, VPC, or self-hosted, so teams move from prototype to production without rebuilding the stack.

fix: member invite text (#249)

Joelbad3b144380c
diff --git a/web/i18n/lang/common.en.ts b/web/i18n/lang/common.en.ts
index e69606cda29..1cf6425bb95 100644
--- a/web/i18n/lang/common.en.ts
+++ b/web/i18n/lang/common.en.ts
@@ -82,11 +82,11 @@ const translation = {
settings: {
accountGroup: 'ACCOUNT',
workplaceGroup: 'WORKPLACE',
- account: "My account",
- members: "Members",
- integrations: "Integrations",
- language: "Language",
- provider: "Model Provider"
+ account: 'My account',
+ members: 'Members',
+ integrations: 'Integrations',
+ language: 'Language',
+ provider: 'Model Provider',
},
account: {
avatar: 'Avatar',
@@ -99,7 +99,7 @@ const translation = {
},
members: {
team: 'Team',
- invite: 'Invite',
+ invite: 'Add',
name: 'NAME',
lastActive: 'LAST ACTIVE',
role: 'ROLES',
@@ -109,14 +109,14 @@ const translation = {
adminTip: 'Can build apps & manage team settings',
normal: 'Normal',
normalTip: 'Only can use apps,can not build apps',
- inviteTeamMember: 'Invite team member',
- inviteTeamMemberTip: 'The other person will receive an email. If he\'s already a Dify user, he can access your team data directly after signing in.',
+ inviteTeamMember: 'Add team member',
+ inviteTeamMemberTip: 'He can access your team data directly after signing in.',
email: 'Email',
emailInvalid: 'Invalid Email Format',
emailPlaceholder: 'Input Email',
- sendInvite: 'Send Invite',
- invitationSent: 'Invitation sent',
- invitationSentTip: 'The invitation is sent, and they can sign in to Dify to access your team data.',
+ sendInvite: 'Add',
+ invitationSent: 'Added',
+ invitationSentTip: 'Added, and they can sign in to Dify to access your team data.',
ok: 'OK',
removeFromTeam: 'Remove from team',
removeFromTeamTip: 'Will remove team access',
@@ -132,20 +132,20 @@ const translation = {
googleAccount: 'Login with Google account',
github: 'GitHub',
githubAccount: 'Login with GitHub account',
- connect: 'Connect'
+ connect: 'Connect',
},
language: {
displayLanguage: 'Display Language',
timezone: 'Time Zone',
},
provider: {
- apiKey: "API Key",
- enterYourKey: "Enter your API key here",
- invalidKey: "Invalid OpenAI API key",
- validatedError: "Validation failed: ",
- validating: "Validating key...",
- saveFailed: "Save api key failed",
- apiKeyExceedBill: "This API KEY has no quota available, please read",
+ apiKey: 'API Key',
+ enterYourKey: 'Enter your API key here',
+ invalidKey: 'Invalid OpenAI API key',
+ validatedError: 'Validation failed: ',
+ validating: 'Validating key...',
+ saveFailed: 'Save api key failed',
+ apiKeyExceedBill: 'This API KEY has no quota available, please read',
addKey: 'Add Key',
comingSoon: 'Coming Soon',
editKey: 'Edit',
@@ -170,7 +170,7 @@ const translation = {
encrypted: {
front: 'Your API KEY will be encrypted and stored using',
back: ' technology.',
- }
+ },
},
about: {
changeLog: 'Changlog',
diff --git a/web/i18n/lang/common.zh.ts b/web/i18n/lang/common.zh.ts
index f5e56b1e459..84dc4d80420 100644
--- a/web/i18n/lang/common.zh.ts
+++ b/web/i18n/lang/common.zh.ts
@@ -82,11 +82,11 @@ const translation = {
settings: {
accountGroup: '账户',
workplaceGroup: '工作空间',
- account: "我的账户",
- members: "成员",
- integrations: "集成",
- language: "语言",
- provider: "模型供应商"
+ account: '我的账户',
+ members: '成员',
+ integrations: '集成',
+ language: '语言',
+ provider: '模型供应商',
},
account: {
avatar: '头像',
@@ -100,7 +100,7 @@ const translation = {
},
members: {
team: '团队',
- invite: '邀请',
+ invite: '添加',
name: '姓名',
lastActive: '上次活动时间',
role: '角色',
@@ -110,14 +110,14 @@ const translation = {
adminTip: '能够建立应用程序和管理团队设置',
normal: '正常人',
normalTip: '只能使用应用程序,不能建立应用程序',
- inviteTeamMember: '邀请团队成员',
- inviteTeamMemberTip: '对方会收到一封邮件。如果他已经是 Dify 用户则可直接在登录后访问你的团队数据。',
+ inviteTeamMember: '添加团队成员',
+ inviteTeamMemberTip: '对方在登录后可以访问你的团队数据。',
email: '邮箱',
emailInvalid: '邮箱格式无效',
emailPlaceholder: '输入邮箱',
- sendInvite: '发送邀请',
- invitationSent: '邀请已发送',
- invitationSentTip: '邀请已发送,对方登录 Dify 后即可访问你的团队数据。',
+ sendInvite: '添加',
+ invitationSent: '已添加',
+ invitationSentTip: '已添加,对方登录 Dify 后即可访问你的团队数据。',
ok: '好的',
removeFromTeam: '移除团队',
removeFromTeamTip: '将取消团队访问',
@@ -133,20 +133,20 @@ const translation = {
googleAccount: 'Google 账号登录',
github: 'GitHub',
githubAccount: 'GitHub 账号登录',
- connect: '绑定'
+ connect: '绑定',
},
language: {
displayLanguage: '界面语言',
timezone: '时区',
},
provider: {
- apiKey: "API 密钥",
- enterYourKey: "输入你的 API 密钥",
+ apiKey: 'API 密钥',
+ enterYourKey: '输入你的 API 密钥',
invalidKey: '无效的 OpenAI API 密钥',
- validatedError: "校验失败:",
- validating: "验证密钥中...",
- saveFailed: "API 密钥保存失败",
- apiKeyExceedBill: "此 API KEY 已没有可用配额,请阅读",
+ validatedError: '校验失败:',
+ validating: '验证密钥中...',
+ saveFailed: 'API 密钥保存失败',
+ apiKeyExceedBill: '此 API KEY 已没有可用配额,请阅读',
addKey: '添加 密钥',
comingSoon: '即将推出',
editKey: '编辑',
@@ -171,7 +171,7 @@ const translation = {
encrypted: {
front: '密钥将使用 ',
back: ' 技术进行加密和存储。',
- }
+ },
},
about: {
changeLog: '更新日志',