Skip to content
This repository has been archived by the owner on May 13, 2024. It is now read-only.

Service text ready #473

Merged
merged 1 commit into from
May 23, 2019
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -816,7 +816,7 @@ exports[`WelcomePage tests basic tests matches the snapshot 1`] = `
<span
className="c49"
>
MISSING: serviceTextWelcome
MISSING: serviceTextReady

<a
className="c50"
Expand Down
2 changes: 1 addition & 1 deletion src/features/rewards/welcomePage/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -203,7 +203,7 @@ class WelcomePage extends React.PureComponent<Props, {}> {
!this.isTouchScreen
? <StyledTOSWrapper>
<StyledServiceText>
{getLocale('serviceTextWelcome')} <StyledServiceLink onClick={onTOSClick}>{getLocale('termsOfService')}</StyledServiceLink> {getLocale('and')} <StyledServiceLink onClick={onPrivacyClick}>{getLocale('privacyPolicy')}</StyledServiceLink>.
{getLocale('serviceTextReady')} <StyledServiceLink onClick={onTOSClick}>{getLocale('termsOfService')}</StyledServiceLink> {getLocale('and')} <StyledServiceLink onClick={onPrivacyClick}>{getLocale('privacyPolicy')}</StyledServiceLink>.
</StyledServiceText>
</StyledTOSWrapper>
: null
Expand Down
1 change: 1 addition & 0 deletions stories/assets/locale.ts
Original file line number Diff line number Diff line change
Expand Up @@ -185,6 +185,7 @@ const locale: Record<string, string> = {
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:',
Expand Down