From af3427b065bcb8027f81214b73b7758e53d70d0a Mon Sep 17 00:00:00 2001 From: James Dean Date: Wed, 8 May 2024 15:53:46 -0400 Subject: [PATCH 1/3] Update en.ts Minor copy updates --- src/languages/en.ts | 1 - 1 file changed, 1 deletion(-) diff --git a/src/languages/en.ts b/src/languages/en.ts index a822e1c5c3c8..09a881ff2c7c 100755 --- a/src/languages/en.ts +++ b/src/languages/en.ts @@ -422,7 +422,6 @@ export default { getStarted: 'Get started below.', anotherLoginPageIsOpen: 'Another login page is open.', anotherLoginPageIsOpenExplanation: "You've opened the login page in a separate tab, please login from that specific tab.", - welcomeBack: 'Welcome back!', welcome: 'Welcome!', phrase2: "Money talks. And now that chat and payments are in one place, it's also easy.", phrase3: 'Your payments get to you as fast as you can get your point across.', From 8e071a45d00b53197781d9805e479b18aab5ee7f Mon Sep 17 00:00:00 2001 From: James Dean Date: Wed, 8 May 2024 15:54:30 -0400 Subject: [PATCH 2/3] Update es.ts --- src/languages/es.ts | 1 - 1 file changed, 1 deletion(-) diff --git a/src/languages/es.ts b/src/languages/es.ts index 2027fa80f1f6..b698b4daa6bc 100644 --- a/src/languages/es.ts +++ b/src/languages/es.ts @@ -413,7 +413,6 @@ export default { getStarted: 'Comience a continuación.', anotherLoginPageIsOpen: 'Otra página de inicio de sesión está abierta.', anotherLoginPageIsOpenExplanation: 'Ha abierto la página de inicio de sesión en una pestaña separada, inicie sesión desde esa pestaña específica.', - welcomeBack: '¡Bienvenido de nuevo!', welcome: '¡Bienvenido!', phrase2: 'El dinero habla. Y ahora que chat y pagos están en un mismo lugar, es también fácil.', phrase3: 'Tus pagos llegan tan rápido como tus mensajes.', From 12cf4bfa1d5b241eadd0ce2e1a80c6be6c7ad41b Mon Sep 17 00:00:00 2001 From: James Dean Date: Wed, 8 May 2024 15:55:30 -0400 Subject: [PATCH 3/3] Update SignInPage.tsx --- src/pages/signin/SignInPage.tsx | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/pages/signin/SignInPage.tsx b/src/pages/signin/SignInPage.tsx index 38da932af6e8..16aeb7053726 100644 --- a/src/pages/signin/SignInPage.tsx +++ b/src/pages/signin/SignInPage.tsx @@ -209,7 +209,7 @@ function SignInPageInner({credentials, account, activeClients = [], preferredLoc } else if (shouldShowValidateCodeForm) { if (account?.requiresTwoFactorAuth) { // We will only know this after a user signs in successfully, without their 2FA code - welcomeHeader = shouldUseNarrowLayout ? '' : translate('welcomeText.welcomeBack'); + welcomeHeader = shouldUseNarrowLayout ? '' : translate('welcomeText.welcome'); welcomeText = isUsingRecoveryCode ? translate('validateCodeForm.enterRecoveryCode') : translate('validateCodeForm.enterAuthenticatorCode'); } else { const userLogin = Str.removeSMSDomain(credentials?.login ?? ''); @@ -217,9 +217,9 @@ function SignInPageInner({credentials, account, activeClients = [], preferredLoc // replacing spaces with "hard spaces" to prevent breaking the number const userLoginToDisplay = Str.isSMSLogin(userLogin) ? formatPhoneNumber(userLogin).replace(/ /g, '\u00A0') : userLogin; if (account?.validated) { - welcomeHeader = shouldUseNarrowLayout ? '' : translate('welcomeText.welcomeBack'); + welcomeHeader = shouldUseNarrowLayout ? '' : translate('welcomeText.welcome'); welcomeText = shouldUseNarrowLayout - ? `${translate('welcomeText.welcomeBack')} ${translate('welcomeText.welcomeEnterMagicCode', {login: userLoginToDisplay})}` + ? `${translate('welcomeText.welcome')} ${translate('welcomeText.welcomeEnterMagicCode', {login: userLoginToDisplay})}` : translate('welcomeText.welcomeEnterMagicCode', {login: userLoginToDisplay}); } else { welcomeHeader = shouldUseNarrowLayout ? '' : translate('welcomeText.welcome'); @@ -229,7 +229,7 @@ function SignInPageInner({credentials, account, activeClients = [], preferredLoc } } } else if (shouldShowUnlinkLoginForm || shouldShowEmailDeliveryFailurePage || shouldShowChooseSSOOrMagicCode) { - welcomeHeader = shouldUseNarrowLayout ? headerText : translate('welcomeText.welcomeBack'); + welcomeHeader = shouldUseNarrowLayout ? headerText : translate('welcomeText.welcome'); // Don't show any welcome text if we're showing the user the email delivery failed view if (shouldShowEmailDeliveryFailurePage || shouldShowChooseSSOOrMagicCode) {