UNPKG

aau-auth-kit-ui

Version:

Plug & play shadcn/ui components for aau-auth-kit with Next.js integration

537 lines (360 loc) 17.8 kB
export const authLocalization = { /** @default "Account" */ account: "Account", /** @default "Accounts" */ accounts: "Accounts", /** @default "Manage your currently signed in accounts." */ accountsDescription: "Switch between your currently signed in accounts.", /** @default "Sign in to an additional account." */ accountsInstructions: "Sign in to an additional account.", /** @default "Add Account" */ addAccount: "Add Account", /** @default "Add Passkey" */ addPasskey: "Add Passkey", /** @default "Already have an account?" */ alreadyHaveAnAccount: "Already have an account?", /** @default "Avatar" */ avatar: "Avatar", /** @default "Click on the avatar to upload a custom one from your files." */ avatarDescription: "Click on the avatar to upload a custom one from your files.", /** @default "An avatar is optional but strongly recommended." */ avatarInstructions: "An avatar is optional but strongly recommended.", /** @default "Backup code is required" */ backupCodeRequired: "Backup code is required", /** @default "Backup Codes" */ backupCodes: "Backup Codes", /** @default "Save these backup codes in a secure place. You can use them to access your account if you lose your two-factor authentication method." */ backupCodesDescription: "Save these backup codes in a secure place. You can use them to access your account if you lose your two-factor authentication method.", /** @default "Enter one of your backup codes. Once used, each code can only be used once and will be invalidated after use." */ backupCodePlaceholder: "Backup Code", /** @default "Backup Code" */ backupCode: "Backup Code", /** @default "Recover account" */ backupCodeAction: "Recover account", /** @default "Cancel" */ cancel: "Cancel", /** @default "Change Password" */ changePassword: "Change Password", /** @default "Enter your current password and a new password." */ changePasswordDescription: "Enter your current password and a new password.", /** @default "Please use 8 characters at minimum." */ changePasswordInstructions: "Please use 8 characters at minimum.", /** @default "Your password has been changed." */ changePasswordSuccess: "Your password has been changed.", /** @default "Confirm Password" */ confirmPassword: "Confirm Password", /** @default "Confirm Password" */ confirmPasswordPlaceholder: "Confirm Password", /** @default "Confirm password is required" */ confirmPasswordRequired: "Confirm password is required", /** @default "Continue with Authenticator" */ continueWithAuthenticator: "Continue with Authenticator", /** @default "Copied to clipboard" */ copiedToClipboard: "Copied to clipboard", /** @default "Copy all codes" */ copyAllCodes: "Copy all codes", /** @default "Continue" */ continue: "Continue", /** @default "Current Password" */ currentPassword: "Current Password", /** @default "Current Password" */ currentPasswordPlaceholder: "Current Password", /** @default "Current Session" */ currentSession: "Current Session", /** @default "Delete" */ delete: "Delete", /** @default "Delete Account" */ deleteAccount: "Delete Account", /** @default "Permanently remove your account and all of its contents. This action is not reversible, so please continue with caution." */ deleteAccountDescription: "Permanently remove your account and all of its contents. This action is not reversible, so please continue with caution.", /** @default "Please confirm the deletion of your account. This action is not reversible, so please continue with caution." */ deleteAccountInstructions: "Please confirm the deletion of your account. This action is not reversible, so please continue with caution.", /** @default "Please check your email to verify the deletion of your account." */ deleteAccountVerify: "Please check your email to verify the deletion of your account.", /** @default "Your account has been deleted." */ deleteAccountSuccess: "Your account has been deleted.", /** @default "You must be recently logged in to delete your account." */ deleteAccountNotFresh: "You must be recently logged in to delete your account.", /** @default "Disable" */ disable: "Disable", /** @default "Choose a provider to login to your account" */ disabledCredentialsDescription: "Choose a provider to login to your account", /** @default "Don't have an account?" */ dontHaveAnAccount: "Don't have an account?", /** @default "Email" */ email: "Email", /** @default "Enter the email address you want to use to log in." */ emailDescription: "Enter the email address you want to use to log in.", /** @default "Please enter a valid email address." */ emailInstructions: "Please enter a valid email address.", /** @default "Email address is invalid" */ emailInvalid: "Email address is invalid", /** @default "Phone" */ phone: "Phone", /** @default "Phone Number" */ phoneNumber: "Phone Number", /** @default "Enter your phone number" */ phonePlaceholder: "+1 (555) 123-4567", /** @default "Please enter a valid phone number" */ phoneInvalid: "Please enter a valid phone number", /** @default "We'll send you a verification code" */ phoneDescription: "We'll send you a verification code", /** @default "Verification code sent successfully" */ otpSent: "Verification code sent successfully", /** @default "Phone number verified successfully" */ phoneVerified: "Phone number verified successfully", /** @default "Verify" */ verifyPhoneNumber: "Verify", /** @default "Enter the verification code sent to" */ enterVerificationCode: "Enter the 6-digit code sent to", /** @default "Verification Code" */ verificationCode: "Verification Code", /** @default "Resend Code" */ resendCode: "Resend Code", /** @default "One Time Password" */ oneTimePassword: "One Time Password", /** @default "Email is the same" */ emailIsTheSame: "Email is the same", /** @default "m@example.com" */ emailPlaceholder: "m@example.com", /** @default "Email address is required" */ emailRequired: "Email address is required", /** @default "Please check your email to verify the change." */ emailVerifyChange: "Please check your email to verify the change.", /** @default "Please check your email for the verification link." */ emailVerification: "Please check your email for the verification link.", /** @default "Enable" */ enable: "Enable", /** @default "Error" */ error: "Error", /** @default "is invalid" */ isInvalid: "is invalid", /** @default "is required" */ isRequired: "is required", /** @default "is the same" */ isTheSame: "is the same", /** @default "Forgot authenticator?" */ forgotAuthenticator: "Forgot authenticator?", /** @default "Forgot Password" */ forgotPassword: "Forgot Password", /** @default "Send reset link" */ forgotPasswordAction: "Send reset link", /** @default "Enter your email to reset your password" */ forgotPasswordDescription: "Enter your email to reset your password", /** @default "Check your email for the password reset link." */ forgotPasswordEmail: "Check your email for the password reset link.", /** @default "Forgot your password?" */ forgotPasswordLink: "Forgot your password?", /** @default "Invalid two factor cookie" */ invalidTwoFactorCookie: "Invalid two factor cookie", /** @default "Link" */ link: "Link", /** @default "Magic Link" */ magicLink: "Magic Link", /** @default "Send magic link" */ magicLinkAction: "Send magic link", /** @default "Enter your email to receive a magic link" */ magicLinkDescription: "Enter your email to receive a magic link", /** @default "Check your email for the magic link" */ magicLinkEmail: "Check your email for the magic link", /** @default "Email Code" */ emailOTP: "Email Code", /** @default "Send code" */ emailOTPSendAction: "Send code", /** @default "Verify code" */ emailOTPVerifyAction: "Verify code", /** @default "Enter your email to receive a code" */ emailOTPDescription: "Enter your email to receive a code", /** @default "Please check your email for the verification code." */ emailOTPVerificationSent: "Please check your email for the verification code.", /** @default "Name" */ name: "Name", /** @default "Please enter your full name, or a display name." */ nameDescription: "Please enter your full name, or a display name.", /** @default "Please use 32 characters at maximum." */ nameInstructions: "Please use 32 characters at maximum.", /** @default "Name" */ namePlaceholder: "Name", /** @default "New Password" */ newPassword: "New Password", /** @default "New Password" */ newPasswordPlaceholder: "New Password", /** @default "New password is required" */ newPasswordRequired: "New password is required", /** @default "Or continue with" */ orContinueWith: "Or continue with", /** @default "Passkey" */ passkey: "Passkey", /** @default "Passkeys" */ passkeys: "Passkeys", /** @default "Manage your passkeys for secure access." */ passkeysDescription: "Manage your passkeys for secure access.", /** @default "Securely access your account without a password." */ passkeysInstructions: "Securely access your account without a password.", /** @default "Password" */ password: "Password", /** @default "Password" */ passwordPlaceholder: "Password", /** @default "Password is required" */ passwordRequired: "Password is required", /** @default "Passwords do not match" */ passwordsDoNotMatch: "Passwords do not match", /** @default "Providers" */ providers: "Providers", /** @default "Connect your account with a third-party service." */ providersDescription: "Connect your account with a third-party service.", /** @default "Recover Account" */ recoverAccount: "Recover Account", /** @default "Recover account" */ recoverAccountAction: "Recover account", /** @default "Please enter a backup code to access your account" */ recoverAccountDescription: "Please enter a backup code to access your account", /** @default "Remember me" */ rememberMe: "Remember me", /** @default "Resend verification email" */ resendVerificationEmail: "Resend Verification Email", /** @default "Reset Password" */ resetPassword: "Reset Password", /** @default "Save new password" */ resetPasswordAction: "Save new password", /** @default "Enter your new password below" */ resetPasswordDescription: "Enter your new password below", /** @default "Invalid reset password link" */ resetPasswordInvalidToken: "Invalid reset password link", /** @default "Password reset successfully" */ resetPasswordSuccess: "Password reset successfully", /** @default "Request failed" */ requestFailed: "Request failed", /** @default "Revoke" */ revoke: "Revoke", /** @default "Sign In" */ signIn: "Sign In", /** @default "Sign In" */ signInPhone: "Sign In", /** @default "Login" */ signInAction: "Login", /** @default "Enter your email below to login to your account" */ signInDescription: "Enter your email below to login to your account", /** @default "Enter your username or email below to login to your account" */ signInUsernameDescription: "Enter your username or email to login to your account", /** @default "Sign in with" */ signInWith: "Sign in with", /** @default "Sign Out" */ signOut: "Sign Out", /** @default "Sign Up" */ signUp: "Sign Up", /** @default "Create an account" */ signUpAction: "Create an account", /** @default "Enter your information to create an account" */ signUpDescription: "Enter your information to create an account", /** @default "Check your email for the verification link." */ signUpEmail: "Check your email for the verification link.", /** @default "Sessions" */ sessions: "Sessions", /** @default "Manage your active sessions and revoke access." */ sessionsDescription: "Manage your active sessions and revoke access.", /** @default "Set Password" */ setPassword: "Set Password", /** @default "Click the button below to receive an email to set up a password for your account." */ setPasswordDescription: "Click the button below to receive an email to set up a password for your account.", /** @default "Settings" */ settings: "Settings", /** @default "Save" */ save: "Save", /** @default "Security" */ security: "Security", /** @default "Switch Account" */ switchAccount: "Switch Account", /** @default "Trust this device" */ trustDevice: "Trust this device", /** @default "Two-Factor" */ twoFactor: "Two-Factor", /** @default "Verify code" */ twoFactorAction: "Verify code", /** @default "Please enter your one-time password to continue" */ twoFactorDescription: "Please enter your one-time password to continue", /** @default "Add an extra layer of security to your account." */ twoFactorCardDescription: "Add an extra layer of security to your account.", /** @default "Please enter your password to disable 2FA." */ twoFactorDisableInstructions: "Please enter your password to disable 2FA.", /** @default "Please enter your password to enable 2FA" */ twoFactorEnableInstructions: "Please enter your password to enable 2FA.", /** @default "Two-factor authentication has been enabled" */ twoFactorEnabled: "Two-factor authentication has been enabled", /** @default "Two-Factor Authentication has been disabled" */ twoFactorDisabled: "Two-Factor Authentication has been disabled", /** @default "Two-Factor Authentication" */ twoFactorPrompt: "Two-Factor Authentication", /** @default "Scan the QR Code with your Authenticator" */ twoFactorTotpLabel: "Scan the QR Code with your Authenticator", /** @default "Send verification code" */ sendVerificationCode: "Send verification code", /** @default "Unlink" */ unlink: "Unlink", /** @default "Updated successfully" */ updatedSuccessfully: "updated successfully", /** @default "Username" */ username: "Username", /** @default "Enter the username you want to use to log in." */ usernameDescription: "Enter the username you want to use to log in.", /** @default "Please use 32 characters at maximum." */ usernameInstructions: "Please use 32 characters at maximum.", /** @default "Username" */ usernamePlaceholder: "Username", /** @default "Username or email" */ signInUsernamePlaceholder: "Username or email", /** @default "Verify Your Email" */ verifyYourEmail: "Verify Your Email", /** @default "Please verify your email address. Check your inbox for the verification email. If you haven't received the email, click the button below to resend." */ verifyYourEmailDescription: "Please verify your email address. Check your inbox for the verification email. If you haven't received the email, click the button below to resend.", /** @default "Go back" */ goBack: "Go back", /** @default "Invalid password" */ invalidPassword: "Invalid password", /** @default "Password too short" */ passwordTooShort: "Password too short", // Admin-related messages /** @default "Admin" */ admin: "Admin", /** @default "Users" */ users: "Users", /** @default "Create User" */ createUser: "Create User", /** @default "Creating..." */ creatingUser: "Creating...", /** @default "User created successfully" */ userCreatedSuccess: "User created successfully", /** @default "Failed to create user" */ userCreatedError: "Failed to create user. Please try again.", // Keep the existing nameRequired property as it's used elsewhere /** @default "Name is required for admin user" */ adminNameRequired: "Name is required", /** @default "Email is required for admin user" */ adminEmailRequired: "Email is required", /** @default "Invalid email address for admin user" */ adminEmailInvalid: "Invalid email address", /** @default "Password must be at least 8 characters" */ passwordMinLength: "Password must be at least 8 characters", /** @default "Role is required" */ adminRoleRequired: "Role is required", /** @default "User banned successfully" */ userBannedSuccess: "User has been banned successfully", /** @default "Failed to ban user" */ userBannedError: "Failed to ban user. Please try again.", /** @default "User unbanned successfully" */ userUnbannedSuccess: "User has been unbanned successfully", /** @default "Failed to unban user" */ userUnbannedError: "Failed to unban user. Please try again.", /** @default "User removed successfully" */ userRemovedSuccess: "User has been removed successfully", /** @default "Failed to remove user" */ userRemovedError: "Failed to remove user. Please try again.", /** @default "Failed to fetch users" */ fetchUsersError: "Failed to fetch users. Please try again." } export type AuthLocalization = Partial<typeof authLocalization>