Skip to content

Commit

Permalink
Merge pull request #1737 from brave/0.60.x-3421
Browse files Browse the repository at this point in the history
Adds Coming Soon text to Ads panel (0.60)
  • Loading branch information
NejcZdovc authored Feb 21, 2019
2 parents e97f47c + 655af1f commit d60a551
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions browser/ui/webui/brave_webui_source.cc
Original file line number Diff line number Diff line change
Expand Up @@ -187,6 +187,7 @@ void CustomizeWebUIHTMLSource(const std::string &name, content::WebUIDataSource*
std::string("rewards"), {
{ "adsCurrentEarnings", IDS_BRAVE_REWARDS_LOCAL_ADS_CURRENT_EARNINGS },
{ "adsDesc", IDS_BRAVE_REWARDS_LOCAL_ADS_DESC },
{ "adsDisabledText", IDS_BRAVE_REWARDS_LOCAL_ADS_DISABLED_TEXT },
{ "adsDisabledTextOne", IDS_BRAVE_REWARDS_LOCAL_ADS_DISABLED_TEXT_ONE },
{ "adsDisabledTextTwo", IDS_BRAVE_REWARDS_LOCAL_ADS_DISABLED_TEXT_TWO },
{ "adsNotificationsReceived", IDS_BRAVE_REWARDS_LOCAL_ADS_NOTIFICATIONS_RECEIVED },
Expand Down
3 changes: 1 addition & 2 deletions components/brave_rewards/resources/ui/components/adsBox.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -37,8 +37,7 @@ class AdsBox extends React.Component<Props, State> {
<DisabledContent
type={'ads'}
>
{getLocale('adsDisabledTextOne')} <br />
{getLocale('adsDisabledTextTwo')}
<h3>{getLocale('adsDisabledText')}</h3>
</DisabledContent>
)
}
Expand Down
1 change: 1 addition & 0 deletions components/resources/brave_components_strings.grd
Original file line number Diff line number Diff line change
Expand Up @@ -212,6 +212,7 @@
<message name="IDS_BRAVE_REWARDS_LOCAL_CONTR_SITES" desc="">Supported sites</message>
<message name="IDS_BRAVE_REWARDS_LOCAL_DONAT_TITLE" desc="">Tips</message>
<message name="IDS_BRAVE_REWARDS_LOCAL_DONAT_DESC" desc="">Tip content creators directly as you browse. You can also set up recurring monthly tips so you can support sites continuously.</message>
<message name="IDS_BRAVE_REWARDS_LOCAL_ADS_DISABLED_TEXT" desc="">Coming soon.</message>
<message name="IDS_BRAVE_REWARDS_LOCAL_ADS_DISABLED_TEXT_ONE" desc="">Earnings are paid every month.</message>
<message name="IDS_BRAVE_REWARDS_LOCAL_ADS_DISABLED_TEXT_TWO" desc="">Set your desired frequency to increase or decrease earnings.</message>
<message name="IDS_BRAVE_REWARDS_LOCAL_CONTR_DISABLED_TEXT1" desc="">Reward creators for the content you love.</message>
Expand Down

0 comments on commit d60a551

Please sign in to comment.