Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ES-695 #19

Merged
merged 2 commits into from
Jan 22, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions signup-ui/public/locales/en.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,18 +16,18 @@
"error": "Error!",
"invalid": "Invalid!",
"signup_failed": "Sign-Up Failed!",
"mobile_number_verified": "Your mobile number has been verified successfully. Please continue to setup you account and complete the registration process.",
"mobile_number_verified": "Your mobile number has been verified successfully. Please continue to setup your account and complete the registration process.",
"mobile_number_already_registered": "The provided mobile number is already registered. Please use the Login option to proceed.",
"setup_account": "Setup Account",
"complete_your_registration": "Please enter the requested details to complete your registration.",
"username": "Username",
"username_placeholder": "Enter username",
"full_name": "Full Name in Khmer",
"full_name_placeholder": "Enter Full Name in Khmer",
"full_name_tooltip": "Maximum 30 characters allowed and it should not contain any digit or special characters except “ “ space.",
"full_name_tooltip": "Maximum 30 characters allowed with no alphabets or special characters, except space.",
"password": "Password",
"password_placeholder": "Enter Password",
"password_rules": "<ul><li>Require at least 8 characters long</li> <li>Require at least 1 digit</li> <li>Require at least 1 special character</li> <li>Require at least 1 capital letter</li></ul>",
"password_rules": "Use 8 or more characters with a mix of alphabets and at least one number.",
"confirm_password": "Confirm Password",
"confirm_password_placeholder": "Enter Password",
"terms_and_condition": "I agree to Cambodia’s <TermsAndConditionsAnchor>Terms & Conditions</TermsAndConditionsAnchor> and <PrivacyPolicyAnchor>Privacy Policy</PrivacyPolicyAnchor>, to store & process my information as required.",
Expand Down
4 changes: 2 additions & 2 deletions signup-ui/public/locales/km.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,10 +24,10 @@
"username_placeholder": "បញ្ចូលឈ្មោះ​អ្នកប្រើប្រាស់",
"full_name": "គោត្តនាម-នាម",
"full_name_placeholder": "បញ្ចូលគោត្តនាម-នាមជាភាសាខ្មែរ",
"full_name_tooltip": "ជាអតិបរមា 30 តួអក្សរត្រូវបានអនុញ្ញាត និងមិនគួរមានលេខ ឬតួអក្សរពិសេសណាមួយឡើយ លើកលែងតែ “ “ ចន្លោះ។",
"full_name_tooltip": "ជាអតិបរមា 30 តួអក្សរត្រូវបានអនុញ្ញាត និងមិនគួរមានលេខ ឬតួអក្សរពិសេសណាមួយឡើយ លើកលែងតែដកឃ្លា។",
"password": "ពាក្យសម្ងាត់",
"password_placeholder": "បញ្ចូលពាក្យសម្ងាត់",
"password_rules": "<ul><li>យ៉ាងតិច 8 តួអក្សរ</li> <li>យ៉ាងតិច 1 តួលេខ</li> <li>យ៉ាងតិច 1 តួអក្សរពិសេស</li> <li>យ៉ាងតិច 1 តួអក្សរធំ</li></ul>",
"password_rules": "ប្រើតួអក្សរ 8 ឬច្រើនជាមួយតួអក្សរពិសេស និងយ៉ាងហោចណាស់តួលេខមួយយ៉ាងតិច។",
"confirm_password": "បញ្ជាក់ពាក្យសម្ងាត់",
"confirm_password_placeholder": "បញ្ចូលពាក្យសម្ងាត់",
"terms_and_condition": "ខ្ញុំយល់ព្រមតាម<TermsAndConditionsAnchor>លក្ខខណ្ឌ</TermsAndConditionsAnchor> និង<PrivacyPolicyAnchor>គោលការណ៍ឯកជនភាព</PrivacyPolicyAnchor>របស់ប្រទេសកម្ពុជា ដើម្បីរក្សាទុក និងដំណើរការព័ត៌មានរបស់ខ្ញុំតាមតម្រូវការ។",
Expand Down
2 changes: 1 addition & 1 deletion signup-ui/src/pages/shared/validation.ts
Original file line number Diff line number Diff line change
Expand Up @@ -58,4 +58,4 @@ export const validateConfirmPassword = (
message: t("password_validation"),
excludeEmptyString: true,
})
.oneOf([yup.ref(passwordRef), ""], isRegister ? t("password_validation_must_match") : t("password_validation_must_match"));
.oneOf([yup.ref(passwordRef), ""], isRegister ? t("register_password_validation_must_match") : t("password_validation_must_match"));