import type { Language } from '../lang' const lang: Language = { lang: 'en-us', auth: { submit: 'Submit', ok: 'Ok', cancel: 'Cancel', myAccount: 'My account', navigation: 'Navigation', fields: { email: 'Email', username: 'Username', password: 'Password', repeatPassword: 'Repeat password' }, login: { login: 'Login', passwordForgot: 'Forgot your password?', verificationRequired: 'Please check your email and verify your account first.', invalidCredentials: 'Email address or password is incorrect.', rememberMe: 'Remember me', registerMessage: 'You have not created an account yet?', register: 'Register here.', createAccount: 'Create account' }, consent: { message: (name: string) => `${name} is requesting access to your data.`, deny: 'Deny', allow: 'Allow' }, register: { register: 'Register', invalidData: 'Server could not process the request. Please correct the sent data.', alreadyRegistered: 'Email address is already registered.', accountCreated: 'Your account has been sucessfully created. You can now login with your credentials.', verificationRequired: 'Please check your email to verify your registration. This sometimes can take up to 10 minutes. Please check the spam folder if the email has not been received.', checkEmail: (email: string) => `You want to register with the email address ${email}, is this correct?`, error: 'Something went wrong.' }, verification: { success: 'Your account has been verified. You can now login.', failed: 'Verification has failed or the account has already been verified. Please try to login.', slider: 'Please drag the slider all the way to the right until it turns green.' }, logout: { confirmation: 'Are you sure you want to log out?', confirm: 'Confirm', logout: 'Logout', cancel: 'Cancel' }, password: { forgot: { header: 'Request a new password', checkEmail: 'Please check your email to reset your password. If you do not receive an email, make sure your email adres is registered.', unknownEmail: 'Email address is not registered.' }, reset: { header: 'Reset your password', success: 'Your password has been reset. You can now login with the new password.' } }, validations: { required: 'Field is required.', passwordLength: (length: string | number) => `The minimum length of the password is ${length} characters.`, passwordMatch: 'Passwords do not match.', email: 'A valid email address is required.', username: 'A username may only contain alphanumeric characters.' } } } export default lang