Skip to content

Commit 4c928c1

Browse files
Replace user-facing 'magic code' copy with 'security code' in en.ts
Co-authored-by: Lauren <laurenreidexpensify@users.noreply.github.com>
1 parent 112c806 commit 4c928c1

1 file changed

Lines changed: 26 additions & 26 deletions

File tree

src/languages/en.ts

Lines changed: 26 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -126,7 +126,7 @@ const translations = {
126126
rotate: 'Rotate',
127127
zoom: 'Zoom',
128128
password: 'Password',
129-
magicCode: 'Magic code',
129+
magicCode: 'Security code',
130130
digits: 'digits',
131131
twoFactorCode: 'Two-factor code',
132132
workspaces: 'Workspaces',
@@ -735,11 +735,11 @@ const translations = {
735735
revoke: {
736736
revoke: 'Revoke',
737737
title: 'Face/fingerprint & passkeys',
738-
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.',
739-
confirmationPrompt: "Are you sure? You'll need a magic code for the next verification on that device.",
740-
confirmationPromptThisDevice: "Are you sure? You'll need a magic code for the next verification on this device.",
741-
confirmationPromptMultiple: "Are you sure? You'll need a magic code for the next verification on those devices.",
742-
confirmationPromptAll: "Are you sure? You'll need a magic code for the next verification on any device.",
738+
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.',
739+
confirmationPrompt: "Are you sure? You'll need a security code for the next verification on that device.",
740+
confirmationPromptThisDevice: "Are you sure? You'll need a security code for the next verification on this device.",
741+
confirmationPromptMultiple: "Are you sure? You'll need a security code for the next verification on those devices.",
742+
confirmationPromptAll: "Are you sure? You'll need a security code for the next verification on any device.",
743743
cta: 'Revoke access',
744744
ctaAll: 'Revoke all',
745745
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 +771,7 @@ const translations = {
771771
you're signed in!
772772
`),
773773
successfulSignInDescription: 'Head back to your original tab to continue.',
774-
title: "Here's your magic code",
774+
title: "Here's your security code",
775775
description: Str.dedent(`
776776
Please enter the code from the device
777777
where it was originally requested
@@ -782,7 +782,7 @@ const translations = {
782782
`),
783783
or: ', or',
784784
signInHere: 'just sign in here',
785-
expiredCodeTitle: 'Magic code expired',
785+
expiredCodeTitle: 'Security code expired',
786786
expiredCodeDescription: 'Go back to the original device and request a new code',
787787
successfulNewCodeRequest: 'Code requested. Please check your device.',
788788
tfaRequiredTitle: Str.dedent(`
@@ -826,7 +826,7 @@ const translations = {
826826
phrase3: 'Your payments get to you as fast as you can get your point across.',
827827
enterPassword: 'Please enter your password',
828828
welcomeNewFace: (login: string) => `${login}, it's always great to see a new face around here!`,
829-
welcomeEnterMagicCode: (login: string) => `Please enter the magic code sent to ${login}. It should arrive within a minute or two.`,
829+
welcomeEnterMagicCode: (login: string) => `Please enter the security code sent to ${login}. It should arrive within a minute or two.`,
830830
},
831831
login: {
832832
hero: {
@@ -836,9 +836,9 @@ const translations = {
836836
},
837837
samlSignIn: {
838838
welcomeSAMLEnabled: 'Continue logging in with single sign-on:',
839-
orContinueWithMagicCode: 'You can also sign in with a magic code',
839+
orContinueWithMagicCode: 'You can also sign in with a security code',
840840
useSingleSignOn: 'Use single sign-on',
841-
useMagicCode: 'Use magic code',
841+
useMagicCode: 'Use security code',
842842
launching: 'Launching...',
843843
oneMoment: "One moment while we redirect you to your company's single sign-on portal.",
844844
},
@@ -2184,16 +2184,16 @@ const translations = {
21842184
`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).`,
21852185
pleaseVerify: 'Please verify this contact method.',
21862186
getInTouch: "We'll use this method to contact you.",
2187-
enterMagicCode: (contactMethod: string) => `Please enter the magic code sent to ${contactMethod}. It should arrive within a minute or two.`,
2187+
enterMagicCode: (contactMethod: string) => `Please enter the security code sent to ${contactMethod}. It should arrive within a minute or two.`,
21882188
setAsDefault: 'Set as default',
21892189
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”.",
21902190
yourDefaultContactMethodRestrictedSwitch: 'This is your current default contact method. Your company has restricted removing or changing it.',
21912191
removeContactMethod: 'Remove contact method',
21922192
removeAreYouSure: "Are you sure you want to remove this contact method? This action can't be undone.",
21932193
failedNewContact: 'Failed to add this contact method.',
21942194
genericFailureMessages: {
2195-
requestContactMethodValidateCode: 'Failed to send a new magic code. Please wait a bit and try again.',
2196-
validateSecondaryLogin: 'Incorrect or invalid magic code. Please try again or request a new code.',
2195+
requestContactMethodValidateCode: 'Failed to send a new security code. Please wait a bit and try again.',
2196+
validateSecondaryLogin: 'Incorrect or invalid security code. Please try again or request a new code.',
21972197
deleteContactMethod: 'Failed to delete contact method. Please reach out to Concierge for help.',
21982198
setDefaultContactMethod: 'Failed to set a new default contact method. Please reach out to Concierge for help.',
21992199
addContactMethod: 'Failed to add this contact method. Please reach out to Concierge for help.',
@@ -2358,9 +2358,9 @@ const translations = {
23582358
accountValidate: {
23592359
confirmMerge: 'Are you sure you want to merge accounts?',
23602360
lossOfUnsubmittedData: (login: string) => `Merging your accounts is irreversible and will result in the loss of any unsubmitted expenses for <strong>${login}</strong>.`,
2361-
enterMagicCode: (login: string) => `To continue, please enter the magic code sent to <strong>${login}</strong>.`,
2361+
enterMagicCode: (login: string) => `To continue, please enter the security code sent to <strong>${login}</strong>.`,
23622362
errors: {
2363-
incorrectMagicCode: 'Incorrect or invalid magic code. Please try again or request a new code.',
2363+
incorrectMagicCode: 'Incorrect or invalid security code. Please try again or request a new code.',
23642364
fallback: 'Something went wrong. Please try again later.',
23652365
},
23662366
},
@@ -2715,7 +2715,7 @@ const translations = {
27152715
cardAddedToWallet: ({platform}: {platform: 'Google' | 'Apple'}) => `Added to ${platform} Wallet`,
27162716
cardDetailsLoadingFailure: 'An error occurred while loading the card details. Please check your internet connection and try again.',
27172717
validateCardTitle: "Let's make sure it's you",
2718-
enterMagicCode: (contactMethod: string) => `Please enter the magic code sent to ${contactMethod} to view your card details. It should arrive within a minute or two.`,
2718+
enterMagicCode: (contactMethod: string) => `Please enter the security code sent to ${contactMethod} to view your card details. It should arrive within a minute or two.`,
27192719
unexpectedError: 'There was an error trying to get your Expensify card details. Please try again.',
27202720
cardFraudAlert: {
27212721
confirmButtonText: 'Yes, I do',
@@ -3141,7 +3141,7 @@ const translations = {
31413141
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>.`,
31423142
},
31433143
validateCodeForm: {
3144-
magicCodeNotReceived: "Didn't receive a magic code?",
3144+
magicCodeNotReceived: "Didn't receive a security code?",
31453145
avoidScamsMessage: '<strong>Avoid scams. Do not share your code with anyone.</strong> Our team will never call, text, or email you for this code.',
31463146
enterAuthenticatorCode: 'Please enter your authenticator code',
31473147
enterRecoveryCode: 'Please enter your recovery code',
@@ -3151,8 +3151,8 @@ const translations = {
31513151
timeRemainingAnnouncement: ({timeRemaining}: {timeRemaining: number}) => `Time remaining: ${timeRemaining} ${timeRemaining === 1 ? 'second' : 'seconds'}`,
31523152
timeExpiredAnnouncement: 'The time has expired',
31533153
error: {
3154-
pleaseFillMagicCode: 'Please enter your magic code',
3155-
incorrectMagicCode: 'Incorrect or invalid magic code. Please try again or request a new code.',
3154+
pleaseFillMagicCode: 'Please enter your security code',
3155+
incorrectMagicCode: 'Incorrect or invalid security code. Please try again or request a new code.',
31563156
pleaseFillTwoFactorAuth: 'Please enter your two-factor authentication code',
31573157
},
31583158
},
@@ -3252,7 +3252,7 @@ const translations = {
32523252
},
32533253
workEmailValidation: {
32543254
title: 'Verify your work email',
3255-
magicCodeSent: (workEmail: string | undefined) => `Please enter the magic code sent to ${workEmail}. It should arrive in a minute or two.`,
3255+
magicCodeSent: (workEmail: string | undefined) => `Please enter the security code sent to ${workEmail}. It should arrive in a minute or two.`,
32563256
},
32573257
workEmailValidationError: {
32583258
publicEmail: 'Please enter a valid work email from a private domain e.g. mitch@company.com',
@@ -3591,11 +3591,11 @@ const translations = {
35913591
},
35923592
resendValidationForm: {
35933593
linkHasBeenResent: 'Link has been re-sent',
3594-
weSentYouMagicSignInLink: (login: string, loginType: string) => `I've sent a magic sign-in link to ${login}. Please check your ${loginType} to sign in.`,
3594+
weSentYouMagicSignInLink: (login: string, loginType: string) => `I've sent a security sign-in link to ${login}. Please check your ${loginType} to sign in.`,
35953595
resendLink: 'Resend link',
35963596
},
35973597
unlinkLoginForm: {
3598-
toValidateLogin: (primaryLogin: string, secondaryLogin: string) => `To validate ${secondaryLogin}, please resend the magic code from the Account Settings of ${primaryLogin}.`,
3598+
toValidateLogin: (primaryLogin: string, secondaryLogin: string) => `To validate ${secondaryLogin}, please resend the security code from the Account Settings of ${primaryLogin}.`,
35993599
noLongerHaveAccess: (primaryLogin: string) => `If you no longer have access to ${primaryLogin}, please unlink your accounts.`,
36003600
unlink: 'Unlink',
36013601
linkSent: 'Link sent!',
@@ -3615,7 +3615,7 @@ const translations = {
36153615
},
36163616
smsDeliveryFailurePage: {
36173617
smsDeliveryFailureMessage: (login: string) => `We've been unable to deliver SMS messages to ${login}, so we've suspended it temporarily. Please try validating your number:`,
3618-
validationSuccess: 'Your number has been validated! Click below to send a new magic sign-in code.',
3618+
validationSuccess: 'Your number has been validated! Click below to send a new security sign-in code.',
36193619
validationFailed: ({timeData}: {timeData?: {days?: number; hours?: number; minutes?: number} | null}) => {
36203620
if (!timeData) {
36213621
return 'Please wait a moment before trying again.';
@@ -10054,8 +10054,8 @@ const translations = {
1005410054
removeCopilotAccessConfirm: 'Remove access',
1005510055
changeAccessLevel: 'Change access level',
1005610056
makeSureItIsYou: "Let's make sure it's you",
10057-
enterMagicCode: (contactMethod: string) => `Please enter the magic code sent to ${contactMethod} to add a copilot. It should arrive within a minute or two.`,
10058-
enterMagicCodeUpdate: (contactMethod: string) => `Please enter the magic code sent to ${contactMethod} to update your copilot.`,
10057+
enterMagicCode: (contactMethod: string) => `Please enter the security code sent to ${contactMethod} to add a copilot. It should arrive within a minute or two.`,
10058+
enterMagicCodeUpdate: (contactMethod: string) => `Please enter the security code sent to ${contactMethod} to update your copilot.`,
1005910059
notAllowed: 'Not so fast...',
1006010060
noAccessMessage: Str.dedent(`
1006110061
As a copilot, you don't have access to

0 commit comments

Comments
 (0)