From 538b167681d1f80fa69c0d256242053e7b9a2562 Mon Sep 17 00:00:00 2001 From: Artem Samoilenko Date: Mon, 11 Nov 2024 09:41:44 -0500 Subject: [PATCH] [Android] Fix for branding in `browser_ui` component strings --- build/commands/lib/l10nUtil.js | 5 +- .../strings/android/browser_ui_strings.grd | 1218 +++++++++++++++++ .../android/browser_ui_strings_override.grd | 101 ++ .../strings/android/site_settings.grdp | 938 +++++++++++++ .../android/site_settings_override.grdp | 33 + script/lib/l10n/grd_utils.py | 3 + 6 files changed, 2297 insertions(+), 1 deletion(-) create mode 100644 components/browser_ui/strings/android/browser_ui_strings.grd create mode 100644 components/browser_ui/strings/android/browser_ui_strings_override.grd create mode 100644 components/browser_ui/strings/android/site_settings.grdp create mode 100644 components/browser_ui/strings/android/site_settings_override.grdp diff --git a/build/commands/lib/l10nUtil.js b/build/commands/lib/l10nUtil.js index 25f074c7c2fa..1a5dbd8d1fc9 100644 --- a/build/commands/lib/l10nUtil.js +++ b/build/commands/lib/l10nUtil.js @@ -34,6 +34,8 @@ const androidTabUiStringsPath = path.resolve(path.join(srcDir, 'chrome', 'androi const braveAndroidTabUiStringsPath = path.resolve(path.join(srcDir, 'brave', 'android', 'features', 'tab_ui', 'java', 'strings', 'android_chrome_tab_ui_strings.grd')) const androidWebappsStringsPath = path.resolve(path.join(srcDir, 'components', 'webapps', 'browser', 'android', 'android_webapps_strings.grd')) const braveAndroidWebappsStringsPath = path.resolve(path.join(srcDir, 'brave', 'components', 'webapps', 'browser', 'android', 'android_webapps_strings.grd')) +const androidBrowserUiStringsPath = path.resolve(path.join(srcDir, 'components', 'browser_ui', 'strings', 'android', 'browser_ui_strings.grd')) +const braveAndroidBrowserUiStringsPath = path.resolve(path.join(srcDir, 'brave', 'components', 'browser_ui', 'strings', 'android', 'browser_ui_strings.grd')) // component_chromium_strings.grd and any of its parts files that we track localization for in transifex @@ -140,7 +142,8 @@ function getAutoGeneratedGrdMappings() { ...addGrd(chromiumGeneratedResourcesPath, braveGeneratedResourcesPath, chromiumGeneratedResourcesExcludes), ...addGrd(androidChromeStringsPath, braveAndroidChromeStringsPath), ...addGrd(androidTabUiStringsPath, braveAndroidTabUiStringsPath), - ...addGrd(androidWebappsStringsPath, braveAndroidWebappsStringsPath) + ...addGrd(androidWebappsStringsPath, braveAndroidWebappsStringsPath), + ...addGrd(androidBrowserUiStringsPath, braveAndroidBrowserUiStringsPath) } console.log(chalk.italic('Done recursing through GRD to find GRDP files.')) } diff --git a/components/browser_ui/strings/android/browser_ui_strings.grd b/components/browser_ui/strings/android/browser_ui_strings.grd new file mode 100644 index 000000000000..8a3a011318a2 --- /dev/null +++ b/components/browser_ui/strings/android/browser_ui_strings.grd @@ -0,0 +1,1218 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Got it + + + OK + + + OK, got it + + + Cancel + + + Save + + + Details + + + Done + + + Delete + + + Dismiss + + + Remove + + + Reset + + + Title + + + On + + + Off + + + Learn more + + + More + + + Close + + + Reload + + + Refresh + + + No thanks + + + Next + + + Continue + + + Submit + + + Undo + + + Help + + + Today + + + Yesterday + + + Select + + + Add + + + Share + + + Search + + + Settings + + + Show Info + + + Hide Info + + + Copy link + + + Try again + + + Back + + + Confirm + + + Show + + + Move up + + + Move down + + + Move to top + + + Just once + + + Don’t ask again + + + Always + + + Latest + + + Sort by: + + + Provided by Brave + + + + Go forward + + + Go back + + + Clear input + + + %1$sMovie Title Remove + + + %1$s3 selected. Options available near top of the screen + + + %1$s3 selected + + + Cancel selection + + + Expand + + + + {NUM_SELECTED, plural, + =1 {1 selected} + other {# selected}} + + + Select items + + + Connection is secure + + + Your connection to this site is not secure + + + This page is dangerous + + + + %1$s2 compromised passwords. %2$s7 weak passwords. + + + + + Certificate viewer + + + + + This setting is enforced by your administrator. + + + Managed by your parents + + + Managed by your parent + + + Managed settings cannot be reset + + + Expanded - click to collapse. + + + Collapsed - click to expand. + + + Help & feedback + + + Automatically blocked + + + + + Cancel + + + Download complete + + + Download complete %1$s4.3 MB + + + Download failed + + + Download paused + + + Pause + + + Resume + + + %1$s12.2 MB / %2$s20.3 GB + + + %1$s12.2 MB / ? + + + %1$3.2f12.5 KB + + + %1$3.2f12.5 MB + + + %1$3.2f12.5 GB + + + + + Navigation is blocked: %1$sintent://abcd + + + Navigation is unreachable: %1$sintent://abcd + + + + + About this page + + + Learn about its source and topic + + + This content is from %1$sgoogle.com, delivered by Brave. + + + Forget this site? + + + Are you sure you want to reset permissions, and delete cookies and site data? + + + Forget + + + History + + + Forget this site + + + Last visited today + + + Last visited yesterday + + + Last visited %1$s2 days ago + + + Last visited %1$sApr 4, 2021 + + + Permissions + + + Reset permissions + + + Reset permissions? + + + This choice will reset permissions for %1$sexample.com + + + %1$sLocation - %2$sTurned off for this device + + + %1$sLocation allowed + + + %1$sLocation blocked + + + %1$sLocation allowed, %2$sSound blocked + + + %1$sLocation and %2$sSound allowed + + + %1$sLocation and %2$sSound blocked + + + {PERMISSIONS_SUMMARY_MIXED, plural, + =1 {%1$sLocation, %2$sSound, and %3$s1 more} + other {%1$sLocation, %2$sSound, and %3$s2 more}} + + + {PERMISSIONS_SUMMARY_ALLOWED, plural, + =1 {%1$sLocation, %2$sSound, and %3$s1 more allowed} + other {%1$sLocation, %2$sSound, and %3$s2 more allowed}} + + + {PERMISSIONS_SUMMARY_BLOCKED, plural, + =1 {%1$sLocation, %2$sSound, and %3$s1 more blocked} + other {%1$sLocation, %2$sSound, and %3$s2 more blocked}} + + + To save you data, this page's images have been optimized by Brave. + + + Open Online + + + Site settings + + + Cookies and site data + + + Delete cookies? + + + This deletes cookies and other site data for %1$sexample.com + + + Delete + + + Cookies and other site data are used to remember you, for example to sign you in or to personalize ads. To manage cookies for all sites, see <link>Settings</link>. + + + Brave will block cookies again today + + + {DAYS, plural, + =1 {Brave will block cookies again tomorrow} + other {# days until Brave blocks cookies again}} + + + {DAYS, plural, + =1 {Brave will block cookies again tomorrow} + other {# days until cookies are blocked again}} + + + Brave will limit cookies again today + + + {DAYS, plural, + =1 {Brave will limit cookies again tomorrow} + other {# days until Brave limits cookies again}} + + + Help us improve Brave by telling us why you allowed third-party cookies. <link>Send feedback</link> + + + You temporarily allowed this site to use third-party cookies, which means less browsing protection but site features are more likely to work as expected. <link>Send feedback</link> + + + You allowed third-party cookies on this site + + + This means site features should work as expected, but you may have less browsing protection. <link>Send feedback</link> + + + Site not working? + + + Try temporarily allowing third-party cookies, which means less protection but site features are more likely to work + + + Try allowing third-party cookies, which means less protection but site features are more likely to work + + + Try temporarily allowing third-party cookies, which means less browsing protection but site features are more likely to work as expected. + + + Third-party cookies allowed + + + Third-party cookies blocked + + + Limited + + + Blocked + + + Allowed + + + Site not working? Third-party cookies blocked + + + Third-party cookies + + + Tracking Protection + + + Brave limits most sites from using third-party cookies to track you as you browse. Visit settings to <link>manage access to third-party cookies</link>. + + + Brave limits most sites from using third-party cookies. But third-party cookies are allowed on this site because it relies on them to provide basic services.\n\nVisit settings to <link>manage access to third-party cookies</link>. + + + You blocked sites from using third-party cookies to track you as you browse. Visit settings to <link>manage access to third-party cookies</link>. + + + Brave blocks sites from using third-party cookies to track you as you browse. Visit settings to <link>manage access to third-party cookies</link>. + + + Third-party cookies limited + + + Turned off for this device + + + This device can't read NFC + + + Turned off in Android settings + + + Camera is turned off in Android settings + + + URL expanded + + + URL truncated + + + Ad privacy + + + This site gets your ad topics from Brave to show you more relevant ads + + + This site determines things you like and then suggests ads to other sites + + + This site determines things you like and then suggests ads to other sites. This site also gets your ad topics from Brave to show you more relevant ads. + + + Manage ad privacy + + + + Cookies + + + Site information + + + View site information + + + + + A site is using your camera + + + A site is using your microphone + + + A site is using your camera and microphone + + + Tap to return to %1$shttps://apprtc.appspot.com + + + Tap to return to the site + + + Stop + + + Private tab + + + Completed downloads + + + Active downloads + + + Playing media + + + Camera and microphone use + + + Sharing your screen + + + + + Connected to a Bluetooth device + + + Scanning for Bluetooth devices + + + Tap to return to %1$shttps://googlechrome.github.io/samples/web-bluetooth/device-info.html + + + Tap to return to the site + + + + + Connected to a USB device + + + Tap to return to %1$shttps://webusb.github.io/arduino/demos/console/ + + + Tap to return to the site + + + + Share via + + + + + Play + + + Pause + + + Play from the beginning + + + Previous track + + + Next track + + + Seek forward + + + Seek backward + + + Hang up + + + Mute microphone + + + Unmute microphone + + + Turn on camera + + + Turn off camera + + + Previous slide + + + Next slide + + + A site is playing media + + + + + Swipe down to close. + + + + + Unable to select certificate. + + + Client side certificate selection is not supported by the operating system. + + + + + Options available near bottom of the screen + + + + + This site is about to share information with an app outside of Private mode. + + + Leave Private mode? + + + Stay + + + Leave + + + + + Search your contacts + + + Select contacts + + + Select a contact + + + All contacts + + + No contacts found + + + Names + + + Addresses + + + Email addresses + + + Phone numbers + + + Profile photos + + + {DETAIL_COUNT, plural, + =1 {(+ 1 more)} + other {(+ # more)}} + + + The contacts you select will be shared with <b>%1$shttps://www.google.com</b>. + + + + + Select images + + + Select an image + + + Camera + + + Browse + + + %1$s0:01 / %2$s0:10 + + + Zoom in + + + Zoom out + + + Image decoder + + + Double tap video left or right to skip 10s + + + Play video + + + Pause video + + + Mute video + + + Unmute video + + + Full screen + + + Exit full screen + + + Available offline + + + Video player + + + Elapsed time %1$s0:01 of %2$s0:45. + + + + + Drag from top and touch the back button to exit full screen. + + + Drag from top and swipe from the left or right edge to exit full screen. + + + Press the back button to exit full screen. + + + + + Uninstall '%1$sBrave App'? + + + Report abuse + + + Uninstall + + + Cancel + + + + + '%1$sMaps Go' is out of date. Please update the app. + + + '%1$sMaps Go' is out of date. Please re-install the app. + + + + + Option available near top of the screen + + + New actions available near top of the screen + + + Dismiss and show next available action + + + More options in the %1$sTitle + + + + + Remind me + + + + + Remove '%1$sNews' + + + + + Accessibility + + + Text scaling + + + Text scaling set to %1$s100% + + + Drag the slider until you can read this comfortably. Text should look at least this big after double-tapping on a paragraph. + + + Force enable zoom + + + Override a website’s request to prevent zooming in + + + Simplified view for web pages + + + Saved zoom for sites + + + Get notified when an article can be shown in simplified view + + + Captions + + + Jump-start Omnibox + + + Launch Brave with the Omnibox focused, reducing start-up time on low-end devices. + + + + + + Text size contrast + + + Adjust the contrast between large and small text + + + %1$d100 + + + + + Default zoom + + + Page zoom + + + Current zoom is %1$d100 %% + + + Make text and images larger or smaller for all sites you visit + + + Zoom + + + Decrease zoom + + + Increase zoom + + + %1$d100 %% + + + Match Android font size + + + When enabled, Brave will adjust web content size to match your Android setting + + + Show zoom option in main menu + + + Make it easier to customize zoom for different sites + + + Preview + + + The Wonderful Wizard of Oz + + + Chapter 11: The Wonderful Emerald City of Oz + + + Even with eyes protected by the green spectacles Dorothy and her friends were at first dazzled by the + + + You can zoom in or out on sites you visit + + + + + Suggested searches based on your last tab + + + Suggested searches + + + Based on your last tab + + + + + See more + + + %1$swikipedia.org %2$sMy Pixel 7 + + + Tabs from other devices + + + You visited %1$s1 hr ago + + + + Expanded + + + Collapsed + + + + + {PRICE_DROP_COUNT, plural, + =1 {Price drop on your open tabs} + other {Price drops on your open tabs}} + + + Price drops on tabs + + + Hide price drops on tabs card + + + Price drop on your open tab, from %1$s$899 to %2$s$799, %3$sLa Specialista Espresso Machine, %4$sbestbuy.com + + + + + Customize + + + New tab page cards + + + {TILE_COUNT, plural, + =1 {Continue with this tab} + other {Continue with these tabs}} + + + {TILE_COUNT, plural, + =1 {Hide continue with this tab card} + other {Hide continue with these tabs card}} + + + + + Brave Tips + + + Brave tips + + + Hide Brave tips card + + + Show me how + + + Use Brave by default + + + You can use Brave any time you tap links in messages, documents and other apps + + + Tidy up with tab groups + + + Create tab groups that automatically save and update across all your devices + + + Your tab groups are saved + + + You’ll find your groups in the tab group section across all your devices + + + Manage your browsing data + + + You can delete some or all of your history, cookies, site data and more + + + + + Safety Check + + + Hide Safety Check card + + + Stop lots of notifications + + + Review + + + Turn on Safe Browsing + + + Go to settings + + + Change passwords + + + + + Get organized + + + To group tabs, touch & hold a tab. Then, drag it onto another tab. + + + + diff --git a/components/browser_ui/strings/android/browser_ui_strings_override.grd b/components/browser_ui/strings/android/browser_ui_strings_override.grd new file mode 100644 index 000000000000..8e21d055095c --- /dev/null +++ b/components/browser_ui/strings/android/browser_ui_strings_override.grd @@ -0,0 +1,101 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Private tab + + + This site is about to share information with an app outside of Private mode. + + + Leave Private mode? + + + + diff --git a/components/browser_ui/strings/android/site_settings.grdp b/components/browser_ui/strings/android/site_settings.grdp new file mode 100644 index 000000000000..1f6045dc8d0f --- /dev/null +++ b/components/browser_ui/strings/android/site_settings.grdp @@ -0,0 +1,938 @@ + + + + + + Site settings + + + + Permissions + + + Content + + + + + All sites + + + Auto-verify + + + Augmented reality + + + Automatic downloads + + + Background sync + + + Bluetooth scanning + + + Camera + + + Clipboard + + + Third-party cookies + + + On-device site data + + + Sites can save data on your device + + + Sites aren't allowed to save data on your device + + + Third-party cookies + + + Third-party cookies are allowed + + + Third-party cookies are blocked in Private mode + + + Third-party cookies are blocked + + + Third-party cookies are limited + + + Your device use + + + JavaScript + + + Location + + + Third-party sign-in + + + Hand tracking + + + Microphone + + + MIDI device control & reprogram + + + Motion sensors + + + Motion or light sensors + + + NFC devices + + + Notifications + + + Pop-ups and redirects + + + Protected content + + + Sound + + + Virtual reality + + + Dark theme for sites + + + Desktop site + + + Embedded content + + + Tracking Protection + + + + + + Allowed + + + Allowed this time + + + Allowed, except third-party + + + Allowed (recommended) + + + %1$sgoogle.com allowed + + + %1$sgoogle.com blocked + + + Ask first + + + Blocked + + + + + Use quieter messaging (blocks notification prompts from interrupting you) + + + Vibrate + + + Notifications may vibrate the device + + + When the window is narrow, request mobile view + + + Collapse all requests + + + Collapse unwanted requests (recommended) + + + Expand all requests + + + + + + Allowed + + + Blocked + + + Exceptions + + + Muted + + + Always request desktop site + + + Always request mobile site + + + Managed by app + + + Turn on permission for %1$sBrave in <link>Android Settings</link>. + + + Turn on permissions for %1$sBrave in <link>Android Settings</link>. + + + Embedded on %1$sgoogle.com + + + Delete browsing data… + + + %1$shttp%2$s10 MB + + + Settings for %1$sgoogle.com + + + Sites under %1$sgoogle.com + + + {COOKIES, plural, =1 {# cookie} other {# cookies}} + + + + + Site + + + Usage + + + Related sites + + + Permissions + + + Control this site's access to your device + + + Allow + + + Allowed for current search engine + + + Block + + + Blocked for current search engine + + + All sites under %1$sgoogle.com + + + Expires today + + + {COUNT, plural, + =1 {Expires tomorrow} + other {Expires in # days} + } + + + + + + Add site exception + + + Add a site + + + Add + + + Site %1$sgoogle.com added + + + Site URL + + + Enter web address + + + + + + Site preference + + + Select an option for %1$sgoogle.com + + + + + + Delete site data? + + + Delete site data? %1$sgoogle.com + + + Delete + + + This will delete all data and cookies stored by %1$sgoogle.com. + + + This will delete all data and cookies stored by %1$sgoogle.com or by its app on your Home screen. + + + This action will delete all data and cookies for %1$sgoogle.com and all sites under it + + + This action will delete all data and cookies stored by all sites under %1$sgoogle.com or by its app on your Home screen + + + Any offline data will be deleted + + + This will delete %1$s1 GB of data and cookies stored by sites. + + + This will delete %1$s1 GB of data and cookies stored by sites or by apps on your Home screen. + + + You may be signed out of this site + + + You may be signed out of these sites + + + You'll be signed out of all sites + + + Data that affects ad personalization is deleted + + + Delete site data? + + + Delete saved zoom levels? + + + Delete + + + Delete & reset + + + Delete data & reset permissions + + + Delete & reset? + + + Are you sure you want to delete all local data, including cookies, and reset all permissions for this website? + + + This action will delete all local data, including cookies, and reset all permissions for %1$smail.google.com + + + This action will delete all local data, including cookies, and reset all permissions for %1$sgoogle.com and all sites under it + + + Are you sure you want to reset all site permissions for %1$sWeblight? + + + + + + + + This site shows intrusive or misleading ads + + + Blocked on some sites + + + Intrusive ads + + + Any site you visit can show any ad to you + + + Ads are blocked on sites known to show intrusive or misleading ads + + + When on, sites can show any ad to you. When off, sites can’t show intrusive or misleading ads. + + + + + Sites you visit can verify that you're a real profile and not a bot + + + + When on + + + + A site you visit can save a small amount of info with Brave, mainly to validate you're not a bot + + + + As you keep browsing, sites can check with Brave and verify with a previous site you've visited that you're likely a real profile + + + + Browsing is faster because a site is less likely to ask you to verify you're a real profile + + + + Things to consider + + + + This setting works without identifying you or allowing sites to see your browsing history, though sites can share a small amount of info as part of the verification + + + + + + Ask before allowing sites to create a 3D map of your surroundings or track camera position (recommended) + + + Block sites from creating a 3D map of your surroundings or tracking camera position + + + When on, sites can ask to track your camera position and learn about your surroundings. When off, sites can’t track your camera position or learn about your surroundings. + + + To let %1$sBrave use AR, also turn on camera in <link>Android Settings</link>. + + + + + When on, sites can ask to automatically download multiple files. When off, sites can’t automatically download multiple files. + + + Allow a site to download multiple files automatically. + + + + + + When on, recently-closed sites can finish sending and receiving data. When off, recently-closed sites can’t finish sending or receiving data. + + + Allow Background Sync for a specific site. + + + + + + Ask before allowing sites to connect to a device (recommended) + + + Block sites from connecting to devices + + + When on, sites can ask to use Bluetooth devices. When off, sites can’t use Bluetooth devices. + + + Bluetooth + + + + + + Ask when a site wants to discover nearby Bluetooth devices (recommended) + + + When on, sites can ask to look for Bluetooth devices. When off, sites can’t look for Bluetooth devices. + + + + + + Ask first before allowing sites to use your camera (recommended) + + + When on, sites can ask to use your camera. When off, sites can’t use your camera. + + + To let %1$sBrave access your camera, also turn on camera in <link>Android Settings</link>. + + + + + + Ask before allowing sites to read text and images from the clipboard (recommended) + + + Block sites from reading text and images from the clipboard + + + When on, sites can ask to see text and images saved to your clipboard. When off, sites can’t see text or images saved to your clipboard. + + + Blocked from reading clipboard + + + + + A site you visit can save info about what you’re doing so that it works as expected — for example, to keep you signed in to a site or to save items in your shopping cart. Often sites save this info temporarily on your device. + + + Sites can save data on your device + + + Don't allow sites to save data on your device (not recommended) + + + When on, sites can save data on your device. When off, sites can’t save data on your device. + + + Allow a site to save data on your device + + + Block a site from saving data on your device + + + Sites you visit may stop working as designed + + + Most sites you visit probably save data to your device, often to improve your experience by saving your preferences or information you share with the site. We recommend keeping this setting on. + + + Turn off + + + Cancel + + + + + A site you visit can embed content from other sites, for example, images, ads, and text. Cookies set by these other sites are called third-party cookies. + + + Allow third-party cookies + + + Sites will work normally + + + Block third-party cookies in Private mode + + + Features on some sites may not work in Private mode + + + Block third-party cookies + + + Features on some sites may not work + + + Allow a site to use third-party cookies + + + Don't allow a site to use third-party cookies + + + Some features may not work. Related sites can still use third-party cookies. + + + Features on some sites may not work + + + Sites can use cookies to improve your browsing experience, for example, to keep you signed in or to remember items in your shopping cart + + + Sites can't use your cookies to see your browsing activity across different sites, for example, to personalize ads. Features on some sites may not work. + + + While in Private, sites can't use your cookies to see your browsing activity across sites, even related sites. Your browsing activity isn't used for things like personalizing ads. Features on some sites may not work. + + + Block third-party cookies in Private: + + + Block third-party cookies: + + + Allow related sites to see your activity in the group + + + A company can define a group of sites that can use cookies to share your activity in the group. This is off in Private. + + + {COUNT, plural, + =1 {%1$s1 site in %2$sgannette.com's group of sites that can see your activity in the group} + other {%1$s1 sites in %2$sgannette.com's group of sites that can see your activity in the group}} + + + {COUNT, plural, + =1 {%1$s1 site in %2$sgannette.com's group} + other {%1$s1 sites in %2$sgannette.com's group}} + + + {COUNT, plural, + =1 {Cookies allowed for %1$s1 %2$sgannette.com site} + other {Cookies allowed for %1$s9 %2$sgannette.com sites}} + + + Related sites + + + This site is in a group that can see your activity. The group is defined by %1$sgoogle.com + + + + + Request desktop view + + + Request mobile view + + + When on, the desktop view of websites is shown. When off, the mobile view of websites is shown. + + + On + + + Off + + + Include all sites under this domain + + + Recommended for best experience + + + Desktop site + + + Mobile site + + + + + Allow third-party sign-in for a specific site. + + + Block third-party sign-in for a specific site. + + + Sites can show sign-in prompts from identity services. + + + Block sign-in prompts from identity services. + + + When on, sites can show sign-in prompts. When off, sites can't show sign-in prompts. + + + + + + Ask before allowing sites to track your hands (recommended) + + + Don't allow sites to track your hands + + + When on, sites can ask to track your hands. When off, sites can’t track your hands. + + + To let %1$sBrave use hand tracking, also turn on hand tracking in <link>system settings</link>. + + + + + Ask when a site wants to know when you're actively using this device + + + Block sites from knowing when you're actively using this device + + + When on, sites can ask to know when you’re actively using your device. When off, sites can’t know when you’re actively using your device. + + + + + + Allow sites to run JavaScript (recommended) + + + When on, sites can use JavaScript. When off, sites can’t use JavaScript. + + + Allow JavaScript for a specific site. + + + Block JavaScript for a specific site. + + + + + + Ask before allowing sites to know your location (recommended) + + + When on, sites can ask for your location. When off, sites can’t see your location. + + + Location access is also off for this device. Turn it on in <link>Android Settings</link>. + + + Location access is off for this device. Turn it on in <link>Android Settings</link>. + + + To let %1$sBrave access your location, also turn on location in <link>Android Settings</link>. + + + Open Location Settings + + + + + + Ask first before allowing sites to use your microphone (recommended) + + + When on, sites can ask to use your microphone. When off, sites can’t use your microphone. + + + To let %1$sBrave access your microphone, also turn on microphone in <link>Android Settings</link>. + + + + + + Allow sites to access sensors (recommended) + + + Block sites from accessing sensors + + + When on, sites can use your device’s sensors. When off, sites can’t use sensors. + + + Allow sites to access motion sensors (recommended) + + + Block sites from accessing motion sensors + + + When on, sites can use your device’s motion sensors. When off, sites can’t use motion sensors. + + + + + + Ask before allowing sites to see and change information on NFC devices (recommended) + + + Block sites from seeing and changing information on NFC devices + + + When on, sites can ask to use NFC devices. When off, sites can’t use NFC devices. + + + NFC is off for this device. Turn it on in <link>Android Settings</link>. + + + This device can't read NFC + + + + + + Sites can't ask to send notifications + + + When on, sites can ask to send notifications. When off, sites can’t send notifications. + + + You usually block notifications. To allow, tap Details. + + + Sites can ask to send notifications + + + Managed by %1$sApp Name + + + To let %1$sBrave send you notifications, also turn on notifications in <link>Android Settings</link>. + + + Open notification settings + + + + + + Block sites from showing pop-ups and redirects (recommended) + + + When on, sites can use pop-ups and redirects. When off, sites can’t use pop-ups and redirects. + + + + + + Allow sites to play protected content (recommended) + + + Ask before allowing sites to play protected content + + + Block sites from playing protected content + + + + + + Allow sites to play sound (recommended) + + + Mute sites that play sound + + + When on, sites can play sound. When off, sites can’t play sound. + + + Muted + + + Allow sound for a specific site. + + + Mute sound for a specific site. + + + + + + Data stored + + + Files saved by websites appear here + + + %1$s2 MB stored data + + + Delete all data + + + + + + Sites that you save a custom zoom level for will appear here + + + Delete all + + + This will reset all the sites in your list to the default zoom + + + Delete saved zoom level + + + + + + Ask before allowing sites to connect to a device (recommended) + + + Block sites from connecting to devices + + + When on, sites can ask to use USB devices. When off, sites can’t use USB devices. + + + + Revoke all permissions for device + + + Revoke device permission + + + USB + + + + + + Ask before allowing sites to use your virtual reality device and data (recommended) + + + Block sites from using your virtual reality device and data + + + When on, sites can ask to use virtual reality devices. When off, sites can’t use virtual reality devices. + + + + + Apply dark theme to sites when Brave uses dark theme, when possible + + + Don’t apply dark theme to sites + + + Don’t apply dark theme for a specific site + + + + + Sites can ask to use info they've saved about you + + + Sites are blocked from asking you to use info they've saved about you + + + When on, sites can ask to use info they've saved about you. When off, sites can't ask you to use info they've saved about you. + + + Sites you visit can embed content from other sites, for example images, ads, and text. These other sites can ask for permission to use info they've saved about you as you browse the site. <link>Learn more about embedded content</link> + + + %1$sgoogle.com can use your info as you browse + + + %1$sgoogle.com is blocked from using your info on + + + {COUNT, plural, + =1 {%1$s1 site} + other {%1$s9 sites}} + + diff --git a/components/browser_ui/strings/android/site_settings_override.grdp b/components/browser_ui/strings/android/site_settings_override.grdp new file mode 100644 index 000000000000..25c55d1e6db1 --- /dev/null +++ b/components/browser_ui/strings/android/site_settings_override.grdp @@ -0,0 +1,33 @@ + + + + Third-party cookies are blocked in Private mode + + + Sites you visit can verify that you're a real profile and not a bot + + + + As you keep browsing, sites can check with Brave and verify with a previous site you've visited that you're likely a real profile + + + + Browsing is faster because a site is less likely to ask you to verify you're a real profile + + + + Block third-party cookies in Private mode + + + Features on some sites may not work in Private mode + + + While in Private, sites can't use your cookies to see your browsing activity across sites, even related sites. Your browsing activity isn't used for things like personalizing ads. Features on some sites may not work. + + + Block third-party cookies in Private: + + + A company can define a group of sites that can use cookies to share your activity in the group. This is off in Private. + + diff --git a/script/lib/l10n/grd_utils.py b/script/lib/l10n/grd_utils.py index 7892c77f0bcc..240af876c4f9 100755 --- a/script/lib/l10n/grd_utils.py +++ b/script/lib/l10n/grd_utils.py @@ -271,6 +271,9 @@ def get_original_grd(src_root, grd_file_path): if grd_file_name == 'android_webapps_strings.grd': return os.path.join(src_root, 'components', 'webapps', 'browser', 'android', 'android_webapps_strings.grd') + if grd_file_name == 'browser_ui_strings.grd': + return os.path.join(src_root, 'components', 'browser_ui', 'strings', + 'android', 'browser_ui_strings.grd') return None