Skip to content

Commit

Permalink
Merge pull request #9948 from brave/custom-subscriptions-i18n-update
Browse files Browse the repository at this point in the history
Replace i18n-content with getLocale in customSubscriptions.tsx
  • Loading branch information
antonok-edm authored Sep 1, 2021
2 parents 95228a4 + 99abfe0 commit f34d392
Showing 1 changed file with 9 additions and 8 deletions.
17 changes: 9 additions & 8 deletions components/brave_adblock_ui/components/customSubscriptions.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -233,17 +233,18 @@ export class CustomSubscriptions extends React.Component<Props, State> {
return (
<div>
<div
i18n-content='customListSubscriptionsTitle'
style={{ fontSize: '18px', marginTop: '20px' }}
/>
<div
i18n-content='customListSubscriptionsInstructions'
/>
>
{getLocale('customListSubscriptionsTitle')}
</div>
<div>
{getLocale('customListSubscriptionsInstructions')}
</div>
{existingListsSection}
{addSubscriptionSection}
<div
i18n-content='customListSubscriptionsDisclaimer'
/>
<div>
{getLocale('customListSubscriptionsDisclaimer')}
</div>
</div>
)
}
Expand Down

0 comments on commit f34d392

Please sign in to comment.