|
| 1 | +import { registerLocale } from "@invertase/firebaseui-translations"; |
| 2 | + |
| 3 | +export const pirate = registerLocale("pirate", { |
| 4 | + errors: { |
| 5 | + userNotFound: "Arrr! No account found with this email address, matey", |
| 6 | + wrongPassword: "Arrr! Incorrect password, ye scallywag", |
| 7 | + invalidEmail: "Avast! Enter a valid email address, ye bilge rat", |
| 8 | + userDisabled: "This account has been marooned, arrr!", |
| 9 | + networkRequestFailed: "Can't connect to the server, ye land lubber! Check yer internet connection", |
| 10 | + tooManyRequests: "Too many failed attempts, ye scurvy dog! Try again later", |
| 11 | + missingVerificationCode: "Enter the verification code, ye scallywag", |
| 12 | + emailAlreadyInUse: "An account already exists with this email, arrr!", |
| 13 | + invalidCredential: "The credentials ye provided be invalid, matey", |
| 14 | + weakPassword: "Ye password ain't long enough! It should be at least 8 characters", |
| 15 | + unverifiedEmail: "Verify yer email address to continue, ye scallywag", |
| 16 | + operationNotAllowed: "This operation ain't allowed, arrr! Contact support, matey", |
| 17 | + invalidPhoneNumber: "The phone number be invalid, ye bilge rat", |
| 18 | + missingPhoneNumber: "Provide a phone number, ye scallywag", |
| 19 | + quotaExceeded: "SMS quota exceeded, arrr! Try again later, matey", |
| 20 | + codeExpired: "The verification code has expired, ye scurvy dog", |
| 21 | + captchaCheckFailed: "reCAPTCHA verification failed, arrr! Try again, matey", |
| 22 | + missingVerificationId: "Complete the reCAPTCHA verification first, ye scallywag", |
| 23 | + missingEmail: "Provide an email address, ye bilge rat", |
| 24 | + invalidActionCode: "The password reset link be invalid or has expired, arrr!", |
| 25 | + credentialAlreadyInUse: "An account already exists with this email, arrr! Sign in with that account, matey", |
| 26 | + requiresRecentLogin: "This operation requires a recent login, ye scallywag! Sign in again", |
| 27 | + providerAlreadyLinked: "This phone number be already linked to another account, arrr!", |
| 28 | + invalidVerificationCode: "Invalid verification code, ye scurvy dog! Try again", |
| 29 | + unknownError: "An unexpected error occurred, arrr!", |
| 30 | + popupClosed: "The sign-in popup was closed, ye scallywag! Try again", |
| 31 | + accountExistsWithDifferentCredential: |
| 32 | + "An account already exists with this email, arrr! Sign in with the original provider, matey", |
| 33 | + displayNameRequired: "Provide a display name, ye bilge rat", |
| 34 | + secondFactorAlreadyInUse: "This phone number be already enrolled with this account, arrr!", |
| 35 | + }, |
| 36 | + messages: { |
| 37 | + passwordResetEmailSent: "Password reset email sent successfully, arrr!", |
| 38 | + signInLinkSent: "Sign-in link sent successfully, matey!", |
| 39 | + verificationCodeFirst: "Request a verification code first, ye scallywag", |
| 40 | + checkEmailForReset: "Check yer email for password reset instructions, ye bilge rat", |
| 41 | + dividerOr: "or", |
| 42 | + termsAndPrivacy: "By continuing, ye agree to our {tos} and {privacy}, arrr!", |
| 43 | + mfaSmsAssertionPrompt: |
| 44 | + "A verification code will be sent to {phoneNumber} to complete the authentication process, matey.", |
| 45 | + }, |
| 46 | + labels: { |
| 47 | + emailAddress: "Email Address, ye bilge rat", |
| 48 | + password: "Password, ye scallywag", |
| 49 | + displayName: "Display Name, ye bilge rat", |
| 50 | + forgotPassword: "Forgot Password, ye scallywag?", |
| 51 | + signUp: "Sign Up, Matey", |
| 52 | + signIn: "Sign In, Matey", |
| 53 | + resetPassword: "Reset Password, ye scallywag", |
| 54 | + createAccount: "Create Account, ye bilge rat", |
| 55 | + backToSignIn: "Back to Sign In, ye scallywag", |
| 56 | + signInWithPhone: "Sign in with Phone, ye scallywag", |
| 57 | + phoneNumber: "Phone Number, ye bilge rat", |
| 58 | + verificationCode: "Verification Code, ye scallywag", |
| 59 | + sendCode: "Send Code, ye scallywag", |
| 60 | + verifyCode: "Verify Code, ye scallywag", |
| 61 | + signInWithGoogle: "Sign in with ye Google Account", |
| 62 | + signInWithFacebook: "Sign in with ye Facebook Account", |
| 63 | + signInWithApple: "Sign in with ye Apple Account", |
| 64 | + signInWithMicrosoft: "Sign in with ye Microsoft Account", |
| 65 | + signInWithGitHub: "Sign in with ye GitHub Account", |
| 66 | + signInWithTwitter: "Sign in with ye X Account", |
| 67 | + signInWithEmailLink: "Sign in with Email Link", |
| 68 | + sendSignInLink: "Send Sign-in Link", |
| 69 | + termsOfService: "Terms of Service", |
| 70 | + privacyPolicy: "Privacy Policy", |
| 71 | + resendCode: "Resend ye Code", |
| 72 | + sending: "Firing...", |
| 73 | + multiFactorEnrollment: "Multi-factor Enrrrrrrollment!", |
| 74 | + multiFactorAssertion: "Multi-factor Authentication, arrr!", |
| 75 | + mfaTotpVerification: "TOTP Verification, arrr!", |
| 76 | + mfaSmsVerification: "SMS Verification, arrr!", |
| 77 | + generateQrCode: "Generate ye QR Code", |
| 78 | + }, |
| 79 | + prompts: { |
| 80 | + noAccount: "Don't have an account, ye scallywag?", |
| 81 | + haveAccount: "Already have an account, matey?", |
| 82 | + enterEmailToReset: "Enter yer email address to reset yer password, ye bilge rat", |
| 83 | + signInToAccount: "Sign in to yer account, matey", |
| 84 | + smsVerificationPrompt: "Enter the verification code sent to yer phone number, ye scallywag", |
| 85 | + enterDetailsToCreate: "Enter yer details to create a new account, ye bilge rat", |
| 86 | + enterPhoneNumber: "Enter yer phone number, matey", |
| 87 | + enterVerificationCode: "Enter the verification code, ye scallywag", |
| 88 | + enterEmailForLink: "Enter yer email to receive a sign-in link, ye bilge rat", |
| 89 | + mfaEnrollmentPrompt: "Select a new multi-factor enrollment method, arrr!", |
| 90 | + mfaAssertionPrompt: "Complete the multi-factor authentication process, ye scallywag", |
| 91 | + mfaAssertionFactorPrompt: "Choose a multi-factor authentication method, matey", |
| 92 | + mfaTotpQrCodePrompt: "Scan this QR code with yer authenticator app, ye bilge rat", |
| 93 | + mfaTotpEnrollmentVerificationPrompt: "Add the code generated by yer authenticator app, arrr!", |
| 94 | + }, |
| 95 | +}); |
0 commit comments