From 9a621327e76aa2ad5a108519fdfb424270678ddc Mon Sep 17 00:00:00 2001 From: Zainab Amir Date: Mon, 10 May 2021 14:10:30 +0500 Subject: [PATCH] fix: update header and toggle text based on figma designs (#276) --- src/common-components/Logistration.jsx | 2 +- src/common-components/messages.jsx | 8 ++++---- .../tests/__snapshots__/ThirdPartyAuthAlert.test.jsx.snap | 2 +- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/src/common-components/Logistration.jsx b/src/common-components/Logistration.jsx index 50e0913c..fee4ae81 100644 --- a/src/common-components/Logistration.jsx +++ b/src/common-components/Logistration.jsx @@ -20,7 +20,7 @@ const Logistration = (props) => { {intl.formatMessage(messages['logistration.register'])} - {intl.formatMessage(messages['logistration.login'])} + {intl.formatMessage(messages['logistration.sign.in'])}
diff --git a/src/common-components/messages.jsx b/src/common-components/messages.jsx index f47f4115..77c36db8 100644 --- a/src/common-components/messages.jsx +++ b/src/common-components/messages.jsx @@ -24,9 +24,9 @@ const messages = defineMessages({ description: 'Part of message that appears after user requests password change', }, // Logistration strinsg - 'logistration.login': { - id: 'logistration.login', - defaultMessage: 'Login', + 'logistration.sign.in': { + id: 'logistration.sign.in', + defaultMessage: 'Sign in', description: 'Text that appears on the tab to switch between login and register', }, 'logistration.register': { @@ -110,7 +110,7 @@ const messages = defineMessages({ // third party auth 'tpa.alert.heading': { id: 'tpa.alert.heading', - defaultMessage: 'Almost done', + defaultMessage: 'Almost done!', description: 'Success alert heading after user has successfully signed in with social auth', }, 'login.third.party.auth.account.not.linked': { diff --git a/src/common-components/tests/__snapshots__/ThirdPartyAuthAlert.test.jsx.snap b/src/common-components/tests/__snapshots__/ThirdPartyAuthAlert.test.jsx.snap index 5d6e06b8..094b43d4 100644 --- a/src/common-components/tests/__snapshots__/ThirdPartyAuthAlert.test.jsx.snap +++ b/src/common-components/tests/__snapshots__/ThirdPartyAuthAlert.test.jsx.snap @@ -21,7 +21,7 @@ exports[`ThirdPartyAuthAlert should match register page third party auth alert m
- Almost done + Almost done!

You've successfully signed into Google! We just need a little more information before you start learning with edX.