From 7e588e7666f3164a06d9d4b0004e3abb39807b6a Mon Sep 17 00:00:00 2001 From: Vishnu Mohandas Date: Mon, 15 Feb 2021 16:35:41 +0530 Subject: [PATCH] Update verification screen --- public/email_sent.svg | 1 - src/pages/verify/index.tsx | 3 +-- src/utils/strings/englishConstants.tsx | 32 +++++++++++++------------- 3 files changed, 17 insertions(+), 19 deletions(-) delete mode 100644 public/email_sent.svg diff --git a/public/email_sent.svg b/public/email_sent.svg deleted file mode 100644 index 01de333d3..000000000 --- a/public/email_sent.svg +++ /dev/null @@ -1 +0,0 @@ -new message \ No newline at end of file diff --git a/src/pages/verify/index.tsx b/src/pages/verify/index.tsx index 198e2569e..dd3a02360 100644 --- a/src/pages/verify/index.tsx +++ b/src/pages/verify/index.tsx @@ -82,10 +82,9 @@ export default function Verify() { return ( - Email Sent - {constants.VERIFY_EMAIL} + {constants.VERIFY_EMAIL} {constants.EMAIL_SENT({ email })} {constants.CHECK_INBOX}
diff --git a/src/utils/strings/englishConstants.tsx b/src/utils/strings/englishConstants.tsx index 21f200a56..bae398b9f 100644 --- a/src/utils/strings/englishConstants.tsx +++ b/src/utils/strings/englishConstants.tsx @@ -6,29 +6,29 @@ import { template } from './vernacularStrings'; const englishConstants = { COMPANY_NAME: 'ente', LOGIN: 'login', - SIGN_UP: 'Sign Up', - NAME: 'Name', + SIGN_UP: 'sign up', + NAME: 'name', ENTER_NAME: 'your name', - EMAIL: 'Email Address', + EMAIL: 'email', ENTER_EMAIL: 'email', - DATA_DISCLAIMER: `We'll never share your data with anyone else.`, + DATA_DISCLAIMER: `we'll never share your data with anyone else.`, SUBMIT: 'submit', - EMAIL_ERROR: 'Enter a valid email', - REQUIRED: 'Required', - VERIFY_EMAIL: 'Verify Email', + EMAIL_ERROR: 'enter a valid email', + REQUIRED: 'required', + VERIFY_EMAIL: 'verify email', EMAIL_SENT: ({ email }) => (

- We have sent a mail to {email}. + we have sent a mail to {email}

), - CHECK_INBOX: 'Please check your inbox (and spam) to complete verification.', - ENTER_OTT: 'Enter verification code here', - RESEND_MAIL: 'Did not get email?', - VERIFY: 'Verify', - UNKNOWN_ERROR: 'Oops! Something went wrong. Please try again.', - INVALID_CODE: 'Invalid verification code', - SENDING: 'Sending...', - SENT: 'Sent! Check again.', + CHECK_INBOX: 'please check your inbox (and spam) to complete verification', + ENTER_OTT: 'verification code', + RESEND_MAIL: 'did not get email?', + VERIFY: 'verify', + UNKNOWN_ERROR: 'something went wrong, please try again', + INVALID_CODE: 'invalid verification code', + SENDING: 'sending...', + SENT: 'sent!', ENTER_PASSPHRASE: 'Please enter your passphrase.', RETURN_PASSPHRASE_HINT: 'That thing you promised to never forget.', SET_PASSPHRASE: 'Set Passphrase',