新增邮箱注册页面表单校验
新增邮箱注册页面表单校验,包括: - 邮箱格式校验 - 密码格式校验(至少8位, 包含大小写字母和数字) - 确认密码校验 - 服务条款和推广信息勾选校验 新增错误提示,包括: - 邮箱格式错误 - 密码格式错误 - 确认密码不一致 - 未勾选服务条款 - 未勾选推广信息 优化 用户体验,包括: - 使用 CheckboxWithLabel 组件优化勾选框样式 - 使用字符串资源 - 调整页面布局
This commit is contained in:
@@ -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