diff --git a/web/src/UserEditPage.js b/web/src/UserEditPage.js index 8dca66a6..95824dda 100644 --- a/web/src/UserEditPage.js +++ b/web/src/UserEditPage.js @@ -273,7 +273,7 @@ class UserEditPage extends React.Component { {i18next.t("general:Phone")}: - + { this.state.user.id === this.props.account.id ? () : null} diff --git a/web/src/auth/SignupPage.js b/web/src/auth/SignupPage.js index a729df48..c5780cd8 100644 --- a/web/src/auth/SignupPage.js +++ b/web/src/auth/SignupPage.js @@ -272,6 +272,7 @@ class SignupPage extends React.Component { style={{ width: '100%', }} + addonBefore={`+${this.state.application?.organizationObj.phonePrefix}`} /> diff --git a/web/src/locales/zh.json b/web/src/locales/zh.json index 83b11051..f7f20565 100644 --- a/web/src/locales/zh.json +++ b/web/src/locales/zh.json @@ -119,18 +119,18 @@ "Password": "密码", "Cancel": "取消", "input password": "输入密码", - "Reset Email": "重设邮箱", - "Reset Phone": "重设电话", + "Reset Email": "重置邮箱", + "Reset Phone": "重置手机号", "Send Code": "发送验证码", "Empty email": "邮箱为空", "Empty phone": "电话为空", "Empty Code": "验证码为空", - "phone reset": "电话已设置", + "phone reset": "手机号已设置", "email reset": "邮箱已设置", "Code Sent": "验证码已发送", "Input your email": "请输入邮箱", - "Input your phone number": "输入电话号码", - "New phone": "新的电话号", + "Input your phone number": "输入手机号", + "New phone": "新的手机号", "New email": "新的邮箱", "Code You Received": "你收到的验证码", "Enter your code": "输入你的验证码",