Skip to content
53 changes: 27 additions & 26 deletions src/languages/en.ts
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,7 @@ const translations = {
rotate: 'Rotate',
zoom: 'Zoom',
password: 'Password',
magicCode: 'Magic code',
magicCode: 'Security code',
Comment thread
NikkiWines marked this conversation as resolved.
Outdated
Comment thread
NikkiWines marked this conversation as resolved.
Outdated
digits: 'digits',
twoFactorCode: 'Two-factor code',
workspaces: 'Workspaces',
Expand Down Expand Up @@ -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.",
Expand Down Expand Up @@ -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
Expand All @@ -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(`
Expand Down Expand Up @@ -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.`,
Comment thread
NikkiWines marked this conversation as resolved.
Outdated
},
login: {
hero: {
Expand All @@ -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',
Comment thread
NikkiWines marked this conversation as resolved.
Outdated
launching: 'Launching...',
oneMoment: "One moment while we redirect you to your company's single sign-on portal.",
},
Expand Down Expand Up @@ -2184,16 +2185,16 @@ const translations = {
`Add more ways to log in and send receipts to Expensify.<br/><br/>Add an email address to forward receipts to <a href="mailto:${email}">${email}</a> 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.`,
Comment thread
NikkiWines marked this conversation as resolved.
Outdated
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.',
removeContactMethod: 'Remove contact method',
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.',
Expand Down Expand Up @@ -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 <strong>${login}</strong>.`,
enterMagicCode: (login: string) => `To continue, please enter the magic code sent to <strong>${login}</strong>.`,
enterMagicCode: (login: string) => `To continue, please enter the security code sent to <strong>${login}</strong>.`,
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.',
Comment thread
NikkiWines marked this conversation as resolved.
Outdated
fallback: 'Something went wrong. Please try again later.',
},
},
Expand Down Expand Up @@ -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.`,
Comment thread
NikkiWines marked this conversation as resolved.
Outdated
unexpectedError: 'There was an error trying to get your Expensify card details. Please try again.',
cardFraudAlert: {
confirmButtonText: 'Yes, I do',
Expand Down Expand Up @@ -3141,7 +3142,7 @@ const translations = {
license: `Money transmission is provided by ${CONST.WALLET.PROGRAM_ISSUERS.EXPENSIFY_PAYMENTS} (NMLS ID:2017010) pursuant to its <a href="${CONST.OLD_DOT_PUBLIC_URLS.LICENSES_URL}">licenses</a>.`,
},
validateCodeForm: {
magicCodeNotReceived: "Didn't receive a magic code?",
magicCodeNotReceived: "Didn't receive a security code?",
Comment thread
NikkiWines marked this conversation as resolved.
Outdated
avoidScamsMessage: '<strong>Avoid scams. Do not share your code with anyone.</strong> Our team will never call, text, or email you for this code.',
enterAuthenticatorCode: 'Please enter your authenticator code',
enterRecoveryCode: 'Please enter your recovery code',
Expand All @@ -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.',
Comment thread
NikkiWines marked this conversation as resolved.
Outdated
pleaseFillTwoFactorAuth: 'Please enter your two-factor authentication code',
},
},
Expand Down Expand Up @@ -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.`,
Comment thread
NikkiWines marked this conversation as resolved.
Outdated
},
workEmailValidationError: {
publicEmail: 'Please enter a valid work email from a private domain e.g. mitch@company.com',
Expand Down Expand Up @@ -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.`,
Comment thread
NikkiWines marked this conversation as resolved.
Outdated
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!',
Expand All @@ -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.';
Expand Down Expand Up @@ -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.`,
Comment thread
NikkiWines marked this conversation as resolved.
Outdated
notAllowed: 'Not so fast...',
noAccessMessage: Str.dedent(`
As a copilot, you don't have access to
Expand Down
Loading