From 87610e4391d7a42a1bd2f72c6ddc57f099595589 Mon Sep 17 00:00:00 2001 From: billfeller Date: Tue, 7 May 2019 12:09:40 +0800 Subject: [PATCH] fix: change BLOCK_NAME.basic.updatesucc to BLOCK_NAME.basic.update.success --- AccountSettings/src/components/base.tsx | 2 +- AccountSettings/src/locales/en-US.ts | 2 +- AccountSettings/src/locales/zh-CN.ts | 2 +- AccountSettings/src/locales/zh-TW.ts | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/AccountSettings/src/components/base.tsx b/AccountSettings/src/components/base.tsx index deb72ce4..4eb85b67 100644 --- a/AccountSettings/src/components/base.tsx +++ b/AccountSettings/src/components/base.tsx @@ -107,7 +107,7 @@ class BaseView extends Component { const { form } = this.props; form.validateFields((err, values) => { if (!err) { - message.success(formatMessage({ id: 'BLOCK_NAME.basic.updatesucc' })); + message.success(formatMessage({ id: 'BLOCK_NAME.basic.update.success' })); } }); }; diff --git a/AccountSettings/src/locales/en-US.ts b/AccountSettings/src/locales/en-US.ts index e939ca47..ecb9c190 100644 --- a/AccountSettings/src/locales/en-US.ts +++ b/AccountSettings/src/locales/en-US.ts @@ -21,7 +21,7 @@ export default { 'BLOCK_NAME.basic.phone': 'Phone Number', 'BLOCK_NAME.basic.phone-message': 'Please input your phone!', 'BLOCK_NAME.basic.update': 'Update Information', - 'BLOCK_NAME.basic.updatesucc': 'Update basic information successfully', + 'BLOCK_NAME.basic.update.success': 'Update basic information successfully', 'BLOCK_NAME.security.strong': 'Strong', 'BLOCK_NAME.security.medium': 'Medium', 'BLOCK_NAME.security.weak': 'Weak', diff --git a/AccountSettings/src/locales/zh-CN.ts b/AccountSettings/src/locales/zh-CN.ts index cc6d7666..5eda63fd 100644 --- a/AccountSettings/src/locales/zh-CN.ts +++ b/AccountSettings/src/locales/zh-CN.ts @@ -21,7 +21,7 @@ export default { 'BLOCK_NAME.basic.phone': '联系电话', 'BLOCK_NAME.basic.phone-message': '请输入您的联系电话!', 'BLOCK_NAME.basic.update': '更新基本信息', - 'BLOCK_NAME.basic.updatesucc': '更新基本信息成功', + 'BLOCK_NAME.basic.update.success': '更新基本信息成功', 'BLOCK_NAME.security.strong': '强', 'BLOCK_NAME.security.medium': '中', 'BLOCK_NAME.security.weak': '弱', diff --git a/AccountSettings/src/locales/zh-TW.ts b/AccountSettings/src/locales/zh-TW.ts index d466c24a..c1d8b056 100644 --- a/AccountSettings/src/locales/zh-TW.ts +++ b/AccountSettings/src/locales/zh-TW.ts @@ -21,7 +21,7 @@ export default { 'BLOCK_NAME.basic.phone': '聯系電話', 'BLOCK_NAME.basic.phone-message': '請輸入您的聯系電話!', 'BLOCK_NAME.basic.update': '更新基本信息', - 'BLOCK_NAME.basic.updatesucc': '更新基本信息成功', + 'BLOCK_NAME.basic.update.success': '更新基本信息成功', 'BLOCK_NAME.security.strong': '強', 'BLOCK_NAME.security.medium': '中', 'BLOCK_NAME.security.weak': '弱', -- GitLab