finished reset password & other changes
This commit is contained in:
61
locales/en/auth.ts
Normal file
61
locales/en/auth.ts
Normal file
@@ -0,0 +1,61 @@
|
||||
export default {
|
||||
title: 'Auth',
|
||||
subtitle: 'Simple authentication service',
|
||||
sign_in: 'Sign In',
|
||||
common: {
|
||||
something_went_wrong: 'Something went wrong!',
|
||||
},
|
||||
form: {
|
||||
label: {
|
||||
continue_with: 'Or continue with',
|
||||
},
|
||||
login: {
|
||||
header_label: 'Welcome back',
|
||||
back_button_label: 'Don\'t have an account?',
|
||||
reset_password_link_text: 'Forgot password?',
|
||||
},
|
||||
register: {
|
||||
button: 'Register',
|
||||
header_label: 'Create an account',
|
||||
back_button_label: 'Already have an account?',
|
||||
},
|
||||
verification: {
|
||||
header_label: 'Confirming your account',
|
||||
back_button_label: 'Back to login',
|
||||
},
|
||||
reset: {
|
||||
button: 'Send reset email',
|
||||
header_label: 'Forgot your password?',
|
||||
back_button_label: 'Back to login',
|
||||
},
|
||||
new_password: {
|
||||
button: 'Reset password',
|
||||
header_label: 'Enter a new password',
|
||||
back_button_label: 'Back to login',
|
||||
},
|
||||
error: {
|
||||
email_in_use: 'Email already in use with different provider!',
|
||||
header_label: 'Oops! Something went wrong!',
|
||||
back_button_label: 'Back to login',
|
||||
email_taken: 'Can\'t create an user! Wait for verification by provided email.',
|
||||
invalid_fields: 'Invalid fields!',
|
||||
invalid_credentials: 'Invalid Credentials!',
|
||||
invalid_email: 'Email does not exist!',
|
||||
access_denied: 'Access denied!',
|
||||
missing_token: 'Missing token!',
|
||||
invalid_token: 'Invalid token!',
|
||||
expired_token: 'Token has expired!',
|
||||
},
|
||||
},
|
||||
email: {
|
||||
success: {
|
||||
confirmation_email_sent: 'Confirmation email sent!',
|
||||
reset_email_sent: 'A password reset letter has been sent to the specified email address!',
|
||||
},
|
||||
error: {
|
||||
verification_email_sending_error: 'Could not send verification email!',
|
||||
reset_password_sending_error: 'Could not send reset password email!',
|
||||
|
||||
},
|
||||
},
|
||||
} as const
|
||||
17
locales/en/db.ts
Normal file
17
locales/en/db.ts
Normal file
@@ -0,0 +1,17 @@
|
||||
export default {
|
||||
error: {
|
||||
update: {
|
||||
user_data: 'Could not update user data! Please, try again by reloading the page!',
|
||||
user_password: 'Could not update user password! Please, try again by reloading the page!',
|
||||
},
|
||||
common: {
|
||||
something_wrong: 'Oops! Something went wrong. Please, try again.',
|
||||
},
|
||||
},
|
||||
success: {
|
||||
update: {
|
||||
password_updated: 'Password updated successfully!',
|
||||
},
|
||||
},
|
||||
|
||||
} as const
|
||||
13
locales/en/form.ts
Normal file
13
locales/en/form.ts
Normal file
@@ -0,0 +1,13 @@
|
||||
export default {
|
||||
label: {
|
||||
email: 'Email',
|
||||
password: 'Password',
|
||||
confirm_password: 'Confirm password',
|
||||
login: 'Login',
|
||||
name: 'Name',
|
||||
},
|
||||
placeholder: {
|
||||
email: 'dead.end@acme.com',
|
||||
name: 'John Doe',
|
||||
},
|
||||
} as const
|
||||
6
locales/en/pages.ts
Normal file
6
locales/en/pages.ts
Normal file
@@ -0,0 +1,6 @@
|
||||
export default {
|
||||
404: {
|
||||
status: '404 Not Found',
|
||||
title: 'Page Not Found',
|
||||
},
|
||||
} as const
|
||||
18
locales/en/schema.ts
Normal file
18
locales/en/schema.ts
Normal file
@@ -0,0 +1,18 @@
|
||||
export default {
|
||||
password: {
|
||||
required: 'Password is required',
|
||||
strength: {
|
||||
acme: 'Password must contain at least a single lowercase, uppercase, digit and special character. The length must be between {min} and {max} characters.',
|
||||
},
|
||||
length: {
|
||||
min: 'Password must be at least {min} characters',
|
||||
max: 'Password must be maximally {max} characters',
|
||||
},
|
||||
},
|
||||
email: {
|
||||
required: 'Email address is required or invalid format',
|
||||
},
|
||||
name: {
|
||||
required: `Name is required`,
|
||||
},
|
||||
} as const
|
||||
Reference in New Issue
Block a user