diff --git a/src/components/ActionBar/ActionBar.tsx b/src/components/ActionBar/ActionBar.tsx index 4337389a6e..ad2613e652 100644 --- a/src/components/ActionBar/ActionBar.tsx +++ b/src/components/ActionBar/ActionBar.tsx @@ -61,7 +61,7 @@ const ActionBar: React.FC = ({ step, lastStep, onChange, withResultView } diff --git a/src/locales/en-US/component.ts b/src/locales/en-US/component.ts index 85b2a4b1ca..3db8dd4893 100644 --- a/src/locales/en-US/component.ts +++ b/src/locales/en-US/component.ts @@ -18,20 +18,46 @@ export default { 'component.tagSelect.expand': 'Expand', 'component.tagSelect.collapse': 'Collapse', 'component.tagSelect.all': 'All', - 'component.global.remove': 'Remove', + 'component.global.confirm': 'Confirm', + 'component.global.delete': 'Delete', 'component.global.cancel': 'Cancel', - 'component.global.button.submit': 'Submit', + 'component.global.submit': 'Submit', 'component.global.create': 'Create', 'component.global.add': 'Add', 'component.global.save': 'Save', 'component.global.edit': 'Edit', - 'component.global.action': 'Action', 'component.global.update': 'Update', 'component.global.get': 'Get', 'component.global.edit.plugin': 'Edit plugin', 'component.global.loading': 'Loading', + 'component.global.list': 'List', + 'component.global.description': 'Description', + 'component.global.operation': 'Operation', 'component.status.success': 'Successfully', 'component.status.fail': 'Failed', + 'component.global.popconfirm.title.delete': 'Are you sure to delete this record ?', + 'component.global.notification.success.messaage.deleteSuccess': 'Deleted Successfully', + + 'component.global.steps.stepTitle.basicInformation': 'Basic Information', + 'component.global.steps.stepTitle.preview': 'Preview', + 'component.global.steps.stepTitle.pluginConfig': 'Plugin Config', + + 'component.global.pleaseEnter': 'Please Eneter', + 'component.global.pleaseChoose': 'Please Choose', + + 'component.global.input.ruleMessage.name': + 'Only letters, numbers, - and _ are supported, and can only begin with letters', + + 'component.global.connectionTimeout': 'Connection Timeout', + // User component + 'component.user.loginByPassword': 'Username & Password', + 'component.user.login': 'Login', + 'component.user.username': 'Username', + 'component.user.password': 'Password', + 'component.user.rememberMe': 'Remember Me', + 'component.user.inputUsername': 'Please input username!', + 'component.user.inputPassword': 'Please input password!', + 'component.user.wrongUsernameOrPassword': 'Wrong account or password!', // SSL Module 'component.ssl.removeSSLItemModalContent': 'You are going to remove this item!', 'component.ssl.removeSSLItemModalTitle': 'SSL Remove Alert', diff --git a/src/locales/zh-CN/component.ts b/src/locales/zh-CN/component.ts index 0e4f487f15..ec0724cd1a 100644 --- a/src/locales/zh-CN/component.ts +++ b/src/locales/zh-CN/component.ts @@ -18,20 +18,42 @@ export default { 'component.tagSelect.expand': '展开', 'component.tagSelect.collapse': '收起', 'component.tagSelect.all': '全部', - 'component.global.remove': '删除', + 'component.global.confirm': '确认', + 'component.global.delete': '删除', 'component.global.cancel': '取消', - 'component.global.button.submit': '提交', + 'component.global.submit': '提交', 'component.global.create': '创建', 'component.global.add': '新建', 'component.global.save': '保存', 'component.global.edit': '编辑', - 'component.global.action': '操作', 'component.global.update': '更新', 'component.global.get': '获取', 'component.global.edit.plugin': '编辑插件', 'component.global.loading': '加载中', + 'component.global.list': '列表', + 'component.global.description': '描述', + 'component.global.operation': '操作', 'component.status.success': '成功', 'component.status.fail': '失败', + 'component.global.pleaseEnter': '请输入', + 'component.global.pleaseChoose': '请选择', + 'component.global.connectionTimeout': '连接超时', + + 'component.global.popconfirm.title.delete': '确定删除该条记录吗?', + 'component.global.steps.stepTitle.basicInformation': '基础信息', + 'component.global.steps.stepTitle.preview': '预览', + 'component.global.steps.stepTitle.pluginConfig': '插件配置', + 'component.global.input.ruleMessage.name': '仅支持字母、数字、- 和 _,且只能以字母开头', + + // User component + 'component.user.loginByPassword': '账号密码登录', + 'component.user.login': '登录', + 'component.user.username': '账号', + 'component.user.password': '密码', + 'component.user.rememberMe': '自动登录', + 'component.user.inputUsername': '请输入账号!', + 'component.user.inputPassword': '请输入密码!', + 'component.user.wrongUsernameOrPassword': '账号或密码错误!', // SSL Module 'component.ssl.removeSSLItemModalContent': '确定要删除该项吗?', 'component.ssl.removeSSLItemModalTitle': '删除 SSL',