From b17a1be13cb254ea3c5f34001ac5ea6c5896c99b Mon Sep 17 00:00:00 2001 From: Jakob Kuki Date: Tue, 21 May 2019 13:34:55 -0700 Subject: [PATCH] Create separate text for rewards confirmation --- src/features/rewards/welcomePage/__snapshots__/spec.tsx.snap | 2 +- src/features/rewards/welcomePage/index.tsx | 2 +- stories/assets/locale.ts | 1 + 3 files changed, 3 insertions(+), 2 deletions(-) diff --git a/src/features/rewards/welcomePage/__snapshots__/spec.tsx.snap b/src/features/rewards/welcomePage/__snapshots__/spec.tsx.snap index 9f9c35fed..674990bd2 100644 --- a/src/features/rewards/welcomePage/__snapshots__/spec.tsx.snap +++ b/src/features/rewards/welcomePage/__snapshots__/spec.tsx.snap @@ -816,7 +816,7 @@ exports[`WelcomePage tests basic tests matches the snapshot 1`] = ` - MISSING: serviceTextWelcome + MISSING: serviceTextReady { !this.isTouchScreen ? - {getLocale('serviceTextWelcome')} {getLocale('termsOfService')} {getLocale('and')} {getLocale('privacyPolicy')}. + {getLocale('serviceTextReady')} {getLocale('termsOfService')} {getLocale('and')} {getLocale('privacyPolicy')}. : null diff --git a/stories/assets/locale.ts b/stories/assets/locale.ts index 91b9d6585..2ff4b9f8f 100644 --- a/stories/assets/locale.ts +++ b/stories/assets/locale.ts @@ -185,6 +185,7 @@ const locale: Record = { serviceTextToggle: 'By turning on Brave Rewards, you indicate that you have read and agree to the', serviceTextPanelWelcome: 'By clicking ‘Join Rewards’, you indicate that you have read and agree to the', serviceTextWelcome: 'By clicking ‘Yes, I\'m in!’, you indicate that you have read and agree to the', + serviceTextReady: 'By clicking ‘Yes, I\'m Ready!’, you indicate that you have read and agree to the', settings: 'Settings', site: 'site', siteBannerNoticeNote: 'NOTE:',