✨ Add working sign-in / sign-out, add working registration with token
This commit is contained in:
20
public/locales/en/authentication/register.json
Normal file
20
public/locales/en/authentication/register.json
Normal file
@@ -0,0 +1,20 @@
|
||||
{
|
||||
"title": "Create Account",
|
||||
"text": "Please define your credentials below",
|
||||
"form": {
|
||||
"fields": {
|
||||
"username": {
|
||||
"label": "Username"
|
||||
},
|
||||
"password": {
|
||||
"label": "Password"
|
||||
},
|
||||
"passwordConfirmation": {
|
||||
"label": "Confirm password"
|
||||
}
|
||||
},
|
||||
"buttons": {
|
||||
"submit": "Register"
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -35,5 +35,9 @@
|
||||
"small": "small",
|
||||
"medium": "medium",
|
||||
"large": "large"
|
||||
},
|
||||
"header": {
|
||||
"logout": "Logout",
|
||||
"sign-in": "Sign in"
|
||||
}
|
||||
}
|
||||
22
public/locales/en/zod.json
Normal file
22
public/locales/en/zod.json
Normal file
@@ -0,0 +1,22 @@
|
||||
{
|
||||
"errors": {
|
||||
"default": "This field is invalid",
|
||||
"required": "This field is required",
|
||||
"string": {
|
||||
"startsWith": "This field must start with {{startsWith}}",
|
||||
"endsWith": "This field must end with {{endsWith}}",
|
||||
"includes": "This field must include {{includes}}"
|
||||
},
|
||||
"too_small": {
|
||||
"string": "This field must be at least {{minimum}} characters long",
|
||||
"number": "This field must be greater than or equal to {{minimum}}"
|
||||
},
|
||||
"too_big": {
|
||||
"string": "This field must be at most {{minimum}} characters long",
|
||||
"number": "This field must be less than or equal to {{minimum}}"
|
||||
},
|
||||
"custom": {
|
||||
"password_match": "Passwords must match"
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user