Skip to content

Commit a3042e3

Browse files
authored
Merge pull request #562 from fengyangsy/issue-#561
Fix individual description information definitions Close #561
2 parents db58b05 + a442962 commit a3042e3

File tree

5 files changed

+6
-6
lines changed

5 files changed

+6
-6
lines changed

src/dashboard/src/locales/en-US/Agent.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ export default {
66
'app.agent.form.new.title': 'New Agent',
77
'app.agent.form.update.title': 'Update Agent',
88
'app.agent.form.name.label': 'Agent Name',
9-
'app.agent.form.name.required': 'Please input organization name',
9+
'app.agent.form.name.required': 'Please input agent name',
1010
'app.agent.create.success': 'Create agent {name} success.',
1111
'app.agent.create.fail': 'Create agent {name} failed',
1212
'app.agent.update.success': 'Update agent {name} success.',

src/dashboard/src/locales/en-US/operatorUser.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ export default {
88
'app.user.table.header.organization': 'Organization',
99
'app.user.role.user': 'User',
1010
'app.user.role.operator': 'Operator',
11-
'app.user.role.administrator': 'Administrator',
11+
'app.user.role.admin': 'Administrator',
1212
'app.user.form.new.title': 'New User',
1313
'app.user.form.update.title': 'Update User',
1414
'app.user.form.name.label': 'User Name',

src/dashboard/src/locales/zh-CN/Channel.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ export default {
1616
'app.channel.form.update.fail': '更新通道配置失败',
1717
'app.channel.form.update.header.title': '更新通道',
1818
'app.channel.form.update.orgType': 'Org类型',
19-
'app.channel.update.required.orgType': '请选择Org类型',
19+
'app.channel.form.update.required.orgType': '请选择Org类型',
2020
'app.channel.form.update.mspId': 'MSP ID',
2121
'app.channel.form.update.checkMSPId': '请输入MSP ID',
2222
'app.channel.form.update.file': '通道配置文件',

src/dashboard/src/locales/zh-CN/operatorUser.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ export default {
88
'app.user.table.header.organization': '组织',
99
'app.user.role.user': '普通用户',
1010
'app.user.role.operator': '系统管理员',
11-
'app.user.role.administrator': '管理员',
11+
'app.user.role.admin': '管理员',
1212
'app.user.form.new.title': '新建用户',
1313
'app.user.form.update.title': '更新用户',
1414
'app.user.form.name.label': '用户名',

src/dashboard/src/pages/Agent/Agent.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -68,8 +68,8 @@ const ApplyAgentForm = props => {
6868
{
6969
required: true,
7070
message: intl.formatMessage({
71-
id: 'app.newAgent.required.Name',
72-
defaultMessage: 'Please input name.',
71+
id: 'app.agent.form.name.required',
72+
defaultMessage: 'Please input agent name',
7373
}),
7474
},
7575
]}

0 commit comments

Comments
 (0)