iztech-design-system-neo
Version:
Design System of project IZtech
50 lines (46 loc) • 1.51 kB
JavaScript
/**
* works as placeholder and rules message
*/
const RULES = {
REQUIRED: "This field is required",
EMAIL: "Email is not valid",
PHONE: "Phone number is not valid",
PASSWORD: "Password must be 6 to 16 characters long, can contains numbers and special characters",
DATE: "Date is not valid",
WRONG_REPEATE_PASSWORD: "New password does not match",
NO_SPECIAL_CHARACTER: "Please remove special characters",
LINK_YOUTUBE: "Please fill in Youtube link",
LINK_GOOGLE_DRIVE: "Please fill in Google Drive link",
LINK: "Please fill in right link",
}
const EXAMPLE = {
NAME: "John Doe",
EMAIL: "johndoe@mail.com",
ADDRESS: "Home ID, Street, State, City",
PHONE: "0123456789",
DOB: "DD/MM/YYYY",
}
export default {
FULLNAME: "Fullname",
EMAIL: "Email",
SIGNED_EMAIL: "Signed email",
PASSWORD: "Password",
PHONE: "Phone number",
DOB: "Date of birth",
CONFIRM_CODE: "Confirm code",
OLD_PASSWORD: "Old password",
NEW_PASSWORD: "New password",
NEW_PASSWORD_REPEAT: "New password (repeat)",
RULES,
EXAMPLE,
ADDRESS: "Address",
EXACT_ADDRESS: "Exact address",
CONTACT_ADDRESS: "Contact address",
EXACT_ADDRESS_HINT:
"Please fill in exactly to Road/Street, Sub-District/Vilage, District/Town and City/Province",
SEARCH: "Find your course",
SCHOOL_OR_CORPORATION: "School/Corporation",
CLASS_OR_DEPARTMENT: "Class/Department",
YOUR_SCHOOL_OR_CORPORATION: "School/Corporation you work for",
YOUR_CLASS_OR_DEPARTMENT: "Class/Department you attend to",
}