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