const errors = { app: { title: 'obzorweather', }, auth: { userDisabled: 'Your account is disabled', forbidden: 'Forbidden', unauthorized: 'Unauthorized', userNotFound: `Sorry, we don't recognize your credentials`, wrongPassword: `Sorry, we don't recognize your credentials`, weakPassword: 'This password is too weak', emailAlreadyInUse: 'Email is already in use', invalidEmail: 'Please provide a valid email', passwordReset: { invalidToken: 'Password reset link is invalid or has expired', error: `Email not recognized`, }, passwordUpdate: { samePassword: `You can't use the same password. Please create new password`, }, userNotVerified: `Sorry, your email has not been verified yet`, emailAddressVerificationEmail: { invalidToken: 'Email verification link is invalid or has expired', error: `Email not recognized`, }, }, iam: { errors: { userAlreadyExists: 'User with this email already exists', userNotFound: 'User not found', disablingHimself: `You can't disable yourself`, revokingOwnPermission: `You can't revoke your own owner permission`, deletingHimself: `You can't delete yourself`, emailRequired: 'Email is required', }, }, importer: { errors: { invalidFileEmpty: 'The file is empty', invalidFileExcel: 'Only excel (.xlsx) files are allowed', invalidFileUpload: 'Invalid file. Make sure you are using the last version of the template.', importHashRequired: 'Import hash is required', importHashExistent: 'Data has already been imported', userEmailMissing: 'Some items in the CSV do not have an email', }, }, errors: { forbidden: { message: 'Forbidden', }, validation: { message: 'An error occurred', }, searchQueryRequired: { message: 'Search query is required', }, }, emails: { invitation: { subject: `You've been invited to {0}`, body: `
Hello,
You've been invited to {0} set password for your {1} account.
Thanks,
Your {0} team
`, }, emailAddressVerification: { subject: `Verify your email for {0}`, body: `Hello,
Follow this link to verify your email address.
If you didn't ask to verify this address, you can ignore this email.
Thanks,
Your {1} team
`, }, passwordReset: { subject: `Reset your password for {0}`, body: `Hello,
Follow this link to reset your {0} password for your {1} account.
If you didn't ask to reset your password, you can ignore this email.
Thanks,
Your {0} team
`, }, }, }; module.exports = errors;