Skip to content

Commit

Permalink
Merge pull request #562 from fengyangsy/issue-#561
Browse files Browse the repository at this point in the history
Fix individual description information definitions

Close #561
  • Loading branch information
yeasy authored Oct 16, 2023
2 parents db58b05 + a442962 commit a3042e3
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion src/dashboard/src/locales/en-US/Agent.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ export default {
'app.agent.form.new.title': 'New Agent',
'app.agent.form.update.title': 'Update Agent',
'app.agent.form.name.label': 'Agent Name',
'app.agent.form.name.required': 'Please input organization name',
'app.agent.form.name.required': 'Please input agent name',
'app.agent.create.success': 'Create agent {name} success.',
'app.agent.create.fail': 'Create agent {name} failed',
'app.agent.update.success': 'Update agent {name} success.',
Expand Down
2 changes: 1 addition & 1 deletion src/dashboard/src/locales/en-US/operatorUser.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ export default {
'app.user.table.header.organization': 'Organization',
'app.user.role.user': 'User',
'app.user.role.operator': 'Operator',
'app.user.role.administrator': 'Administrator',
'app.user.role.admin': 'Administrator',
'app.user.form.new.title': 'New User',
'app.user.form.update.title': 'Update User',
'app.user.form.name.label': 'User Name',
Expand Down
2 changes: 1 addition & 1 deletion src/dashboard/src/locales/zh-CN/Channel.js
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ export default {
'app.channel.form.update.fail': '更新通道配置失败',
'app.channel.form.update.header.title': '更新通道',
'app.channel.form.update.orgType': 'Org类型',
'app.channel.update.required.orgType': '请选择Org类型',
'app.channel.form.update.required.orgType': '请选择Org类型',
'app.channel.form.update.mspId': 'MSP ID',
'app.channel.form.update.checkMSPId': '请输入MSP ID',
'app.channel.form.update.file': '通道配置文件',
Expand Down
2 changes: 1 addition & 1 deletion src/dashboard/src/locales/zh-CN/operatorUser.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ export default {
'app.user.table.header.organization': '组织',
'app.user.role.user': '普通用户',
'app.user.role.operator': '系统管理员',
'app.user.role.administrator': '管理员',
'app.user.role.admin': '管理员',
'app.user.form.new.title': '新建用户',
'app.user.form.update.title': '更新用户',
'app.user.form.name.label': '用户名',
Expand Down
4 changes: 2 additions & 2 deletions src/dashboard/src/pages/Agent/Agent.js
Original file line number Diff line number Diff line change
Expand Up @@ -68,8 +68,8 @@ const ApplyAgentForm = props => {
{
required: true,
message: intl.formatMessage({
id: 'app.newAgent.required.Name',
defaultMessage: 'Please input name.',
id: 'app.agent.form.name.required',
defaultMessage: 'Please input agent name',
}),
},
]}
Expand Down

0 comments on commit a3042e3

Please sign in to comment.