diff --git a/components/brave_new_tab_ui/components/privateTab/privateTab.tsx b/components/brave_new_tab_ui/components/privateTab/privateTab.tsx index 2af49596a3e2..938f9bf11b7a 100644 --- a/components/brave_new_tab_ui/components/privateTab/privateTab.tsx +++ b/components/brave_new_tab_ui/components/privateTab/privateTab.tsx @@ -17,7 +17,6 @@ import { Text, PrivateImage, DuckDuckGoImage, - TorLockImage, Separator, FakeButton, Link @@ -25,6 +24,7 @@ import { // Components import { Toggle } from 'brave-ui/features/shields' +import TorContent from './torContent' // Helpers import { getLocale } from '../../../common/locale' @@ -74,12 +74,7 @@ export default class PrivateTab extends React.PureComponent { - - - {getLocale('boxTorLabel')} - {getLocale('boxTorTitle')} - {getLocale('boxTorText2')} - + {getLocale('boxTorButton')} diff --git a/components/brave_new_tab_ui/components/privateTab/qwantTab.tsx b/components/brave_new_tab_ui/components/privateTab/qwantTab.tsx index 4ab38d95f7bc..3b571fef9e2b 100644 --- a/components/brave_new_tab_ui/components/privateTab/qwantTab.tsx +++ b/components/brave_new_tab_ui/components/privateTab/qwantTab.tsx @@ -8,17 +8,15 @@ import * as React from 'react' import { Grid2Columns, Box, - Content, HeaderBox, Title, SubTitle, Text, TorImage, - TorLockImage, Separator, FakeButton } from 'brave-ui/features/newTab' - +import TorContent from './torContent' // Helpers import { getLocale } from '../../../common/locale' @@ -40,12 +38,7 @@ export default class QwantTab extends React.PureComponent<{}, {}> { - - - {getLocale('boxTorLabel')} - {getLocale('boxTorTitle')} - {getLocale('boxTorText2')} - + + + {getLocale('boxTorLabel')} + {getLocale('boxTorTitle')} + {getLocale('boxTorText2', { key: torKeyboardShortcutText })} + + ) +} diff --git a/components/resources/brave_components_resources.grd b/components/resources/brave_components_resources.grd index 4647fd525871..bdbdf490186f 100644 --- a/components/resources/brave_components_resources.grd +++ b/components/resources/brave_components_resources.grd @@ -188,7 +188,7 @@ This Private Window is much more private with Tor Tor hides your IP address from the sites you visit, by routing your browsing through several Tor servers before it reaches your destination. These connections are encrypted, so your ISP or employer can’t see which sites you’re visiting either. Tor can slow down browsing and some sites might not work at all. - Using Private Tabs only changes what Brave does on your device — it doesn't change anyone else's behavior. Tor hides your IP address from the sites you visit, and hides the sites you visit from your ISP or your employer. Open a Private Window with Tor from the menu, or with Alt+Shift+N or Option+Shift+N. + Using Private Tabs only changes what Brave does on your device — it doesn't change anyone else's behavior. Tor hides your IP address from the sites you visit, and hides the sites you visit from your ISP or your employer. Open a Private Window with Tor from the menu, or with {{ key }}. Learn more about Tor in Brave