diff --git a/src/languages/en.ts b/src/languages/en.ts index b38453141ed1..ab10d67302b7 100644 --- a/src/languages/en.ts +++ b/src/languages/en.ts @@ -126,7 +126,7 @@ const translations = { rotate: 'Rotate', zoom: 'Zoom', password: 'Password', - magicCode: 'Magic code', + magicCode: 'Security code', digits: 'digits', twoFactorCode: 'Two-factor code', workspaces: 'Workspaces', @@ -735,11 +735,12 @@ const translations = { revoke: { revoke: 'Revoke', title: 'Face/fingerprint & passkeys', - explanation: 'Face/fingerprint or passkey verification are enabled on one or more devices. Revoking access will require a magic code for the next verification on that device.', - confirmationPrompt: "Are you sure? You'll need a magic code for the next verification on that device.", - confirmationPromptThisDevice: "Are you sure? You'll need a magic code for the next verification on this device.", - confirmationPromptMultiple: "Are you sure? You'll need a magic code for the next verification on those devices.", - confirmationPromptAll: "Are you sure? You'll need a magic code for the next verification on any device.", + explanation: + 'Face/fingerprint or passkey verification are enabled on one or more devices. Revoking access will require a security code for the next verification on that device.', + confirmationPrompt: "Are you sure? You'll need a security code for the next verification on that device.", + confirmationPromptThisDevice: "Are you sure? You'll need a security code for the next verification on this device.", + confirmationPromptMultiple: "Are you sure? You'll need a security code for the next verification on those devices.", + confirmationPromptAll: "Are you sure? You'll need a security code for the next verification on any device.", cta: 'Revoke access', ctaAll: 'Revoke all', noDevices: "You don't have any devices registered for face/fingerprint or passkey verification. If you register any, you will be able to revoke that access here.", @@ -771,7 +772,7 @@ const translations = { you're signed in! `), successfulSignInDescription: 'Head back to your original tab to continue.', - title: "Here's your magic code", + title: "Here's your security code", description: Str.dedent(` Please enter the code from the device where it was originally requested @@ -782,7 +783,7 @@ const translations = { `), or: ', or', signInHere: 'just sign in here', - expiredCodeTitle: 'Magic code expired', + expiredCodeTitle: 'Security code expired', expiredCodeDescription: 'Go back to the original device and request a new code', successfulNewCodeRequest: 'Code requested. Please check your device.', tfaRequiredTitle: Str.dedent(` @@ -826,7 +827,7 @@ const translations = { phrase3: 'Your payments get to you as fast as you can get your point across.', enterPassword: 'Please enter your password', welcomeNewFace: (login: string) => `${login}, it's always great to see a new face around here!`, - welcomeEnterMagicCode: (login: string) => `Please enter the magic code sent to ${login}. It should arrive within a minute or two.`, + welcomeEnterMagicCode: (login: string) => `Please enter the security code sent to ${login}. It should arrive within a minute or two.`, }, login: { hero: { @@ -836,9 +837,9 @@ const translations = { }, samlSignIn: { welcomeSAMLEnabled: 'Continue logging in with single sign-on:', - orContinueWithMagicCode: 'You can also sign in with a magic code', + orContinueWithMagicCode: 'You can also sign in with a security code', useSingleSignOn: 'Use single sign-on', - useMagicCode: 'Use magic code', + useMagicCode: 'Use security code', launching: 'Launching...', oneMoment: "One moment while we redirect you to your company's single sign-on portal.", }, @@ -2184,7 +2185,7 @@ const translations = { `Add more ways to log in and send receipts to Expensify.

Add an email address to forward receipts to ${email} or add a phone number to text receipts to 47777 (US numbers only).`, pleaseVerify: 'Please verify this contact method.', getInTouch: "We'll use this method to contact you.", - enterMagicCode: (contactMethod: string) => `Please enter the magic code sent to ${contactMethod}. It should arrive within a minute or two.`, + enterMagicCode: (contactMethod: string) => `Please enter the security code sent to ${contactMethod}. It should arrive within a minute or two.`, setAsDefault: 'Set as default', yourDefaultContactMethod: "This is your current default contact method. Before you can delete it, you'll need to choose another contact method and click “Set as default”.", yourDefaultContactMethodRestrictedSwitch: 'This is your current default contact method. Your company has restricted removing or changing it.', @@ -2192,8 +2193,8 @@ const translations = { removeAreYouSure: "Are you sure you want to remove this contact method? This action can't be undone.", failedNewContact: 'Failed to add this contact method.', genericFailureMessages: { - requestContactMethodValidateCode: 'Failed to send a new magic code. Please wait a bit and try again.', - validateSecondaryLogin: 'Incorrect or invalid magic code. Please try again or request a new code.', + requestContactMethodValidateCode: 'Failed to send a new security code. Please wait a bit and try again.', + validateSecondaryLogin: 'Incorrect or invalid security code. Please try again or request a new code.', deleteContactMethod: 'Failed to delete contact method. Please reach out to Concierge for help.', setDefaultContactMethod: 'Failed to set a new default contact method. Please reach out to Concierge for help.', addContactMethod: 'Failed to add this contact method. Please reach out to Concierge for help.', @@ -2358,9 +2359,9 @@ const translations = { accountValidate: { confirmMerge: 'Are you sure you want to merge accounts?', lossOfUnsubmittedData: (login: string) => `Merging your accounts is irreversible and will result in the loss of any unsubmitted expenses for ${login}.`, - enterMagicCode: (login: string) => `To continue, please enter the magic code sent to ${login}.`, + enterMagicCode: (login: string) => `To continue, please enter the security code sent to ${login}.`, errors: { - incorrectMagicCode: 'Incorrect or invalid magic code. Please try again or request a new code.', + incorrectMagicCode: 'Incorrect or invalid security code. Please try again or request a new code.', fallback: 'Something went wrong. Please try again later.', }, }, @@ -2715,7 +2716,7 @@ const translations = { cardAddedToWallet: ({platform}: {platform: 'Google' | 'Apple'}) => `Added to ${platform} Wallet`, cardDetailsLoadingFailure: 'An error occurred while loading the card details. Please check your internet connection and try again.', validateCardTitle: "Let's make sure it's you", - enterMagicCode: (contactMethod: string) => `Please enter the magic code sent to ${contactMethod} to view your card details. It should arrive within a minute or two.`, + enterMagicCode: (contactMethod: string) => `Please enter the security code sent to ${contactMethod} to view your card details. It should arrive within a minute or two.`, unexpectedError: 'There was an error trying to get your Expensify card details. Please try again.', cardFraudAlert: { confirmButtonText: 'Yes, I do', @@ -3141,7 +3142,7 @@ const translations = { license: `Money transmission is provided by ${CONST.WALLET.PROGRAM_ISSUERS.EXPENSIFY_PAYMENTS} (NMLS ID:2017010) pursuant to its licenses.`, }, validateCodeForm: { - magicCodeNotReceived: "Didn't receive a magic code?", + magicCodeNotReceived: "Didn't receive a security code?", avoidScamsMessage: 'Avoid scams. Do not share your code with anyone. Our team will never call, text, or email you for this code.', enterAuthenticatorCode: 'Please enter your authenticator code', enterRecoveryCode: 'Please enter your recovery code', @@ -3151,8 +3152,8 @@ const translations = { timeRemainingAnnouncement: ({timeRemaining}: {timeRemaining: number}) => `Time remaining: ${timeRemaining} ${timeRemaining === 1 ? 'second' : 'seconds'}`, timeExpiredAnnouncement: 'The time has expired', error: { - pleaseFillMagicCode: 'Please enter your magic code', - incorrectMagicCode: 'Incorrect or invalid magic code. Please try again or request a new code.', + pleaseFillMagicCode: 'Please enter your security code', + incorrectMagicCode: 'Incorrect or invalid security code. Please try again or request a new code.', pleaseFillTwoFactorAuth: 'Please enter your two-factor authentication code', }, }, @@ -3252,7 +3253,7 @@ const translations = { }, workEmailValidation: { title: 'Verify your work email', - magicCodeSent: (workEmail: string | undefined) => `Please enter the magic code sent to ${workEmail}. It should arrive in a minute or two.`, + magicCodeSent: (workEmail: string | undefined) => `Please enter the security code sent to ${workEmail}. It should arrive in a minute or two.`, }, workEmailValidationError: { publicEmail: 'Please enter a valid work email from a private domain e.g. mitch@company.com', @@ -3591,11 +3592,11 @@ const translations = { }, resendValidationForm: { linkHasBeenResent: 'Link has been re-sent', - weSentYouMagicSignInLink: (login: string, loginType: string) => `I've sent a magic sign-in link to ${login}. Please check your ${loginType} to sign in.`, + weSentYouMagicSignInLink: (login: string, loginType: string) => `I've sent a security sign-in link to ${login}. Please check your ${loginType} to sign in.`, resendLink: 'Resend link', }, unlinkLoginForm: { - toValidateLogin: (primaryLogin: string, secondaryLogin: string) => `To validate ${secondaryLogin}, please resend the magic code from the Account Settings of ${primaryLogin}.`, + toValidateLogin: (primaryLogin: string, secondaryLogin: string) => `To validate ${secondaryLogin}, please resend the security code from the Account Settings of ${primaryLogin}.`, noLongerHaveAccess: (primaryLogin: string) => `If you no longer have access to ${primaryLogin}, please unlink your accounts.`, unlink: 'Unlink', linkSent: 'Link sent!', @@ -3615,7 +3616,7 @@ const translations = { }, smsDeliveryFailurePage: { smsDeliveryFailureMessage: (login: string) => `We've been unable to deliver SMS messages to ${login}, so we've suspended it temporarily. Please try validating your number:`, - validationSuccess: 'Your number has been validated! Click below to send a new magic sign-in code.', + validationSuccess: 'Your number has been validated! Click below to send a new security sign-in code.', validationFailed: ({timeData}: {timeData?: {days?: number; hours?: number; minutes?: number} | null}) => { if (!timeData) { return 'Please wait a moment before trying again.'; @@ -10054,8 +10055,8 @@ const translations = { removeCopilotAccessConfirm: 'Remove access', changeAccessLevel: 'Change access level', makeSureItIsYou: "Let's make sure it's you", - enterMagicCode: (contactMethod: string) => `Please enter the magic code sent to ${contactMethod} to add a copilot. It should arrive within a minute or two.`, - enterMagicCodeUpdate: (contactMethod: string) => `Please enter the magic code sent to ${contactMethod} to update your copilot.`, + enterMagicCode: (contactMethod: string) => `Please enter the security code sent to ${contactMethod} to add a copilot. It should arrive within a minute or two.`, + enterMagicCodeUpdate: (contactMethod: string) => `Please enter the security code sent to ${contactMethod} to update your copilot.`, notAllowed: 'Not so fast...', noAccessMessage: Str.dedent(` As a copilot, you don't have access to