From 6924832fee36c842de3b5166f88ef1b4913eb962 Mon Sep 17 00:00:00 2001 From: wenyann <64353056+wenyann@users.noreply.github.com> Date: Sat, 9 May 2020 17:38:30 +0800 Subject: [PATCH] demo --- .../settings/personal/PersonSetting.vue | 56 +++++++++++++++++-- .../components/settings/system/User.vue | 15 +++++ frontend/src/i18n/en-US.js | 4 ++ frontend/src/i18n/zh-CN.js | 4 ++ 4 files changed, 74 insertions(+), 5 deletions(-) diff --git a/frontend/src/business/components/settings/personal/PersonSetting.vue b/frontend/src/business/components/settings/personal/PersonSetting.vue index 049670d38c..1636858429 100644 --- a/frontend/src/business/components/settings/personal/PersonSetting.vue +++ b/frontend/src/business/components/settings/personal/PersonSetting.vue @@ -1,7 +1,6 @@ diff --git a/frontend/src/i18n/en-US.js b/frontend/src/i18n/en-US.js index 9a0e2cfc56..bdd1731cef 100644 --- a/frontend/src/i18n/en-US.js +++ b/frontend/src/i18n/en-US.js @@ -89,12 +89,16 @@ export default { 'please_choose_member': 'Please Choose Member', 'search_by_name': 'Search by name', 'modify_personal_info': 'Modify Personal Information', + 'edit_password':'Edit_Password', + 'edit_information':'Edit_Information', 'input_name': 'Please enter a user name', 'input_email': 'Please enter a email', 'special_characters_are_not_supported': 'Special characters are not supported', 'mobile_number_format_is_incorrect': 'Mobile number format is incorrect', 'email_format_is_incorrect': 'Email format is incorrect', 'password_format_is_incorrect':'Password format is incorrect (At least 8-16 characters, at least 1 uppercase letter, 1 lowercase letter and 1 number)', + 'old_password':'Old Password', + 'new_password':'New Password', }, user: { 'create': 'Create', diff --git a/frontend/src/i18n/zh-CN.js b/frontend/src/i18n/zh-CN.js index 534c12e010..350a9aa96c 100644 --- a/frontend/src/i18n/zh-CN.js +++ b/frontend/src/i18n/zh-CN.js @@ -91,12 +91,16 @@ export default { 'please_choose_member': '请选择成员', 'search_by_name': '根据名称搜索', 'modify_personal_info': '修改个人信息', + 'edit_password':'修改密码', + 'edit_information':'编辑信息', 'input_name': '请输入名称', 'input_email': '请输入邮箱', 'special_characters_are_not_supported': '不支持特殊字符', 'mobile_number_format_is_incorrect': '手机号码格式不正确', 'email_format_is_incorrect': '邮箱格式不正确', 'password_format_is_incorrect':'密码格式不正确(至少8-16个字符,至少1个大写字母,1个小写字母和1个数字)', + 'old_password':'旧密码', + 'new_password':'新密码', }, user: { 'create': '创建用户',