新增邮箱注册页面表单校验
新增邮箱注册页面表单校验,包括: - 邮箱格式校验 - 密码格式校验(至少8位, 包含大小写字母和数字) - 确认密码校验 - 服务条款和推广信息勾选校验 新增错误提示,包括: - 邮箱格式错误 - 密码格式错误 - 确认密码不一致 - 未勾选服务条款 - 未勾选推广信息 优化 用户体验,包括: - 使用 CheckboxWithLabel 组件优化勾选框样式 - 使用字符串资源 - 调整页面布局
This commit is contained in:
@@ -33,4 +33,16 @@
|
||||
<string name="sign_in_with_email">使用邮箱注册</string>
|
||||
<string name="sign_in_with_google">使用 Google 账号登录</string>
|
||||
<string name="back_upper">返回</string>
|
||||
<string name="text_hint_confirm_password">再次输入密码</string>
|
||||
<string name="login_confirm_password_label">再次输入密码</string>
|
||||
<string name="agree_terms_of_service">我已阅读用户协议</string>
|
||||
<string name="agree_promotion">我同意 Rider Pro 推送消息</string>
|
||||
<string name="text_error_email_format">邮箱格式错误</string>
|
||||
<string name="text_error_password_format">密码至少为 8 位,包含大写字母、小写字母、数字</string>
|
||||
<string name="text_error_confirm_password_mismatch">密码和确认密码必须相同</string>
|
||||
<string name="text_error_confirm_password_required">请输入确认密码</string>
|
||||
<string name="error_10001_user_exist">用户已存在</string>
|
||||
<string name="error_unknown">服务端未知错误</string>
|
||||
<string name="error_not_accept_recive_notice">为了为您提供更个性化的服务,请允许我们向您推送相关信息。</string>
|
||||
<string name="error_not_accept_term">"为了提供更好的服务,请您在注册前仔细阅读并同意《用户协议》。 "</string>
|
||||
</resources>
|
||||
@@ -32,4 +32,16 @@
|
||||
<string name="sign_in_with_email">CONTINUE WITH EMAIL</string>
|
||||
<string name="sign_in_with_google">CONTINUE WITH GOOGLE</string>
|
||||
<string name="back_upper">BACK</string>
|
||||
<string name="text_hint_confirm_password">Enter your password again</string>
|
||||
<string name="login_confirm_password_label">Confirm password</string>
|
||||
<string name="agree_terms_of_service">Yes, I have read and agree to RiderPro’s Terms of Service.</string>
|
||||
<string name="agree_promotion">Yes, I would like to receive promotions and updates from RiderPro.</string>
|
||||
<string name="text_error_email_format">Invalid email</string>
|
||||
<string name="text_error_password_format">The password must be at least 8 characters long and contain a combination of uppercase letters, lowercase letters, and numbers.</string>
|
||||
<string name="text_error_confirm_password_mismatch">Please ensure that the passwords entered twice are consistent.</string>
|
||||
<string name="text_error_confirm_password_required">Confirm password is required</string>
|
||||
<string name="error_10001_user_exist">User existed</string>
|
||||
<string name="error_unknown">Unknown error</string>
|
||||
<string name="error_not_accept_recive_notice">To provide you with a more personalized experience, please allow us to send you relevant notifications.</string>
|
||||
<string name="error_not_accept_term">To provide you with the best service, please read and agree to our User Agreement before registering.</string>
|
||||
</resources>
|
||||
Reference in New Issue
Block a user