UNPKG

@better-auth-ui/core

Version:

Authentication components and data utilities for [Better Auth](https://better-auth.com), available for React and Solid.

270 lines (269 loc) 11.7 kB
export declare const localization: { auth: { /** @remarks `"Account linked"` */ callbackAccountLinkedTitle: string; /** @remarks `"Your account is now connected."` */ callbackAccountLinkedDescription: string; /** @remarks `"This account is already connected"` */ callbackAccountLinkConflictTitle: string; /** @remarks `"The provider account belongs to a different user or cannot be linked safely."` */ callbackAccountLinkConflictDescription: string; /** @remarks `"Authentication was cancelled"` */ callbackCancelledTitle: string; /** @remarks `"No changes were made. You can try again when you are ready."` */ callbackCancelledDescription: string; /** @remarks `"We could not complete authentication"` */ callbackFailedTitle: string; /** @remarks `"The callback could not be verified. Return to sign in and try again."` */ callbackFailedDescription: string; /** @remarks `"Continue"` */ callbackContinue: string; /** @remarks `"Email verified"` */ callbackEmailVerifiedTitle: string; /** @remarks `"Your email address is verified. You can continue to your account."` */ callbackEmailVerifiedDescription: string; /** @remarks `"Verify your email first"` */ callbackEmailNotVerifiedTitle: string; /** @remarks `"Check your inbox for a verification link before you sign in."` */ callbackEmailNotVerifiedDescription: string; /** @remarks `"This link has expired"` */ callbackExpiredLinkTitle: string; /** @remarks `"Request a new link and use the most recent message in your inbox."` */ callbackExpiredLinkDescription: string; /** @remarks `"Something went wrong"` */ callbackGenericErrorTitle: string; /** @remarks `"We could not finish this request. Return to sign in and try again."` */ callbackGenericErrorDescription: string; /** @remarks `"All set"` */ callbackGenericSuccessTitle: string; /** @remarks `"Authentication completed successfully."` */ callbackGenericSuccessDescription: string; /** @remarks `"Email address unavailable"` */ callbackMissingEmailTitle: string; /** @remarks `"The provider did not share an email address. Try another sign-in method."` */ callbackMissingEmailDescription: string; /** @remarks `"Password reset"` */ callbackPasswordResetTitle: string; /** @remarks `"Your password was reset. Sign in with your new password."` */ callbackPasswordResetDescription: string; /** @remarks `"Account created"` */ callbackSignupCompleteTitle: string; /** @remarks `"Your account is ready. You can continue."` */ callbackSignupCompleteDescription: string; /** @remarks `"Sign-up is unavailable"` */ callbackSignupDisabledTitle: string; /** @remarks `"New accounts cannot be created with this sign-in method. Try signing in instead."` */ callbackSignupDisabledDescription: string; /** @remarks `"Account settings"` */ callbackViewAccountSettings: string; /** @remarks `"Account"` */ account: string; /** @remarks `"Already have an account?"` */ alreadyHaveAnAccount: string; /** @remarks `"Already verified your email?"` */ alreadyVerifiedYourEmail: string; /** @remarks `"Confirm password"` */ confirmPassword: string; /** @remarks `"Confirm your password"` */ confirmPasswordPlaceholder: string; /** @remarks `"Check your email for a verification link"` */ checkYourEmail: string; /** @remarks `"Check your email"` */ checkYourEmailTitle: string; /** @remarks `"Continue with {{provider}}"` */ continueWith: string; /** @remarks `"Email"` */ email: string; /** @remarks `"m@example.com"` */ emailPlaceholder: string; /** @remarks `"This field is required"` */ fieldRequired: string; /** @remarks `"Forgot Password"` */ forgotPassword: string; /** @remarks `"Forgot password?"` */ forgotPasswordLink: string; /** @remarks `"Hide password"` */ hidePassword: string; /** @remarks `"Please enter a valid email address"` */ invalidEmail: string; /** @remarks `"Invalid reset password token"` */ invalidResetPasswordToken: string; /** @remarks `"Name"` */ name: string; /** @remarks `"Name"` */ namePlaceholder: string; /** @remarks `"Need to create an account?"` */ needToCreateAnAccount: string; /** @remarks `"New password"` */ newPassword: string; /** @remarks `"New password"` */ newPasswordPlaceholder: string; /** @remarks `"Open {{provider}}"` */ openEmailProvider: string; /** @remarks `"OR"` */ or: string; /** @remarks `" (optional)"` */ optional: string; /** @remarks `"Password"` */ password: string; /** @remarks `"This password has appeared in a data breach. Pick a different one."` */ passwordCompromised: string; /** @remarks `"Fair"` */ passwordFair: string; /** @remarks `"Good"` */ passwordGood: string; /** @remarks `"Password"` */ passwordPlaceholder: string; /** @remarks `"Password reset email sent"` */ passwordResetEmailSent: string; /** @remarks `"Unable to reset your password. Try again."` */ passwordResetErrorDescription: string; /** @remarks `"Password reset successfully"` */ passwordResetSuccess: string; /** @remarks `"Password reset successfully. You can sign in with your new password."` */ passwordResetSuccessDescription: string; /** @remarks `"Password strength"` */ passwordStrength: string; /** @remarks `"Strong"` */ passwordStrong: string; /** @remarks `"Weak"` */ passwordWeak: string; /** @remarks `"Passwords do not match"` */ passwordsDoNotMatch: string; /** @remarks `"Remember me"` */ rememberMe: string; /** @remarks `"Must be at most {{max}} characters"` */ tooLong: string; /** @remarks `"Must be at least {{min}} characters"` */ tooShort: string; /** @remarks `"Remember your password?"` */ rememberYourPassword: string; /** @remarks `"Resend"` */ resend: string; /** @remarks `"Resend in {{seconds}}s"` */ resendIn: string; /** @remarks `"We sent a password reset link to {{email}}"` */ resetLinkSentTo: string; /** @remarks `"Reset Password"` */ resetPassword: string; /** @remarks `"Send reset link"` */ sendResetLink: string; /** @remarks `"Scan to open {{provider}} on your phone"` */ scanToOpenEmailProvider: string; /** @remarks `"Show password"` */ showPassword: string; /** @remarks `"Sign In"` */ signIn: string; /** @remarks `"Sign Out"` */ signOut: string; /** @remarks `"Sign Up"` */ signUp: string; /** @remarks `"Verification email sent!"` */ verificationEmailSent: string; /** @remarks `"Verify Email"` */ verifyEmail: string; }; settings: { /** @remarks `"Account"` */ account: string; /** @remarks `"Account unlinked"` */ accountUnlinked: string; /** @remarks `"Active"` */ active: string; /** @remarks `"Active sessions"` */ activeSessions: string; /** @remarks `"Sign in again"` */ reauthenticationTitle: string; /** @remarks `"Please sign in again to verify it’s you before continuing."` */ reauthenticationDescription: string; /** @remarks `"Sign in again"` */ reauthenticationAction: string; /** @remarks `"Avatar"` */ avatar: string; /** @remarks `"Current session"` */ currentSession: string; /** @remarks `"Avatar changed successfully"` */ avatarChangedSuccess: string; /** @remarks `"Avatar deleted successfully"` */ avatarDeletedSuccess: string; /** @remarks `"Change avatar"` */ changeAvatar: string; /** @remarks `"Delete avatar"` */ deleteAvatar: string; /** @remarks `"Link"` */ link: string; /** @remarks `"Linked accounts"` */ linkedAccounts: string; /** @remarks `"Link another sign-in method before unlinking this account."` */ lastAccountUnlinkingDisabled: string; /** @remarks `"Link your {{provider}} account"` */ linkProvider: string; /** @remarks `"Cancel"` */ cancel: string; /** @remarks `"Copy to clipboard"` */ copyToClipboard: string; /** @remarks `"Copied to clipboard"` */ copiedToClipboard: string; /** @remarks `"Change email"` */ changeEmail: string; /** @remarks `"Check your email to confirm the change"` */ changeEmailSuccess: string; /** @remarks `"Change password"` */ changePassword: string; /** @remarks `"Password changed successfully"` */ changePasswordSuccess: string; /** @remarks `"Current password"` */ currentPassword: string; /** @remarks `"Enter your current password"` */ currentPasswordPlaceholder: string; /** @remarks `"Danger zone"` */ dangerZone: string; /** @remarks `"Delete"` */ delete: string; /** @remarks `"Optional"` */ optional: string; /** @remarks `"Profile updated successfully"` */ profileUpdatedSuccess: string; /** @remarks `"Revoke"` */ revoke: string; /** @remarks `"Revoke session"` */ revokeSession: string; /** @remarks `"Session revoked successfully"` */ revokeSessionSuccess: string; /** @remarks `"Sign out other devices"` */ signOutOtherDevices: string; /** @remarks `"This signs you out on every device except this one."` */ signOutOtherDevicesDescription: string; /** @remarks `"Other devices signed out successfully"` */ signOutOtherDevicesSuccess: string; /** @remarks `"Sign out everywhere"` */ signOutEverywhere: string; /** @remarks `"This signs you out on this device and every other device."` */ signOutEverywhereDescription: string; /** @remarks `"Save changes"` */ saveChanges: string; /** @remarks `"Set password"` */ setPassword: string; /** @remarks `"You don't have a password yet. Request a reset link to set one up."` */ setPasswordDescription: string; /** @remarks `"Security"` */ security: string; /** @remarks `"Settings"` */ settings: string; /** @remarks `"Time"` */ time: string; /** @remarks `"Unlink {{provider}}"` */ unlinkProvider: string; /** @remarks `"Update email"` */ updateEmail: string; /** @remarks `"Update password"` */ updatePassword: string; /** @remarks `"Upload avatar"` */ uploadAvatar: string; /** @remarks `"User profile"` */ userProfile: string; }; }; export type Localization = typeof localization; export type AuthLocalization = Localization["auth"]; export type SettingsLocalization = Localization["settings"];