diff --git a/browser/ui/webui/brave_webui_source.cc b/browser/ui/webui/brave_webui_source.cc index 86514200af63..f2ff10b63a24 100644 --- a/browser/ui/webui/brave_webui_source.cc +++ b/browser/ui/webui/brave_webui_source.cc @@ -506,11 +506,13 @@ void CustomizeWebUIHTMLSource(const std::string &name, { "rewardsOffText2", IDS_BRAVE_UI_REWARDS_OFF_TEXT2 }, { "rewardsOffText3", IDS_BRAVE_UI_REWARDS_OFF_TEXT3 }, { "rewardsOffText4", IDS_BRAVE_UI_REWARDS_OFF_TEXT4 }, + { "rewardsPanelEmptyTextPoints", IDS_BRAVE_UI_REWARDS_PANEL_EMPTY_TEXT_POINTS }, // NOLINT { "rewardsPanelEmptyText1", IDS_BRAVE_UI_REWARDS_PANEL_EMPTY_TEXT1 }, { "rewardsPanelEmptyText2", IDS_BRAVE_UI_REWARDS_PANEL_EMPTY_TEXT2 }, { "rewardsPanelEmptyText3", IDS_BRAVE_UI_REWARDS_PANEL_EMPTY_TEXT3 }, { "rewardsPanelEmptyText4", IDS_BRAVE_UI_REWARDS_PANEL_EMPTY_TEXT4 }, { "rewardsPanelEmptyText5", IDS_BRAVE_UI_REWARDS_PANEL_EMPTY_TEXT5 }, + { "rewardsPanelEmptyText6", IDS_BRAVE_UI_REWARDS_PANEL_EMPTY_TEXT6 }, { "rewardsPanelOffText1", IDS_BRAVE_UI_REWARDS_PANEL_OFF_TEXT1 }, { "rewardsPanelOffText2", IDS_BRAVE_UI_REWARDS_PANEL_OFF_TEXT2 }, { "rewardsPanelText1", IDS_BRAVE_UI_REWARDS_PANEL_TEXT1 }, diff --git a/components/brave_rewards/resources/page/components/pageWallet.tsx b/components/brave_rewards/resources/page/components/pageWallet.tsx index dfc3bbde06c0..5b13d8ee24b0 100644 --- a/components/brave_rewards/resources/page/components/pageWallet.tsx +++ b/components/brave_rewards/resources/page/components/pageWallet.tsx @@ -514,7 +514,7 @@ class PageWallet extends React.Component { { enabledMain ? emptyWallet - ? + ? : { + getEmptyWalletMessage = () => { + const { onlyAnonWallet } = this.props + return ( + <> + { + onlyAnonWallet + ? getLocale('rewardsPanelEmptyText6') + : <> + {getLocale('rewardsPanelEmptyText2')}
+ • {getLocale('rewardsPanelEmptyText3')}
+ • {getLocale('rewardsPanelEmptyText4')}
+ • {getLocale('rewardsPanelEmptyText5')} + + } + + ) + } + render () { - const { id, hideAddFundsText } = this.props + const { id, hideAddFundsText, onlyAnonWallet } = this.props return ( {coins} - {getLocale('rewardsPanelEmptyText1')} + + {onlyAnonWallet ? getLocale('rewardsPanelEmptyTextPoints') : getLocale('rewardsPanelEmptyText1')} + { hideAddFundsText ? {getLocale('rewardsPanelEmptyText5')} - : <> - {getLocale('rewardsPanelEmptyText2')}
- • {getLocale('rewardsPanelEmptyText3')}
- • {getLocale('rewardsPanelEmptyText4')}
- • {getLocale('rewardsPanelEmptyText5')} - + : this.getEmptyWalletMessage() }
diff --git a/components/resources/brave_components_strings.grd b/components/resources/brave_components_strings.grd index 7e23ee8c3d09..f8544a6f5aa7 100644 --- a/components/resources/brave_components_strings.grd +++ b/components/resources/brave_components_strings.grd @@ -500,11 +500,13 @@ Today, Brave welcomes you to the new internet. One where your time is valued, your personal data is kept private, and you actually get paid for your attention. With your old browser, you paid to browse the web by viewing ads with your valuable attention. You spent your valuable time downloading invasive ad technology that transmitted your valuable private data to advertisers — without your consent. + Sadly, no points yet. Sadly, no tokens yet. 3 ways to fill your wallet: You can add funds. You can earn tokens from viewing ads. Occasionally, you'll be offered free token grants from Brave. Be sure to keep an eye out for the alert! + Look for ad notifications as you continue to use Brave. Your BAT Points balance will increase with each ad you view. Get Rewarded for Browsing! Earn tokens for your attention to ads and pay it forward to support content creators you value! Add, withdraw and manage funds at