l10n: do not append rel="noopener noreferrer" to anchor elements in strings
'rel' is a disallowed attribute for translated strings as per ui/webui/resources/js/parse_html_subset.js
This commit is contained in:
@@ -807,7 +807,7 @@ By installing this extension, you are agreeing to the Google Widevine Terms of U
|
||||
Method to resolve Unstoppable Domains
|
||||
</message>
|
||||
<message name="IDS_SETTINGS_RESOLVE_UNSTOPPABLE_DOMAINS_SUB_DESC" desc="The sub-description for how to handle Unstoppable Domains">
|
||||
<ph name="BEGIN_LINK"><a target="_blank" rel="noopener noreferrer" href="$1"></ph>Learn More<ph name="END_LINK"></a></ph> about DNS over HTTPS and Ethereum privacy considerations.
|
||||
<ph name="BEGIN_LINK"><a target="_blank" href="$1"></ph>Learn More<ph name="END_LINK"></a></ph> about DNS over HTTPS and Ethereum privacy considerations.
|
||||
</message>
|
||||
<message name="IDS_SETTINGS_RESOLVE_ENS_DESC" desc="The description for how to handle ENS">
|
||||
Method to resolve Ethereum Name Service (ENS)
|
||||
@@ -876,7 +876,7 @@ By installing this extension, you are agreeing to the Google Widevine Terms of U
|
||||
Node is not launched
|
||||
</message>
|
||||
<message name="IDS_SETTINGS_IPFS_START_NODE_ERROR" desc="The error message when node was unable to start on IPFS keys manager page">
|
||||
IPFS service launch error, more information is available on the <ph name="BEGIN_LINK"><a target="_blank" rel="noopener noreferrer" style="text-decoration: underline;" href="chrome://ipfs-internals/"></ph>diagnostic page<ph name="END_LINK"></a></ph>
|
||||
IPFS service launch error, more information is available on the <ph name="BEGIN_LINK"><a target="_blank" style="text-decoration: underline;" href="chrome://ipfs-internals/"></ph>diagnostic page<ph name="END_LINK"></a></ph>
|
||||
</message>
|
||||
<message name="IDS_SETTINGS_IPNS_KEYS_IMPORT_ERROR" desc="The error text if ipns keys import failed">
|
||||
'<ph name="KEY_NAME">$1<ex>MyCustomKey</ex></ph>' key import failed
|
||||
@@ -912,7 +912,7 @@ By installing this extension, you are agreeing to the Google Widevine Terms of U
|
||||
IPFS public gateway address
|
||||
</message>
|
||||
<message name="IDS_SETTINGS_IPFS_METHOD_DESC" desc="The description of IPFS protocol on settings page">
|
||||
<ph name="BEGIN_LINK_MPL"><a target="_blank" rel="noopener noreferrer" href="$1"></ph>Learn more<ph name="END_LINK_MPL"></a></ph> about IPFS local node and gateway privacy considerations.
|
||||
<ph name="BEGIN_LINK_MPL"><a target="_blank" href="$1"></ph>Learn more<ph name="END_LINK_MPL"></a></ph> about IPFS local node and gateway privacy considerations.
|
||||
</message>
|
||||
<message name="IDS_SETTINGS_IPFS_CHANGE_GATEWAY_BUTTON_LABEL" desc="The label of the button for changing IPFS gateway address">
|
||||
Change
|
||||
@@ -1329,8 +1329,8 @@ By installing this extension, you are agreeing to the Google Widevine Terms of U
|
||||
</message>
|
||||
<!-- Brave's copyright statement -->
|
||||
<message name="IDS_BRAVE_VERSION_UI_LICENSE" desc="The label below the copyright message, containing the URLs.">
|
||||
Brave is made available to you under the <ph name="BEGIN_LINK_MPL"><a target="_blank" rel="noopener noreferrer" href="$1"></ph>Mozilla Public License 2.0<ph name="END_LINK_MPL"></a></ph> (MPL) and includes <ph name="BEGIN_LINK_OSS"><a target="_blank" rel="noopener noreferrer" href="$2"></ph>open source software<ph name="END_LINK_OSS"></a></ph> under a variety of other licenses.
|
||||
You can read <ph name="BEGIN_LINK_BUILD_INSTRUCTIONS"><a target="_blank" rel="noopener noreferrer" href="$3"></ph>instructions on how to download and build for yourself<ph name="END_LINK_BUILD_INSTRUCTIONS"></a></ph> the specific <ph name="BEGIN_LINK_SOURCE_CODE"><a target="_blank" rel="noopener noreferrer" href="$4"></ph>source code used to create this copy<ph name="END_LINK_SOURCE_CODE"></a></ph>.
|
||||
Brave is made available to you under the <ph name="BEGIN_LINK_MPL"><a target="_blank" href="$1"></ph>Mozilla Public License 2.0<ph name="END_LINK_MPL"></a></ph> (MPL) and includes <ph name="BEGIN_LINK_OSS"><a target="_blank" href="$2"></ph>open source software<ph name="END_LINK_OSS"></a></ph> under a variety of other licenses.
|
||||
You can read <ph name="BEGIN_LINK_BUILD_INSTRUCTIONS"><a target="_blank" href="$3"></ph>instructions on how to download and build for yourself<ph name="END_LINK_BUILD_INSTRUCTIONS"></a></ph> the specific <ph name="BEGIN_LINK_SOURCE_CODE"><a target="_blank" href="$4"></ph>source code used to create this copy<ph name="END_LINK_SOURCE_CODE"></a></ph>.
|
||||
</message>
|
||||
<if expr="not use_titlecase">
|
||||
<message name="IDS_TAB_CXMENU_BOOKMARK_ALL_TABS" desc="The label of the tab context menu item for creating a bookmark folder containing an entry for each open tab.">
|
||||
|
||||
@@ -291,10 +291,10 @@ If you update this file, be sure also to update google_chrome_strings.grd. -->
|
||||
</message>
|
||||
<if expr="chromeos">
|
||||
<message name="IDS_ABOUT_CROS_VERSION_LICENSE" desc="Additional text displayed beneath the Brave open source URLs for Chrome OS.">
|
||||
Chrome OS is made possible by additional <ph name="BEGIN_LINK_CROS_OSS"><a target="_blank" rel="noopener noreferrer" href="$1"></ph>open source software<ph name="END_LINK_CROS_OSS"></a></ph>.
|
||||
Chrome OS is made possible by additional <ph name="BEGIN_LINK_CROS_OSS"><a target="_blank" href="$1"></ph>open source software<ph name="END_LINK_CROS_OSS"></a></ph>.
|
||||
</message>
|
||||
<message name="IDS_ABOUT_CROS_WITH_LINUX_VERSION_LICENSE" desc="Additional text displayed beneath the Brave open source URLs for Chrome OS when Crostini is installed.">
|
||||
Chrome OS is made possible by additional <ph name="BEGIN_LINK_CROS_OSS"><a target="_blank" rel="noopener noreferrer" href="$1"></ph>open source software<ph name="END_LINK_CROS_OSS"></a></ph>, as is <ph name="BEGIN_LINK_LINUX_OSS"><a target="_blank" rel="noopener noreferrer" href="$2"></ph>Linux development environment<ph name="END_LINK_LINUX_OSS"></a></ph>.
|
||||
Chrome OS is made possible by additional <ph name="BEGIN_LINK_CROS_OSS"><a target="_blank" href="$1"></ph>open source software<ph name="END_LINK_CROS_OSS"></a></ph>, as is <ph name="BEGIN_LINK_LINUX_OSS"><a target="_blank" href="$2"></ph>Linux development environment<ph name="END_LINK_LINUX_OSS"></a></ph>.
|
||||
</message>
|
||||
<message name="IDS_ABOUT_SAFETY_INFORMATION" desc="The safety label in the About box." translateable="false">
|
||||
Not used in Brave. Placeholder to keep resource maps in sync.
|
||||
@@ -1274,7 +1274,7 @@ Brave is unable to recover your settings.
|
||||
|
||||
<!-- Device Chooser Prompt -->
|
||||
<message name="IDS_BLUETOOTH_DEVICE_CHOOSER_AUTHORIZE_BLUETOOTH" desc="Text shown in the Chooser when browser does not have Bluetooth permission. The ' ' is a newline character to force the desired line wrapping.">
|
||||
Brave needs Bluetooth access to continue
|
||||
Brave needs Bluetooth access to continue
|
||||
pairing. <ph name="IDS_BLUETOOTH_DEVICE_CHOOSER_AUTHORIZE_BLUETOOTH_LINK">$1<ex>Open Preferences</ex></ph>
|
||||
</message>
|
||||
</messages>
|
||||
|
||||
@@ -315,7 +315,7 @@
|
||||
No recent activities
|
||||
</message>
|
||||
<message name="IDS_EXTENSIONS_NO_INSTALLED_ITEMS" desc="The message shown to the user on the Extensions settings page when there are no extensions or apps installed.">
|
||||
Find extensions and themes in the <ph name="BEGIN_LINK"><a target="_blank" rel="noopener noreferrer" href="https://chrome.google.com/webstore/category/extensions"></ph>Web Store<ph name="END_LINK"></a><ex></a></ex></ph>
|
||||
Find extensions and themes in the <ph name="BEGIN_LINK"><a target="_blank" href="https://chrome.google.com/webstore/category/extensions"></ph>Web Store<ph name="END_LINK"></a><ex></a></ex></ph>
|
||||
</message>
|
||||
<message name="IDS_EXTENSIONS_NO_DESCRIPTION" desc="The message shown to the user when an extension does not have any description.">
|
||||
No description provided
|
||||
|
||||
@@ -14,7 +14,7 @@
|
||||
Web Store
|
||||
</message>
|
||||
<message name="IDS_EXTENSIONS_NO_INSTALLED_ITEMS" desc="The message shown to the user on the Extensions settings page when there are no extensions or apps installed.">
|
||||
Find extensions and themes in the <ph name="BEGIN_LINK"><a target="_blank" rel="noopener noreferrer" href="https://chrome.google.com/webstore/category/extensions"></ph>Web Store<ph name="END_LINK"></a><ex></a></ex></ph>
|
||||
Find extensions and themes in the <ph name="BEGIN_LINK"><a target="_blank" href="https://chrome.google.com/webstore/category/extensions"></ph>Web Store<ph name="END_LINK"></a><ex></a></ex></ph>
|
||||
</message>
|
||||
<message name="IDS_EXTENSIONS_SIDEBAR_OPEN_CHROME_WEB_STORE" desc="The text for the link to get more extensions in the extensions page.">
|
||||
Open Web Store
|
||||
|
||||
@@ -5705,7 +5705,7 @@ Keep your key file in a safe place. You will need it to create new versions of y
|
||||
You’re seeing your recent and suggested documents based on your previous activity using Google Drive.
|
||||
<ph name="BREAK"><br></ph>
|
||||
<ph name="BREAK"><br></ph>
|
||||
Learn about the data Google Drive collects and why <ph name="BEGIN_LINK"><a href="https://support.google.com/drive/answer/2450387" target="_blank" rel="noopener noreferrer"></ph>here<ph name="END_LINK"></a></ph>.
|
||||
Learn about the data Google Drive collects and why <ph name="BEGIN_LINK"><a href="https://support.google.com/drive/answer/2450387" target="_blank"></ph>here<ph name="END_LINK"></a></ph>.
|
||||
</message>
|
||||
<message name="IDS_NTP_MODULES_KALEIDOSCOPE_TITLE" desc="Title shown in the header of the Kaleidoscope module.">
|
||||
Top picks for you
|
||||
@@ -5714,10 +5714,10 @@ Keep your key file in a safe place. You will need it to create new versions of y
|
||||
Why am I seeing this?
|
||||
</message>
|
||||
<message name="IDS_NTP_MODULES_TASKS_INFO" desc="Text shown in the body of the info dialog of a task module.">
|
||||
You're seeing this item based on your previous activity using Brave services. You can see your data, delete it, and change your settings at <ph name="BEGIN_LINK1"><a href="https://myactivity.google.com/" target="_blank" rel="noopener noreferrer"></ph>myactivity.google.com<ph name="END_LINK1"></a></ph>.
|
||||
You're seeing this item based on your previous activity using Brave services. You can see your data, delete it, and change your settings at <ph name="BEGIN_LINK1"><a href="https://myactivity.google.com/" target="_blank"></ph>myactivity.google.com<ph name="END_LINK1"></a></ph>.
|
||||
<ph name="BREAK"><br></ph>
|
||||
<ph name="BREAK"><br></ph>
|
||||
Learn about the data Brave collects and why at <ph name="BEGIN_LINK2"><a href="https://policies.google.com/" target="_blank" rel="noopener noreferrer"></ph>policies.google.com<ph name="END_LINK2"></a></ph>.
|
||||
Learn about the data Brave collects and why at <ph name="BEGIN_LINK2"><a href="https://policies.google.com/" target="_blank"></ph>policies.google.com<ph name="END_LINK2"></a></ph>.
|
||||
</message>
|
||||
<message name="IDS_NTP_MODULES_SHOPPING_TASKS_INFO_CLOSE" desc="Text shown on close button of a task module.">
|
||||
Close
|
||||
@@ -6565,7 +6565,7 @@ Keep your key file in a safe place. You will need it to create new versions of y
|
||||
Clear browsing data
|
||||
</message>
|
||||
<message name="IDS_CLEAR_BROWSING_DATA_HISTORY_NOTICE" desc="A dialog informing the user that their Brave browsing history was deleted, but other forms of history can still be found on Brave My Activity.">
|
||||
The selected data has been removed from Brave and synced devices. Your Brave sync chain may have other forms of browsing history like searches and activity from other Brave services at <ph name="BEGIN_LINK"><a target="_blank" rel="noopener noreferrer" href="$1"></ph>myactivity.google.com<ph name="END_LINK"></a></ph>.
|
||||
The selected data has been removed from Brave and synced devices. Your Brave sync chain may have other forms of browsing history like searches and activity from other Brave services at <ph name="BEGIN_LINK"><a target="_blank" href="$1"></ph>myactivity.google.com<ph name="END_LINK"></a></ph>.
|
||||
</message>
|
||||
<message name="IDS_CLEAR_BROWSING_DATA_HISTORY_NOTICE_TITLE" desc="Title of a dialog that informs the user that the deletion of Brave's browsing data has been completed.">
|
||||
Cleared Brave data
|
||||
@@ -6575,7 +6575,7 @@ Keep your key file in a safe place. You will need it to create new versions of y
|
||||
</message>
|
||||
<!-- TODO(crbug.com/1099260): Add proper strings and make them translateable. -->
|
||||
<message name="IDS_CLEAR_BROWSING_DATA_PASSWORDS_NOTICE" desc="Body text of a dialog informing the user that some of their passwords were not successfully deleted." translateable="false">
|
||||
We were not able to delete all passwords stored in your Brave sync chain. Try again or visit <ph name="BEGIN_LINK"><a target="_blank" rel="noopener noreferrer" href="$1"></ph>passwords.google.com<ph name="END_LINK"></a></ph>.
|
||||
We were not able to delete all passwords stored in your Brave sync chain. Try again or visit <ph name="BEGIN_LINK"><a target="_blank" href="$1"></ph>passwords.google.com<ph name="END_LINK"></a></ph>.
|
||||
</message>
|
||||
<message name="IDS_CLEAR_BROWSING_DATA_PASSWORDS_NOTICE_TITLE" desc="Title of a dialog informing the user that some of their passwords were not successfully deleted." translateable="false">
|
||||
Some passwords were not deleted
|
||||
@@ -7802,10 +7802,10 @@ Keep your key file in a safe place. You will need it to create new versions of y
|
||||
<if expr="not is_android">
|
||||
<if expr="chromeos">
|
||||
<message name="IDS_DEVICE_MANAGED_WITH_HYPERLINK" desc="Message to end users in Enterprise/EDU, with a link for more info (BraveOS)">
|
||||
Your <ph name="BEGIN_LINK"><a target="_blank" rel="noopener noreferrer" href="$1"></ph><ph name="DEVICE_TYPE">$2<ex>Bravebook</ex></ph> is managed<ph name="END_LINK"></a></ph> by your organization
|
||||
Your <ph name="BEGIN_LINK"><a target="_blank" href="$1"></ph><ph name="DEVICE_TYPE">$2<ex>Bravebook</ex></ph> is managed<ph name="END_LINK"></a></ph> by your organization
|
||||
</message>
|
||||
<message name="IDS_DEVICE_MANAGED_BY_WITH_HYPERLINK" desc="Message to end users in Enterprise/EDU, with a link for more info (BraveOS)">
|
||||
Your <ph name="BEGIN_LINK"><a target="_blank" rel="noopener noreferrer" href="$1"></ph><ph name="DEVICE_TYPE">$2<ex>Bravebook</ex></ph> is managed<ph name="END_LINK"></a></ph> by <ph name="ENROLLMENT_DOMAIN">$3<ex>example.com</ex></ph>
|
||||
Your <ph name="BEGIN_LINK"><a target="_blank" href="$1"></ph><ph name="DEVICE_TYPE">$2<ex>Bravebook</ex></ph> is managed<ph name="END_LINK"></a></ph> by <ph name="ENROLLMENT_DOMAIN">$3<ex>example.com</ex></ph>
|
||||
</message>
|
||||
</if>
|
||||
<message name="IDS_MANAGED_WITH_HYPERLINK" desc="Message to end users in Enterprise/EDU, with a link for more info (non-BraveOS)">
|
||||
@@ -8186,7 +8186,7 @@ Keep your key file in a safe place. You will need it to create new versions of y
|
||||
Continue
|
||||
</message>
|
||||
<message name="IDS_SIGNIN_DICE_WEB_INTERCEPT_BUBBLE_GUEST_LINK" desc="Text of the link to offer switching to a Guest profile">
|
||||
Not your device? Use <ph name="BEGIN_LINK"><a is="action-link" target="_blank" rel="noopener noreferrer"></ph>Guest mode<ph name="END_LINK"></a></ph>.
|
||||
Not your device? Use <ph name="BEGIN_LINK"><a is="action-link" target="_blank"></ph>Guest mode<ph name="END_LINK"></a></ph>.
|
||||
</message>
|
||||
<message name="IDS_SIGNIN_DICE_WEB_INTERCEPT_ENTERPRISE_BUBBLE_DESC" desc="Body of the web signin interception bubble when the new account is personal and the existing account is managed">
|
||||
This will separate your browsing from <ph name="EXISTING_USER">$1<ex>bob@example.com</ex></ph>
|
||||
@@ -9930,7 +9930,7 @@ Please help our engineers fix this problem. Tell us what happened right before y
|
||||
|
||||
<!--Printer registration message for local discovery and Print Preview-->
|
||||
<message name="IDS_CLOUD_PRINT_REGISTER_PRINTER_INFORMATION" desc="Information about registering printers with Google Cloud Print shown to the user before they confirm registration.">
|
||||
Documents are <ph name="BEGIN_LINK_HELP"><a is="action-link" href="https://support.google.com/cloudprint/answer/2541843" target="_blank" rel="noopener noreferrer"></ph>sent to Brave<ph name="END_LINK_HELP"></a></ph> to prepare them for printing. View, edit and manage your printers and printer history on the <ph name="BEGIN_LINK_DASHBOARD"><a is="action-link" href="https://www.google.com/cloudprint#jobs" target="_blank" rel="noopener noreferrer"></ph>Google Cloud Print dashboard<ph name="END_LINK_DASHBOARD"></a></ph>.
|
||||
Documents are <ph name="BEGIN_LINK_HELP"><a is="action-link" href="https://support.google.com/cloudprint/answer/2541843" target="_blank"></ph>sent to Brave<ph name="END_LINK_HELP"></a></ph> to prepare them for printing. View, edit and manage your printers and printer history on the <ph name="BEGIN_LINK_DASHBOARD"><a is="action-link" href="https://www.google.com/cloudprint#jobs" target="_blank"></ph>Google Cloud Print dashboard<ph name="END_LINK_DASHBOARD"></a></ph>.
|
||||
</message>
|
||||
|
||||
<!--Tab alert tooltip strings-->
|
||||
|
||||
@@ -169,7 +169,7 @@
|
||||
<message name="IDS_MEDIA_ROUTER_FEEDBACK_FORM_DESCRIPTION" desc="Text to describe the feedback form.">
|
||||
Your feedback helps us to improve Brave Cast and is appreciated.
|
||||
For help troubleshooting issues with cast, please refer to the
|
||||
<ph name="BEGIN_LINK"><a href="$1" target="_blank" rel="noopener noreferrer"></ph>
|
||||
<ph name="BEGIN_LINK"><a href="$1" target="_blank"></ph>
|
||||
help center<ph name="END_LINK"></a></ph>.
|
||||
</message>
|
||||
<message name="IDS_MEDIA_ROUTER_FEEDBACK_HEADER" desc="Header of the Media Router feedback page.">
|
||||
@@ -326,7 +326,7 @@
|
||||
<!-- Cast feedback dialog: discovery -->
|
||||
<message name="IDS_MEDIA_ROUTER_FEEDBACK_SETUP_VISIBILITY_QUESTION" desc="Text for the question about device visibility through setup flow">
|
||||
Are you able to see your Bravecast in the
|
||||
<ph name="BEGIN_LINK"><a href="$1" target="_blank" rel="noopener noreferrer"></ph>
|
||||
<ph name="BEGIN_LINK"><a href="$1" target="_blank"></ph>
|
||||
Brave Home app<ph name="END_LINK"></a></ph>?
|
||||
</message>
|
||||
<message name="IDS_MEDIA_ROUTER_FEEDBACK_YES" desc="Label for yes option.">
|
||||
@@ -357,6 +357,6 @@
|
||||
</message>
|
||||
<message name="IDS_MEDIA_ROUTER_FEEDBACK_NETWORK_WIRED_PC" desc="Option for describing the network with a wired PC.">
|
||||
PC is wired and Bravecast is on Wi-Fi
|
||||
</message>
|
||||
</message>
|
||||
|
||||
</grit-part>
|
||||
|
||||
@@ -27,11 +27,11 @@
|
||||
</message>
|
||||
<message name="IDS_SETTINGS_UPDATE_REQUIRED_EOL_BANNER_DAYS" desc="Banner displayed in OS settings page in case update is required by policy, but the device has reached end-of-life and the number of days remaining to return the device back to the manager is less than seven. MANAGER can be a domain or an email address.">
|
||||
{NUM_DAYS, plural,
|
||||
=1 {<ph name="MANAGER">{1}<ex>example.com</ex></ph> requires you to back up your data and return this <ph name="DEVICE_TYPE">{2}<ex>Bravebook</ex></ph> today. <ph name="LINK_BEGIN"><a target="_blank" rel="noopener noreferrer" href="{3}<ex>https://google.com/</ex>"></ph>See details<ph name="LINK_END"></a></ph>}
|
||||
other {<ph name="MANAGER">{1}<ex>example.com</ex></ph> requires you to back up your data and return this <ph name="DEVICE_TYPE">{2}<ex>Bravebook</ex></ph> within {NUM_DAYS} days. <ph name="LINK_BEGIN"><a target="_blank" rel="noopener noreferrer" href="{3}<ex>https://google.com/</ex>"></ph>See details<ph name="LINK_END"></a></ph>}}
|
||||
=1 {<ph name="MANAGER">{1}<ex>example.com</ex></ph> requires you to back up your data and return this <ph name="DEVICE_TYPE">{2}<ex>Bravebook</ex></ph> today. <ph name="LINK_BEGIN"><a target="_blank" href="{3}<ex>https://google.com/</ex>"></ph>See details<ph name="LINK_END"></a></ph>}
|
||||
other {<ph name="MANAGER">{1}<ex>example.com</ex></ph> requires you to back up your data and return this <ph name="DEVICE_TYPE">{2}<ex>Bravebook</ex></ph> within {NUM_DAYS} days. <ph name="LINK_BEGIN"><a target="_blank" href="{3}<ex>https://google.com/</ex>"></ph>See details<ph name="LINK_END"></a></ph>}}
|
||||
</message>
|
||||
<message name="IDS_SETTINGS_UPDATE_REQUIRED_EOL_BANNER_ONE_WEEK" desc="Banner displayed in OS settings page in case update is required by policy, but the device has reached end-of-life and the number of days remaining to return the device back to the manager is equal to seven. MANAGER can be a domain or an email address.">
|
||||
<ph name="MANAGER">$1<ex>example.com</ex></ph> requires you to back up your data and return this <ph name="DEVICE_TYPE">$2<ex>Bravebook</ex></ph> within 1 week. <ph name="LINK_BEGIN"><a target="_blank" rel="noopener noreferrer" href="$3<ex>https://google.com/</ex>"></ph>See details<ph name="LINK_END"></a></ph>
|
||||
<ph name="MANAGER">$1<ex>example.com</ex></ph> requires you to back up your data and return this <ph name="DEVICE_TYPE">$2<ex>Bravebook</ex></ph> within 1 week. <ph name="LINK_BEGIN"><a target="_blank" href="$3<ex>https://google.com/</ex>"></ph>See details<ph name="LINK_END"></a></ph>
|
||||
</message>
|
||||
|
||||
<!-- Settings Search Box -->
|
||||
@@ -191,13 +191,13 @@
|
||||
Updates are managed by your administrator
|
||||
</message>
|
||||
<message name="IDS_SETTINGS_ABOUT_PAGE_END_OF_LIFE_MESSAGE_FUTURE" desc="Message used when end of life has not yet past current date in End of Life section on the About Page.">
|
||||
This device will get automatic software and security updates until <ph name="MONTH_AND_YEAR">$1<ex>September 2020</ex></ph>. <ph name="LINK_BEGIN"><a target="_blank" rel="noopener noreferrer" href="$2<ex>https://google.com/</ex>"></ph>Learn more<ph name="LINK_END"></a></ph>
|
||||
This device will get automatic software and security updates until <ph name="MONTH_AND_YEAR">$1<ex>September 2020</ex></ph>. <ph name="LINK_BEGIN"><a target="_blank" href="$2<ex>https://google.com/</ex>"></ph>Learn more<ph name="LINK_END"></a></ph>
|
||||
</message>
|
||||
<message name="IDS_SETTINGS_ABOUT_PAGE_END_OF_LIFE_MESSAGE_PAST" desc="Message used when End of Life is past current date in END OF LIFE section on the About Page.">
|
||||
This device stopped getting automatic software and security updates in <ph name="MONTH_AND_YEAR">$1<ex>September 2020</ex></ph>. <ph name="LINK_BEGIN"><a target="_blank" rel="noopener noreferrer" href="$2<ex>https://google.com/</ex>"></ph>Learn more<ph name="LINK_END"></a></ph>
|
||||
This device stopped getting automatic software and security updates in <ph name="MONTH_AND_YEAR">$1<ex>September 2020</ex></ph>. <ph name="LINK_BEGIN"><a target="_blank" href="$2<ex>https://google.com/</ex>"></ph>Learn more<ph name="LINK_END"></a></ph>
|
||||
</message>
|
||||
<message name="IDS_SETTINGS_ABOUT_PAGE_LAST_UPDATE_MESSAGE" desc="Message shown on the top level about page to inform the user that this device will no longer receive latest software updates.">
|
||||
This is the last automatic software and security update for this <ph name="DEVICE_TYPE">$1<ex>Bravebook</ex></ph>. To get future updates, upgrade to a newer model. <ph name="LINK_BEGIN"><a target="_blank" rel="noopener noreferrer" href="$2<ex>https://google.com/</ex>"></ph>Learn more<ph name="LINK_END"></a></ph>
|
||||
This is the last automatic software and security update for this <ph name="DEVICE_TYPE">$1<ex>Bravebook</ex></ph>. To get future updates, upgrade to a newer model. <ph name="LINK_BEGIN"><a target="_blank" href="$2<ex>https://google.com/</ex>"></ph>Learn more<ph name="LINK_END"></a></ph>
|
||||
</message>
|
||||
<message name="IDS_SETTINGS_ABOUT_PAGE_DIAGNOSTICS" desc="Text of the button which allows the user to diagnose their device.">
|
||||
Diagnostics
|
||||
@@ -320,7 +320,7 @@
|
||||
Change device language
|
||||
</message>
|
||||
<message name="IDS_OS_SETTINGS_LANGUAGES_CHANGE_DEVICE_LANGUAGE_DIALOG_DESCRIPTION" desc="Description for the dialog to change device language.">
|
||||
You need to restart your Bravebook to change the device language. <ph name="BEGIN_LINK_LEARN_MORE"><a target="_blank" rel="noopener noreferrer" href="$1"></ph>Learn more<ph name="END_LINK_LEARN_MORE"></a></ph>
|
||||
You need to restart your Bravebook to change the device language. <ph name="BEGIN_LINK_LEARN_MORE"><a target="_blank" href="$1"></ph>Learn more<ph name="END_LINK_LEARN_MORE"></a></ph>
|
||||
</message>
|
||||
<message name="IDS_OS_SETTINGS_LANGUAGES_SELECTED_DEVICE_LANGUAGE_INSTRUCTION" desc="Instruction read by screen reader when users can unselect a language.">
|
||||
<ph name="LANGUAGE">$1<ex>English</ex></ph> selected. Press Search plus Space to unselect.
|
||||
@@ -335,13 +335,13 @@
|
||||
Web content languages
|
||||
</message>
|
||||
<message name="IDS_OS_SETTINGS_LANGUAGES_LANGUAGES_PREFERENCE_DESCRIPTION" desc="Description for section that lets users choose the language for web content. The web content languages will be served in the order of the list.">
|
||||
Web content available in multiple languages will use the first supported language from this list. These preferences are synced with your browser settings. <ph name="BEGIN_LINK_LEARN_MORE"><a target="_blank" rel="noopener noreferrer" href="$1"></ph>Learn more<ph name="END_LINK_LEARN_MORE"></a></ph>
|
||||
Web content available in multiple languages will use the first supported language from this list. These preferences are synced with your browser settings. <ph name="BEGIN_LINK_LEARN_MORE"><a target="_blank" href="$1"></ph>Learn more<ph name="END_LINK_LEARN_MORE"></a></ph>
|
||||
</message>
|
||||
<message name="IDS_OS_SETTINGS_LANGUAGES_WEBSITE_LANGUAGES_TITLE" desc="Title of section that lets users choose a list of languages for websites. The website languages will be given to websites in the order given by the list.">
|
||||
Website languages
|
||||
</message>
|
||||
<message name="IDS_OS_SETTINGS_LANGUAGES_WEBSITE_LANGUAGES_DESCRIPTION" desc="Description for section that lets users choose a list of languages for websites. The website languages will be given to websites in the order given by the list.">
|
||||
Add and rank your preferred languages. Websites will show in your preferred languages, when possible. These preferences are synced with your browser settings. <ph name="BEGIN_LINK_LEARN_MORE"><a target="_blank" rel="noopener noreferrer" href="$1"></ph>Learn more<ph name="END_LINK_LEARN_MORE"></a></ph>
|
||||
Add and rank your preferred languages. Websites will show in your preferred languages, when possible. These preferences are synced with your browser settings. <ph name="BEGIN_LINK_LEARN_MORE"><a target="_blank" href="$1"></ph>Learn more<ph name="END_LINK_LEARN_MORE"></a></ph>
|
||||
</message>
|
||||
<message name="IDS_OS_SETTINGS_LANGUAGES_TRANSLATE_TARGET_LABEL" desc="The label of the toggle that enables the prompt to translate a page to users.">
|
||||
Language used when translating pages
|
||||
@@ -728,10 +728,10 @@
|
||||
Select <ph name="TOPIC_SOURCE">$1<ex>Brave Photos</ex></ph> albums
|
||||
</message>
|
||||
<message name="IDS_OS_SETTINGS_AMBIENT_MODE_ALBUMS_SUBPAGE_GOOGLE_PHOTOS_TITLE" desc="Label for the subpage to select albums of Brave Photos in ambient mode.">
|
||||
Relive your favorite memories. To add or edit albums, go to <ph name="LINK_BEGIN"><a target="_blank" rel="noopener noreferrer" href="$1<ex>https://google.com/</ex>"></ph>Brave Photos<ph name="LINK_END"></a></ph>.
|
||||
Relive your favorite memories. To add or edit albums, go to <ph name="LINK_BEGIN"><a target="_blank" href="$1<ex>https://google.com/</ex>"></ph>Brave Photos<ph name="LINK_END"></a></ph>.
|
||||
</message>
|
||||
<message name="IDS_OS_SETTINGS_AMBIENT_MODE_ALBUMS_SUBPAGE_GOOGLE_PHOTOS_NO_ALBUM" desc="Text for the subpage to select albums of Brave Photos when there is no album in ambient mode.">
|
||||
No albums. Create an album in <ph name="LINK_BEGIN"><a target="_blank" rel="noopener noreferrer" href="$1<ex>https://google.com/</ex>"></ph>Brave Photos<ph name="LINK_END"></a></ph>.
|
||||
No albums. Create an album in <ph name="LINK_BEGIN"><a target="_blank" href="$1<ex>https://google.com/</ex>"></ph>Brave Photos<ph name="LINK_END"></a></ph>.
|
||||
</message>
|
||||
<message name="IDS_OS_SETTINGS_AMBIENT_MODE_ALBUMS_SUBPAGE_RECENT_DESC" desc="Description for the Recent highlights album in ambient mode.">
|
||||
Your best photos, selected automatically
|
||||
@@ -863,7 +863,7 @@
|
||||
Translation
|
||||
</message>
|
||||
<message name="IDS_SETTINGS_QUICK_ANSWERS_TRANSLATION_ENABLE_DESCRIPTION" desc="Sub label for the Quick Answers translation toggle.">
|
||||
Add your preferred <ph name="LINK_BEGIN"><a target="_blank" rel="noopener noreferrer" href="#"></ph>website languages<ph name="LINK_END"></a></ph>. The top language from the list will be used for translations.
|
||||
Add your preferred <ph name="LINK_BEGIN"><a target="_blank" href="#"></ph>website languages<ph name="LINK_END"></a></ph>. The top language from the list will be used for translations.
|
||||
</message>
|
||||
<message name="IDS_SETTINGS_QUICK_ANSWERS_UNIT_CONVERSION_ENABLE" desc="Title for a toggle that controls the Quick Answers unit conversion feature.">
|
||||
Unit Conversion
|
||||
@@ -1591,7 +1591,7 @@ Press an assigned switch to remove assignment
|
||||
Managed by <ph name="DOMAIN">$1<ex>google.com</ex></ph>
|
||||
</message>
|
||||
<message name="IDS_SETTINGS_ACCOUNT_MANAGER_MANAGEMENT_STATUS" desc="Management status label for managed accounts.">
|
||||
This account is managed by <ph name="BEGIN_LINK"><a target="_blank" rel="noopener noreferrer"></ph><ph name="DOMAIN">$1<ex>google.com</ex></ph><ph name="END_LINK"></a></ph>
|
||||
This account is managed by <ph name="BEGIN_LINK"><a target="_blank"></ph><ph name="DOMAIN">$1<ex>google.com</ex></ph><ph name="END_LINK"></a></ph>
|
||||
</message>
|
||||
<message name="IDS_SETTINGS_ACCOUNT_MANAGER_MANAGEMENT_STATUS_CHILD" desc="Management status label for child accounts.">
|
||||
Managed by Family Link
|
||||
@@ -1841,7 +1841,7 @@ Press an assigned switch to remove assignment
|
||||
Reserve size
|
||||
</message>
|
||||
<message name="IDS_SETTINGS_CROSTINI_ARC_ADB_POWERWASH_REQUIRED_SUBLABEL" desc="Sublabel notifying user of powerwash requirement before enabling ARC ADB sideloading.">
|
||||
A factory reset of this Bravebook is required to enable ADB debugging. <ph name="BEGIN_LINK_LEARN_MORE"><a target="_blank" rel="noopener noreferrer" href="$1"></ph>Learn more<ph name="END_LINK_LEARN_MORE"></a></ph>
|
||||
A factory reset of this Bravebook is required to enable ADB debugging. <ph name="BEGIN_LINK_LEARN_MORE"><a target="_blank" href="$1"></ph>Learn more<ph name="END_LINK_LEARN_MORE"></a></ph>
|
||||
</message>
|
||||
<message name="IDS_SETTINGS_CROSTINI_ARC_ADB_CONFIRMATION_MESSAGE_ENABLE" desc="Describes what will happen if the user enables ADB Sideloading.">
|
||||
To enable ADB debugging, a restart of this <ph name="DEVICE_TYPE">$1<ex>Bravebook</ex></ph> is required. Disabling it requires a reset to factory settings.
|
||||
@@ -1850,7 +1850,7 @@ Press an assigned switch to remove assignment
|
||||
Disabling ADB debugging will reset this <ph name="DEVICE_TYPE">$1<ex>Bravebook</ex></ph> to factory settings. All user accounts and local data will be erased.
|
||||
</message>
|
||||
<message name="IDS_SETTINGS_CROSTINI_SUBTEXT" desc="Description for the section for enabling and managing Crostini.">
|
||||
Run Linux tools, editors, and IDEs on your <ph name="DEVICE_TYPE">$1<ex>Bravebook</ex></ph>. <ph name="LINK_BEGIN"><a target="_blank" rel="noopener noreferrer" href="$2<ex>https://google.com/</ex>"></ph>Learn more<ph name="LINK_END"></a></ph>
|
||||
Run Linux tools, editors, and IDEs on your <ph name="DEVICE_TYPE">$1<ex>Bravebook</ex></ph>. <ph name="LINK_BEGIN"><a target="_blank" href="$2<ex>https://google.com/</ex>"></ph>Learn more<ph name="LINK_END"></a></ph>
|
||||
</message>
|
||||
<message name="IDS_SETTINGS_CROSTINI_REMOVE" desc="Label for the row to open a dialog confirming removal of Crostini.">
|
||||
Remove Linux development environment
|
||||
@@ -2731,13 +2731,13 @@ Press an assigned switch to remove assignment
|
||||
This network is shared with you
|
||||
</message>
|
||||
<message name="IDS_SETTINGS_INTERNET_NETWORK_NOT_SYNCED" desc="Settings > Internet > Network details: Text to show when a network is not synced to the user's account.">
|
||||
This network is not synced to your account. <ph name="LINK_BEGIN"><a target="_blank" rel="noopener noreferrer" href="$1<ex>https://google.com/</ex>"></ph>Learn more<ph name="LINK_END"></a></ph>
|
||||
This network is not synced to your account. <ph name="LINK_BEGIN"><a target="_blank" href="$1<ex>https://google.com/</ex>"></ph>Learn more<ph name="LINK_END"></a></ph>
|
||||
</message>
|
||||
<message name="IDS_SETTINGS_INTERNET_NETWORK_SYNCED_DEVICE" desc="Settings > Internet > Network details: Text to show when a shared network is synced to the user's account. Also notes that changes to the network that are made by other users are not synced.">
|
||||
Synced with other devices on your account. Settings modified by other users will not be synced. <ph name="LINK_BEGIN"><a target="_blank" rel="noopener noreferrer" href="$1<ex>https://google.com/</ex>"></ph>Learn more<ph name="LINK_END"></a></ph>
|
||||
Synced with other devices on your account. Settings modified by other users will not be synced. <ph name="LINK_BEGIN"><a target="_blank" href="$1<ex>https://google.com/</ex>"></ph>Learn more<ph name="LINK_END"></a></ph>
|
||||
</message>
|
||||
<message name="IDS_SETTINGS_INTERNET_NETWORK_SYNCED_USER" desc="Settings > Internet > Network details: Text to show when a user network is synced.">
|
||||
Synced with other devices on your account. <ph name="LINK_BEGIN"><a target="_blank" rel="noopener noreferrer" href="$1<ex>https://google.com/</ex>"></ph>Learn more<ph name="LINK_END"></a></ph>
|
||||
Synced with other devices on your account. <ph name="LINK_BEGIN"><a target="_blank" href="$1<ex>https://google.com/</ex>"></ph>Learn more<ph name="LINK_END"></a></ph>
|
||||
</message>
|
||||
<message name="IDS_SETTINGS_INTERNET_WIFI_NETWORK_OUT_OF_RANGE" desc="Text shown when viewing the Wi-Fi network detail page when the currently-viewed Wi-Fi network has been lost (e.g., has gone out of range).">
|
||||
Network out of range
|
||||
@@ -2806,7 +2806,7 @@ Press an assigned switch to remove assignment
|
||||
Connect
|
||||
</message>
|
||||
<message name="IDS_SETTINGS_INTERNET_LOOKING_FOR_MOBILE_NETWORK" desc="Text shown when viewing the Mobile data page when there are no cellular or tether networks available.">
|
||||
Looking for a mobile network. <ph name="BEGIN_LINK"><a target="_blank" rel="noopener noreferrer" href="$1"></ph>Learn more<ph name="END_LINK"></a></ph>
|
||||
Looking for a mobile network. <ph name="BEGIN_LINK"><a target="_blank" href="$1"></ph>Learn more<ph name="END_LINK"></a></ph>
|
||||
</message>
|
||||
<message name="IDS_SETTINGS_INTERNET_ESIM_LABEL" desc="Label describing list of cellular networks as eSIM networks">
|
||||
eSIM
|
||||
@@ -2824,7 +2824,7 @@ Press an assigned switch to remove assignment
|
||||
No SIM card inserted
|
||||
</message>
|
||||
<message name="IDS_SETTINGS_INTERNET_TETHER_NOT_SETUP_WITH_LEARN_MORE_LINK" desc="Text shown when viewing the Mobile data page and no instant tether network is available">
|
||||
No device detected. <ph name="BEGIN_LINK"><a target="_blank" rel="noopener noreferrer" href="$1"></ph>Learn more<ph name="END_LINK"></a></ph>
|
||||
No device detected. <ph name="BEGIN_LINK"><a target="_blank" href="$1"></ph>Learn more<ph name="END_LINK"></a></ph>
|
||||
</message>
|
||||
<message name="IDS_SETTINGS_INTERNET_SHOW_EID_POPUP_BUTTON_LABEL" desc="A11y and tooltop label for EID and QR Code popup show button when viewing cellular network list">
|
||||
Show device EID and QR Code popup
|
||||
@@ -2903,7 +2903,7 @@ Press an assigned switch to remove assignment
|
||||
Messages
|
||||
</message>
|
||||
<message name="IDS_SETTINGS_MULTIDEVICE_ANDROID_MESSAGES_SUMMARY" desc="Description of for the 'Android Messages' setting. This feature lets the user read and reply to text messages from their Bravebook. New text messages will appear as notifications.">
|
||||
Send and receive text messages from your <ph name="DEVICE_TYPE">$1<ex>Bravebook</ex></ph>. <ph name="LINK_BEGIN"><a target="_blank" rel="noopener noreferrer" href="$2<ex>https://google.com/</ex>"></ph>Learn more<ph name="LINK_END"></a></ph>
|
||||
Send and receive text messages from your <ph name="DEVICE_TYPE">$1<ex>Bravebook</ex></ph>. <ph name="LINK_BEGIN"><a target="_blank" href="$2<ex>https://google.com/</ex>"></ph>Learn more<ph name="LINK_END"></a></ph>
|
||||
</message>
|
||||
<message name="IDS_SETTINGS_MULTIDEVICE_PHONE_HUB_SECTION_TITLE" desc="The title of the Phone Hub section on the settings page.">
|
||||
Phone Hub
|
||||
@@ -2927,7 +2927,7 @@ Press an assigned switch to remove assignment
|
||||
View recent Brave tabs from your phone
|
||||
</message>
|
||||
<message name="IDS_SETTINGS_MULTIDEVICE_PHONE_HUB_TASK_CONTINUATION_DISABLED_SUMMARY" desc="Description of for the 'Phone Hub Task Continuation' setting when Brave sync is not enabled. This feature lets users resume in-app actions and chrome tabs that are open on a connected Android phone from Chrome OS devices.">
|
||||
Turn on <ph name="LINK1_BEGIN"><a id="chromeSyncLink"></ph>Brave Sync<ph name="LINK1_END"></a></ph> to view recent Brave tabs. <ph name="LINK2_BEGIN"><a target="_blank" rel="noopener noreferrer" id="learnMoreLink" href="$1<ex>https://google.com/</ex>"></ph>Learn More<ph name="LINK2_END"></a></ph>
|
||||
Turn on <ph name="LINK1_BEGIN"><a id="chromeSyncLink"></ph>Brave Sync<ph name="LINK1_END"></a></ph> to view recent Brave tabs. <ph name="LINK2_BEGIN"><a target="_blank" id="learnMoreLink" href="$1<ex>https://google.com/</ex>"></ph>Learn More<ph name="LINK2_END"></a></ph>
|
||||
</message>
|
||||
<message name="IDS_SETTINGS_MULTIDEVICE_PHONE_HUB_TASK_CONTINUATION_SYNC_LABEL" desc="Accessibility label (used by screen readers, not shown in UI) for a link that leads to the Brave Sync toggle that needs to be enabled as a prerequisite for the 'Phone Hub Task Continuation' feature to be enabled. This feature lets users resume chrome tabs that are open on a connected Android phone from Chrome OS devices.">
|
||||
Turn on Brave Sync to view recent Brave tabs from your phone
|
||||
@@ -2972,7 +2972,7 @@ Press an assigned switch to remove assignment
|
||||
Could not set up notifications syncing
|
||||
</message>
|
||||
<message name="IDS_SETTINGS_MULTIDEVICE_NOTIFICATION_ACCESS_SETUP_DIALOG_ACCESS_PROHIBITED_SUMMARY" desc="The text of the dialog containing the Phone Hub notification opt-in flow when access to notifications is prohibited because the user's phone has a work profile.">
|
||||
Notification syncing is not supported for phones in a work profile. <ph name="LINK_BEGIN"><a target="_blank" rel="noopener noreferrer" href="$1<ex>https://google.com/</ex>"></ph>Learn more<ph name="LINK_END"></a></ph>
|
||||
Notification syncing is not supported for phones in a work profile. <ph name="LINK_BEGIN"><a target="_blank" href="$1<ex>https://google.com/</ex>"></ph>Learn more<ph name="LINK_END"></a></ph>
|
||||
</message>
|
||||
<message name="IDS_SETTINGS_MULTIDEVICE_NOTIFICATION_ACCESS_PROHIBITED_TOOLTIP" desc="Tooltip shown to users when hovering the help icon in settings next to the Phone Hub notification syncing feature. The tooltip describes how users with work profiles cannot opt into this feature.">
|
||||
Notification syncing is not supported for phones in a work profile
|
||||
@@ -2987,10 +2987,10 @@ Press an assigned switch to remove assignment
|
||||
Wi-Fi Sync
|
||||
</message>
|
||||
<message name="IDS_SETTINGS_MULTIDEVICE_WIFI_SYNC_SUMMARY" desc="Description for the 'Wifi Sync' section on the settings page. This feature lets the user sync wifi network configurations between Chrome OS devices and a connected Android phone">
|
||||
Sync Wi-Fi networks with your phone. <ph name="LINK_BEGIN"><a target="_blank" rel="noopener noreferrer" href="$1<ex>https://google.com/</ex>"></ph>Learn more<ph name="LINK_END"></a></ph>
|
||||
Sync Wi-Fi networks with your phone. <ph name="LINK_BEGIN"><a target="_blank" href="$1<ex>https://google.com/</ex>"></ph>Learn more<ph name="LINK_END"></a></ph>
|
||||
</message>
|
||||
<message name="IDS_SETTINGS_MULTIDEVICE_ENABLE_WIFI_SYNC_V1_SUMMARY" desc="Description for the 'Wifi Sync' section on the settings page when the prerequisite 'Brave Sync' setting is not activated. This feature lets the user sync wifi network configurations between Chrome OS devices and a connected Android phone. The description contains a link that leads to the toggle where the prerequisite 'Brave Sync' feature can be turned on and a 'Learn More' link to learn more about the 'Wifi Sync' feature.">
|
||||
Turn on <ph name="LINK1_BEGIN"><a id="chromeSyncLink"></ph>Brave Sync<ph name="LINK1_END"></a></ph> to use Wi-Fi Sync. <ph name="LINK2_BEGIN"><a id="learnMoreLink" target="_blank" rel="noopener noreferrer" href="$1<ex>https://google.com/</ex>"></ph>Learn more<ph name="LINK2_END"></a></ph>
|
||||
Turn on <ph name="LINK1_BEGIN"><a id="chromeSyncLink"></ph>Brave Sync<ph name="LINK1_END"></a></ph> to use Wi-Fi Sync. <ph name="LINK2_BEGIN"><a id="learnMoreLink" target="_blank" href="$1<ex>https://google.com/</ex>"></ph>Learn more<ph name="LINK2_END"></a></ph>
|
||||
</message>
|
||||
<message name="IDS_SETTINGS_MULTIDEVICE_WIFI_SYNC_CHROME_SYNC_LABEL" desc="Accessibility label (used by screen readers, not shown in UI) for a link that leads to the Brave Sync toggle that needs to be enabled as a prerequisite for the 'Wifi Sync' feature to be enabled. This feature lets the user sync wifi network configurations between Chrome OS devices and a connected Android phone.">
|
||||
Turn on Brave Sync to use Wi-Fi Sync
|
||||
@@ -3084,16 +3084,16 @@ Press an assigned switch to remove assignment
|
||||
Disconnect
|
||||
</message>
|
||||
<message name="IDS_SETTINGS_MULTIDEVICE_SETUP_SUMMARY" desc="Tells the user to connect their Bravebook to their phone.">
|
||||
Connect your <ph name="DEVICE_TYPE">$1<ex>Bravebook</ex></ph> with your phone. <ph name="LINK_BEGIN"><a target="_blank" rel="noopener noreferrer" href="$2<ex>https://google.com/</ex>"></ph>Learn more<ph name="LINK_END"></a></ph>
|
||||
Connect your <ph name="DEVICE_TYPE">$1<ex>Bravebook</ex></ph> with your phone. <ph name="LINK_BEGIN"><a target="_blank" href="$2<ex>https://google.com/</ex>"></ph>Learn more<ph name="LINK_END"></a></ph>
|
||||
</message>
|
||||
<message name="IDS_SETTINGS_MULTIDEVICE_NO_ELIGIBLE_HOSTS" desc="Tells the user that there is no phone with their account on it that can connect to their Bravebook.">
|
||||
No eligible devices. <ph name="LINK_BEGIN"><a target="_blank" rel="noopener noreferrer" href="$1<ex>https://google.com/</ex>"></ph>Learn more<ph name="LINK_END"></a></ph>
|
||||
No eligible devices. <ph name="LINK_BEGIN"><a target="_blank" href="$1<ex>https://google.com/</ex>"></ph>Learn more<ph name="LINK_END"></a></ph>
|
||||
</message>
|
||||
<message name="IDS_SETTINGS_MULTIDEVICE_VERIFICATION_TEXT" desc="Text to tell user that their Bravebook needs to verify that it can connect with their phone.">
|
||||
Waiting for verification. <ph name="LINK_BEGIN"><a target="_blank" rel="noopener noreferrer" href="$1<ex>https://google.com/</ex>"></ph>Learn more<ph name="LINK_END"></a></ph>
|
||||
Waiting for verification. <ph name="LINK_BEGIN"><a target="_blank" href="$1<ex>https://google.com/</ex>"></ph>Learn more<ph name="LINK_END"></a></ph>
|
||||
</message>
|
||||
<message name="IDS_SETTINGS_MULTIDEVICE_SMART_LOCK_SUMMARY" desc="Description of for the 'Smart Lock' setting. This feature automatically unlocks the user's Bravebook if their phone is nearby and unlocked.">
|
||||
Unlock your <ph name="DEVICE_TYPE">$1<ex>Bravebook</ex></ph> with your phone. <ph name="LINK_BEGIN"><a target="_blank" rel="noopener noreferrer" href="$2<ex>https://google.com/</ex>"></ph>Learn more<ph name="LINK_END"></a></ph>
|
||||
Unlock your <ph name="DEVICE_TYPE">$1<ex>Bravebook</ex></ph> with your phone. <ph name="LINK_BEGIN"><a target="_blank" href="$2<ex>https://google.com/</ex>"></ph>Learn more<ph name="LINK_END"></a></ph>
|
||||
</message>
|
||||
<message name="IDS_SETTINGS_PEOPLE_LOCK_SCREEN_OPTIONS_LOGIN_LOCK" desc="Text on the lock screen which is the subheader for the screen locking options.">
|
||||
Lock screen from sleep mode
|
||||
@@ -3246,7 +3246,7 @@ Press an assigned switch to remove assignment
|
||||
Valid for <ph name="TICKET_TIME_LEFT">$1<ex>7 hours 12 minutes</ex></ph>
|
||||
</message>
|
||||
<message name="IDS_SETTINGS_KERBEROS_ACCOUNTS_DESCRIPTION" desc="Description of the 'Kerberos tickets' Settings page. Shown just below the title of the page.">
|
||||
Choose a ticket to use for authentication. <ph name="LINK_BEGIN"><a target="_blank" rel="noopener noreferrer" href="$1<ex>https://google.com/</ex>"></ph>Learn more<ph name="LINK_END"></a></ph>
|
||||
Choose a ticket to use for authentication. <ph name="LINK_BEGIN"><a target="_blank" href="$1<ex>https://google.com/</ex>"></ph>Learn more<ph name="LINK_END"></a></ph>
|
||||
</message>
|
||||
<message name="IDS_SETTINGS_KERBEROS_ACCOUNTS_SUBMENU_LABEL" desc="Label of 'Kerberos tickets' submenu in Settings page.">
|
||||
Kerberos tickets
|
||||
@@ -3793,7 +3793,7 @@ Press an assigned switch to remove assignment
|
||||
Android settings
|
||||
</message>
|
||||
<message name="IDS_SETTINGS_ANDROID_APPS_SUBTEXT" desc="Description for the section for enabling and managing Google Play Store (Android) apps.">
|
||||
Install apps and games from Google Play on your <ph name="DEVICE_TYPE">$1<ex>Bravebook</ex></ph>. <ph name="LINK_BEGIN"><a target="_blank" rel="noopener noreferrer" href="$2<ex>https://google.com/</ex>"></ph>Learn more<ph name="LINK_END"></a></ph>
|
||||
Install apps and games from Google Play on your <ph name="DEVICE_TYPE">$1<ex>Bravebook</ex></ph>. <ph name="LINK_BEGIN"><a target="_blank" href="$2<ex>https://google.com/</ex>"></ph>Learn more<ph name="LINK_END"></a></ph>
|
||||
</message>
|
||||
<!-- TODO(jamescook): Use device type instead of "Bravebook", which may
|
||||
require changing ArcPlayTermsOfServiceConsent resource id handling. -->
|
||||
@@ -3886,7 +3886,7 @@ Press an assigned switch to remove assignment
|
||||
External storage preferences
|
||||
</message>
|
||||
<message name="IDS_SETTINGS_STORAGE_ANDROID_APPS_ACCESS_EXTERNAL_DRIVES_NOTE" desc="Label for the additional note for the subpage for setting preferences for external storage.">
|
||||
Apps from Google Play may require full file system access to read and write files on external storage devices. Files and folders created on the device are visible to anyone who uses the external drive. <ph name="LINK_BEGIN"><a target="_blank" rel="noopener noreferrer" href="$1<ex>https://google.com/</ex>"></ph>Learn more<ph name="LINK_END"></a></ph>
|
||||
Apps from Google Play may require full file system access to read and write files on external storage devices. Files and folders created on the device are visible to anyone who uses the external drive. <ph name="LINK_BEGIN"><a target="_blank" href="$1<ex>https://google.com/</ex>"></ph>Learn more<ph name="LINK_END"></a></ph>
|
||||
</message>
|
||||
<message name="IDS_SETTINGS_STORAGE_EXTERNAL_STORAGE_EMPTY_LIST_HEADER" desc="Header of the list of external storage devices for the subpage for setting preferences for external storage. This is shown when the list is empty.">
|
||||
Available devices will appear here.
|
||||
|
||||
@@ -52,7 +52,7 @@
|
||||
No saved passwords. Brave can check your passwords when you save them.
|
||||
</message>
|
||||
<message name="IDS_SETTINGS_CHECK_PASSWORDS_ERROR_QUOTA_LIMIT_GOOGLE_ACCOUNT" desc="Error message when the password check can't be completed since the user hit the quota limit, but the user is able to check their passwords in their Brave account.">
|
||||
Brave can't check your passwords. Try again after 24 hours or <ph name="BEGIN_LINK"><a href="$1" target="_blank" rel="noopener noreferrer"></ph>check passwords in your Brave sync chain<ph name="END_LINK"></a></ph>.
|
||||
Brave can't check your passwords. Try again after 24 hours or <ph name="BEGIN_LINK"><a href="$1" target="_blank"></ph>check passwords in your Brave sync chain<ph name="END_LINK"></a></ph>.
|
||||
</message>
|
||||
<message name="IDS_SETTINGS_CHECK_PASSWORDS_ERROR_QUOTA_LIMIT" desc="Error message when the password check can't be completed since the user hit the quota limit.">
|
||||
Brave can't check your passwords. Try again after 24 hours.
|
||||
@@ -127,7 +127,7 @@
|
||||
Brave can't check for updates. Try checking your internet connection.
|
||||
</message>
|
||||
<message name="IDS_SETTINGS_SAFETY_CHECK_UPDATES_FAILED" desc="This text describes that Brave cannot update due to an unknown error.">
|
||||
Brave didn't update, something went wrong. <ph name="BEGIN_LINK"><a target="_blank" rel="noopener noreferrer" href="$1"></ph>Fix Brave update problems and failed updates.<ph name="END_LINK"></a></ph>
|
||||
Brave didn't update, something went wrong. <ph name="BEGIN_LINK"><a target="_blank" href="$1"></ph>Fix Brave update problems and failed updates.<ph name="END_LINK"></a></ph>
|
||||
</message>
|
||||
<message name="IDS_SETTINGS_SAFETY_CHECK_UPDATES_UNKNOWN" desc="This text displays the installed version of Brave when it is not possible to check for updates on non-Brave branded browsers.">
|
||||
Brave version <ph name="PRODUCT_VERSION">$1<ex>15.0.865.0</ex></ph> is installed
|
||||
@@ -199,6 +199,6 @@
|
||||
|
||||
<!-- Reset Page -->
|
||||
<message name="IDS_SETTINGS_RESET_PROFILE_FEEDBACK" desc="Feedback label in the Reset Profile Settings dialog">
|
||||
Help make Brave better by reporting the <ph name="BEGIN_LINK"><a is="action-link" target="_blank" rel="noopener noreferrer"></ph>current settings<ph name="END_LINK"></a></ph>
|
||||
Help make Brave better by reporting the <ph name="BEGIN_LINK"><a is="action-link" target="_blank"></ph>current settings<ph name="END_LINK"></a></ph>
|
||||
</message>
|
||||
</grit-part>
|
||||
|
||||
+28
-28
@@ -193,7 +193,7 @@
|
||||
Search settings
|
||||
</message>
|
||||
<message name="IDS_SETTINGS_SEARCH_NO_RESULTS_HELP" desc="Help text for a search that has no results.">
|
||||
Go to <ph name="BEGIN_LINK_CHROMIUM"><a target="_blank" rel="noopener noreferrer" href="$1"></ph>Brave help<ph name="END_LINK_CHROMIUM"></a></ph> if you can't find what you're looking for
|
||||
Go to <ph name="BEGIN_LINK_CHROMIUM"><a target="_blank" href="$1"></ph>Brave help<ph name="END_LINK_CHROMIUM"></a></ph> if you can't find what you're looking for
|
||||
</message>
|
||||
<message name="IDS_SETTINGS_SETTINGS" desc="The settings page title.">
|
||||
Settings
|
||||
@@ -295,7 +295,7 @@
|
||||
Edit card
|
||||
</message>
|
||||
<message name="IDS_SETTINGS_PAYMENTS_MANAGE_CREDIT_CARDS" desc="Shown in the payments section of settings. Descriptive text to inform the user that credit cards can be accessed online. Has a link.">
|
||||
To add or manage Brave Pay payment methods, visit your <ph name="BEGIN_LINK"><a href="$1" target="_blank" rel="noopener noreferrer"></ph>Brave sync chain<ph name="END_LINK"></a></ph>
|
||||
To add or manage Brave Pay payment methods, visit your <ph name="BEGIN_LINK"><a href="$1" target="_blank"></ph>Brave sync chain<ph name="END_LINK"></a></ph>
|
||||
</message>
|
||||
<message name="IDS_SETTINGS_PAYMENTS_SAVED_TO_THIS_DEVICE_ONLY" desc="Shown in the payments section of settings. Descriptive text to inform the user that this credit card will be saved to local device only.">
|
||||
This card will be saved to this device only
|
||||
@@ -630,19 +630,19 @@
|
||||
See and manage passwords saved on this device
|
||||
</message>
|
||||
<message name="IDS_SETTINGS_PASSWORDS_MANAGE_PASSWORDS" desc="Shown in the passwords section of settings. Descriptive text to inform that passwords can be accessed online. Has a link.">
|
||||
View and manage saved passwords in your <ph name="BEGIN_LINK"><a is="action-link" href="$1" target="_blank" rel="noopener noreferrer"></ph>Brave sync chain<ph name="END_LINK"></a></ph>
|
||||
View and manage saved passwords in your <ph name="BEGIN_LINK"><a is="action-link" href="$1" target="_blank"></ph>Brave sync chain<ph name="END_LINK"></a></ph>
|
||||
</message>
|
||||
<message name="IDS_SETTINGS_PASSWORDS_MANAGE_PASSWORDS_PLAINTEXT" desc="Shown in the passwords section of settings. Descriptive text to inform that passwords can be accessed online.">
|
||||
View and manage saved passwords in your Brave sync chain
|
||||
</message>
|
||||
<message name="IDS_SETTINGS_PASSWORDS_OPT_IN_ACCOUNT_STORAGE_BODY" desc="Description before a button in the passwords section of settings which triggers opt in to the account-scoped password storage.">
|
||||
You can also show passwords from your <ph name="BEGIN_LINK"><a is="action-link" href="$1" target="_blank" rel="noopener noreferrer"></ph>Brave sync chain<ph name="END_LINK"></a></ph> here
|
||||
You can also show passwords from your <ph name="BEGIN_LINK"><a is="action-link" href="$1" target="_blank"></ph>Brave sync chain<ph name="END_LINK"></a></ph> here
|
||||
</message>
|
||||
<message name="IDS_SETTINGS_PASSWORDS_OPT_IN_ACCOUNT_STORAGE_LABEL" desc="Label for a button in the passwords section of settings which triggers opt in to the account-scoped password storage.">
|
||||
Show
|
||||
</message>
|
||||
<message name="IDS_SETTINGS_PASSWORDS_OPT_OUT_ACCOUNT_STORAGE_BODY" desc="Description before a button in the passwords section of settings which triggers opt out of the account-scoped password storage.">
|
||||
Showing passwords from your <ph name="BEGIN_LINK"><a is="action-link" href="$1" target="_blank" rel="noopener noreferrer"></ph>Brave sync chain<ph name="END_LINK"></a></ph>
|
||||
Showing passwords from your <ph name="BEGIN_LINK"><a is="action-link" href="$1" target="_blank"></ph>Brave sync chain<ph name="END_LINK"></a></ph>
|
||||
</message>
|
||||
<message name="IDS_SETTINGS_PASSWORDS_OPT_OUT_ACCOUNT_STORAGE_LABEL" desc="Label for a button in the passwords section of settings which triggers opt out of the account-scoped password storage.">
|
||||
Remove from device
|
||||
@@ -938,16 +938,16 @@
|
||||
Time range
|
||||
</message>
|
||||
<message name="IDS_SETTINGS_CLEAR_BROWSING_DATA_WITH_SYNC" desc="Description in the footer of the Clear Browsing Data dialog when the user is syncing.">
|
||||
To clear browsing data from this device only, while keeping it in your Brave sync chain, <ph name="BEGIN_LINK"><a href="#" target="_blank" rel="noopener noreferrer"></ph>sign out<ph name="END_LINK"></a></ph>.
|
||||
To clear browsing data from this device only, while keeping it in your Brave sync chain, <ph name="BEGIN_LINK"><a href="#" target="_blank"></ph>sign out<ph name="END_LINK"></a></ph>.
|
||||
</message>
|
||||
<message name="IDS_SETTINGS_CLEAR_BROWSING_DATA_WITH_SYNC_ERROR" desc="Description in the footer of the Clear Browsing Data dialog when there is a sync error.">
|
||||
To clear browsing data from all of your synced devices and your Brave sync chain, <ph name="BEGIN_LINK"><a href="#" target="_blank" rel="noopener noreferrer"></ph>visit sync settings<ph name="END_LINK"></a></ph>.
|
||||
To clear browsing data from all of your synced devices and your Brave sync chain, <ph name="BEGIN_LINK"><a href="#" target="_blank"></ph>visit sync settings<ph name="END_LINK"></a></ph>.
|
||||
</message>
|
||||
<message name="IDS_SETTINGS_CLEAR_BROWSING_DATA_WITH_SYNC_PASSPHRASE_ERROR" desc="Description in the footer of the Clear Browsing Data dialog when there is a sync passphrase error.">
|
||||
To clear browsing data from all of your synced devices and your Brave sync chain, <ph name="BEGIN_LINK"><a href="#" target="_blank" rel="noopener noreferrer"></ph>enter your passphrase<ph name="END_LINK"></a></ph>.
|
||||
To clear browsing data from all of your synced devices and your Brave sync chain, <ph name="BEGIN_LINK"><a href="#" target="_blank"></ph>enter your passphrase<ph name="END_LINK"></a></ph>.
|
||||
</message>
|
||||
<message name="IDS_SETTINGS_CLEAR_BROWSING_DATA_WITH_SYNC_PAUSED" desc="Description in the footer of the Clear Browsing Data dialog when sync is paused.">
|
||||
To clear browsing data from all of your synced devices and your Brave sync chain, <ph name="BEGIN_LINK"><a href="#" target="_blank" rel="noopener noreferrer"></ph>sign in<ph name="END_LINK"></a></ph>.
|
||||
To clear browsing data from all of your synced devices and your Brave sync chain, <ph name="BEGIN_LINK"><a href="#" target="_blank"></ph>sign in<ph name="END_LINK"></a></ph>.
|
||||
</message>
|
||||
<message name="IDS_SETTINGS_CLEAR_BROWSING_HISTORY" desc="Checkbox for deleting Browsing History">
|
||||
Browsing history
|
||||
@@ -971,10 +971,10 @@
|
||||
Clears history from all signed-in devices. Your Brave sync chain may have other forms of browsing history at <ph name="BEGIN_LINK"><a target='_blank' href='$1'></ph>myactivity.google.com<ph name="END_LINK"></a><ex></a></ex></ph>.
|
||||
</message>
|
||||
<message name="IDS_SETTINGS_CLEAR_GOOGLE_SEARCH_HISTORY_GOOGLE_DSE" desc="A description explaining that search history and other forms of activity can be cleared through the Brave account.">
|
||||
<ph name="BEGIN_LINK_SEARCH"><a target="_blank" rel="noopener noreferrer" href="$1"></ph>Search history<ph name="END_LINK_SEARCH"></a></ph> and <ph name="BEGIN_LINK_GOOGLE"><a target="_blank" rel="noopener noreferrer" href="$2"></ph>other forms of activity<ph name="END_LINK_GOOGLE"></a></ph> may be saved in your Brave sync chain when you're signed in. You can delete them anytime.
|
||||
<ph name="BEGIN_LINK_SEARCH"><a target="_blank" href="$1"></ph>Search history<ph name="END_LINK_SEARCH"></a></ph> and <ph name="BEGIN_LINK_GOOGLE"><a target="_blank" href="$2"></ph>other forms of activity<ph name="END_LINK_GOOGLE"></a></ph> may be saved in your Brave sync chain when you're signed in. You can delete them anytime.
|
||||
</message>
|
||||
<message name="IDS_SETTINGS_CLEAR_GOOGLE_SEARCH_HISTORY_NON_GOOGLE_DSE" desc="A description explaining that other forms of activity can be cleared through the Brave account.">
|
||||
<ph name="BEGIN_LINK_GOOGLE"><a target="_blank" rel="noopener noreferrer" href="$1"></ph>Other forms of activity<ph name="END_LINK_GOOGLE"></a></ph> may be saved in your Brave sync chain when you're signed in. You can delete them anytime.
|
||||
<ph name="BEGIN_LINK_GOOGLE"><a target="_blank" href="$1"></ph>Other forms of activity<ph name="END_LINK_GOOGLE"></a></ph> may be saved in your Brave sync chain when you're signed in. You can delete them anytime.
|
||||
</message>
|
||||
<message name="IDS_SETTINGS_CLEAR_NON_GOOGLE_SEARCH_HISTORY_PREPOPULATED_DSE" desc="A description informing the user about the way to clear their search history when their Default Search Engine is not Brave.">
|
||||
Your search engine is <ph name="DSE">$1<ex>Bing</ex></ph>. See their instructions for deleting your search history, if applicable.
|
||||
@@ -1241,10 +1241,10 @@
|
||||
Privacy Sandbox preserves the vitality of the open web by creating better ways to perform these services—without breaking sites, and while preventing you from being surreptitiously tracked across the web.
|
||||
</message>
|
||||
<message name="IDS_SETTINGS_PRIVACY_SANDBOX_PAGE_EXPLANATION4" desc="Part 4 of the explanation of the Privacy Sandbox, shown on the Privacy Sandbox Page. The 'Learn more' link navigates the user to a page with more details.">
|
||||
Privacy Sandbox is still in active development and is available in selected regions. For now, sites may try out Privacy Sandbox while continuing to use current web technologies like third-party cookies. <ph name="BEGIN_LINK"><a href="$1" target="_blank" rel="noopener noreferrer"></ph>Learn more<ph name="END_LINK"></a></ph>
|
||||
Privacy Sandbox is still in active development and is available in selected regions. For now, sites may try out Privacy Sandbox while continuing to use current web technologies like third-party cookies. <ph name="BEGIN_LINK"><a href="$1" target="_blank"></ph>Learn more<ph name="END_LINK"></a></ph>
|
||||
</message>
|
||||
<message name="IDS_SETTINGS_PRIVACY_SANDBOX_PAGE_EXPLANATION1_PHASE2" desc="Part 1 of the phase 2 explanation of the Privacy Sandbox, shown on the Privacy Sandbox Page. The 'Privacy Sandbox' link navigates the user to a page with more details.">
|
||||
With <ph name="BEGIN_LINK"><a href="$1" target="_blank" rel="noopener noreferrer"></ph>Privacy Sandbox<ph name="END_LINK"></a></ph>, Brave is developing new technologies to safeguard you from cross-site tracking while preserving the open web.
|
||||
With <ph name="BEGIN_LINK"><a href="$1" target="_blank"></ph>Privacy Sandbox<ph name="END_LINK"></a></ph>, Brave is developing new technologies to safeguard you from cross-site tracking while preserving the open web.
|
||||
</message>
|
||||
<message name="IDS_SETTINGS_PRIVACY_SANDBOX_PAGE_EXPLANATION2_PHASE2" desc="Part 2 of the phase 2 explanation of the Privacy Sandbox, shown on the Privacy Sandbox Page. The 'Privacy Sandbox' link navigates the user to a page with more details.">
|
||||
Privacy Sandbox trials are still in active development and are available in selected regions. For now, sites may try out Privacy Sandbox while continuing to use current web technologies like third-party cookies.
|
||||
@@ -1284,10 +1284,10 @@
|
||||
</message>
|
||||
<message name="IDS_SETTINGS_PRIVACY_SANDBOX_PAGE_FLOC_EXPLANATION" desc="Explanation of Federated Learning of Cohorts (FLoC) which appears at the top of the FLoC settings card. The some regions link goes to a site indicating where FLoC is currently available">
|
||||
When on and the status is active, Brave uses your browsing history over 7 days to determine a group, or “cohort”, that you’re in. Advertisers can select ads for the group. Your browsing history is kept private on your device. This trial is active only in
|
||||
<ph name="BEGIN_LINK"><a href="$1" target="_blank" rel="noopener noreferrer"></ph>some regions<ph name="END_LINK"></a></ph>.
|
||||
<ph name="BEGIN_LINK"><a href="$1" target="_blank"></ph>some regions<ph name="END_LINK"></a></ph>.
|
||||
</message>
|
||||
<message name="IDS_SETTINGS_PRIVACY_SANDBOX_FLOC_TRIAL_ACTIVE" desc="Sentence indicating that FLoC is only available in some regions, including a link to a page that describes exactly what regions it is available. This will only every appear directly after another sentence.">
|
||||
This trial is active only in <ph name="BEGIN_LINK"><a target="_blank" rel="noopener noreferrer" href="$1"></ph>some regions<ph name="END_LINK"></a></ph>.
|
||||
This trial is active only in <ph name="BEGIN_LINK"><a target="_blank" href="$1"></ph>some regions<ph name="END_LINK"></a></ph>.
|
||||
</message>
|
||||
<message name="IDS_SETTINGS_PRIVACY_SANDBOX_PAGE_FLOC_STATUS" desc="The text used to label the user's current Federated Learning of Cohorts (FLoC) trial status">
|
||||
Status
|
||||
@@ -1387,7 +1387,7 @@
|
||||
Updates
|
||||
</message>
|
||||
<message name="IDS_SETTINGS_SAFETY_CHECK_UPDATES_DISABLED_BY_ADMIN" desc="This text describes that updates are managed by the administrator.">
|
||||
Updates are managed by <ph name="BEGIN_LINK"><a target="_blank" rel="noopener noreferrer" href="$1"></ph>your administrator<ph name="END_LINK"></a></ph>
|
||||
Updates are managed by <ph name="BEGIN_LINK"><a target="_blank" href="$1"></ph>your administrator<ph name="END_LINK"></a></ph>
|
||||
</message>
|
||||
<message name="IDS_SETTINGS_SAFETY_CHECK_PASSWORDS_PRIMARY_LABEL" desc="'Passwords' is an element in safety check that allows users to check for their passwords being compromised.">
|
||||
Passwords
|
||||
@@ -1411,7 +1411,7 @@
|
||||
Enhanced Protection is on
|
||||
</message>
|
||||
<message name="IDS_SETTINGS_SAFETY_CHECK_SAFE_BROWSING_DISABLED_BY_ADMIN" desc="This text points out that Safe Browsing is disabled by an administrator.">
|
||||
<ph name="BEGIN_LINK"><a target="_blank" rel="noopener noreferrer" href="$1"></ph>Your administrator<ph name="END_LINK"></a></ph> has turned off Safe Browsing
|
||||
<ph name="BEGIN_LINK"><a target="_blank" href="$1"></ph>Your administrator<ph name="END_LINK"></a></ph> has turned off Safe Browsing
|
||||
</message>
|
||||
<message name="IDS_SETTINGS_SAFETY_CHECK_SAFE_BROWSING_DISABLED_BY_EXTENSION" desc="This text points out that Safe Browsing is disabled by an extension.">
|
||||
An extension has turned off Safe Browsing
|
||||
@@ -1487,7 +1487,7 @@
|
||||
Brave is removing harmful software from your computer...
|
||||
</message>
|
||||
<message name="IDS_SETTINGS_SAFETY_CHECK_CHROME_CLEANER_DISABLED_BY_ADMIN" desc="This text describes that Brave can't check for unwanted software because an administrator disabled the feature.">
|
||||
<ph name="BEGIN_LINK"><a target="_blank" rel="noopener noreferrer" href="$1"></ph>Your administrator<ph name="END_LINK"></a></ph> has turned off checking for harmful software
|
||||
<ph name="BEGIN_LINK"><a target="_blank" href="$1"></ph>Your administrator<ph name="END_LINK"></a></ph> has turned off checking for harmful software
|
||||
</message>
|
||||
<message name="IDS_SETTINGS_SAFETY_CHECK_CHROME_CLEANER_ERROR" desc="This text describes that Brave can't check for unwanted software due to an error.">
|
||||
Something went wrong. Click for more details.
|
||||
@@ -1582,7 +1582,7 @@
|
||||
Do Not Track
|
||||
</message>
|
||||
<message name="IDS_SETTINGS_ENABLE_DO_NOT_TRACK_DIALOG_TEXT" desc="The text of a confirmation dialog that confirms that the user want to send the 'Do Not Track' header">
|
||||
Enabling "Do Not Track" means that a request will be included with your browsing traffic. Any effect depends on whether a website responds to the request, and how the request is interpreted. For example, some websites may respond to this request by showing you ads that aren't based on other websites you've visited. Many websites will still collect and use your browsing data - for example to improve security, to provide content, services, ads and recommendations on their websites, and to generate reporting statistics. <ph name="BEGIN_LINK"><a target="_blank" rel="noopener noreferrer" href="$1"></ph>Learn more<ph name="END_LINK"></a><ex></a></ex></ph>
|
||||
Enabling "Do Not Track" means that a request will be included with your browsing traffic. Any effect depends on whether a website responds to the request, and how the request is interpreted. For example, some websites may respond to this request by showing you ads that aren't based on other websites you've visited. Many websites will still collect and use your browsing data - for example to improve security, to provide content, services, ads and recommendations on their websites, and to generate reporting statistics. <ph name="BEGIN_LINK"><a target="_blank" href="$1"></ph>Learn more<ph name="END_LINK"></a><ex></a></ex></ph>
|
||||
</message>
|
||||
<message name="IDS_SETTINGS_PERMISSIONS" desc="Name of the settings page which allows users to manage permissions and site content settings">
|
||||
Permissions and content settings
|
||||
@@ -1636,7 +1636,7 @@
|
||||
With
|
||||
</message>
|
||||
<message name="IDS_SETTINGS_SECURE_DROPDOWN_MODE_PRIVACY_POLICY" desc="Text that displays a link to the privacy policy of the resolver selected from a dropdown menu">
|
||||
See this provider's <ph name="BEGIN_LINK"><a target="_blank" rel="noopener noreferrer" href="$1<ex>https://google.com/</ex>"></ph>privacy policy<ph name="END_LINK"></a></ph>
|
||||
See this provider's <ph name="BEGIN_LINK"><a target="_blank" href="$1<ex>https://google.com/</ex>"></ph>privacy policy<ph name="END_LINK"></a></ph>
|
||||
</message>
|
||||
<message name="IDS_SETTINGS_SECURE_DNS_DISABLED_FOR_MANAGED_ENVIRONMENT" desc="Substring of the secure DNS setting when secure DNS is disabled due to detection of a managed environment">
|
||||
This setting is disabled on managed browsers
|
||||
@@ -3229,7 +3229,7 @@
|
||||
Sign in
|
||||
</message>
|
||||
<message name="IDS_SETTINGS_SYNC_DISCONNECT_MANAGED_PROFILE_EXPLANATION" desc="The text to display in the 'Sign out of Brave' dialog to stop syncing for managed profiles.">
|
||||
Because this account is managed by <ph name="DOMAIN">$1<ex>example.com</ex></ph>, your bookmarks, history, passwords, and other settings will be cleared from this device. However, your data will remain stored in your Brave sync chain and can be managed on <ph name="BEGIN_LINK"><a href="$2" target="_blank" rel="noopener noreferrer"><ex><a href="$2" target="_blank"></ex></ph>Brave Dashboard<ph name="END_LINK"></a><ex></a></ex></ph>.
|
||||
Because this account is managed by <ph name="DOMAIN">$1<ex>example.com</ex></ph>, your bookmarks, history, passwords, and other settings will be cleared from this device. However, your data will remain stored in your Brave sync chain and can be managed on <ph name="BEGIN_LINK"><a href="$2" target="_blank"><ex><a href="$2" target="_blank"></ex></ph>Brave Dashboard<ph name="END_LINK"></a><ex></a></ex></ph>.
|
||||
</message>
|
||||
<message name="IDS_SETTINGS_TURN_OFF_SYNC_AND_SIGN_OUT_DIALOG_TITLE" desc="The text to display on the title of the dialog to turn off sync and sign out.">
|
||||
Turn off sync and personalization?
|
||||
@@ -3269,7 +3269,7 @@
|
||||
</if>
|
||||
|
||||
<message name="IDS_SETTINGS_SYNC_DISCONNECT_EXPLANATION" desc="The text to display in the Sign out of Brave dialog to stop syncing for non-managed profiles.">
|
||||
Changes to your bookmarks, history, passwords, and other settings will no longer be synced to your Brave sync chain. However, your existing data will remain stored in your Brave sync chain and can be managed on <ph name="BEGIN_LINK"><a href="$1" target="_blank" rel="noopener noreferrer"><ex><a href="$1" target="_blank"></ex></ph>Brave Dashboard<ph name="END_LINK"></a><ex></a></ex></ph>.
|
||||
Changes to your bookmarks, history, passwords, and other settings will no longer be synced to your Brave sync chain. However, your existing data will remain stored in your Brave sync chain and can be managed on <ph name="BEGIN_LINK"><a href="$1" target="_blank"><ex><a href="$1" target="_blank"></ex></ph>Brave Dashboard<ph name="END_LINK"></a><ex></a></ex></ph>.
|
||||
</message>
|
||||
<message name="IDS_SETTINGS_SYNC_DISCONNECT_AND_SIGN_OUT_EXPLANATION" desc="The text to display in the Sign out of Brave dialog to stop syncing and sign-out for non-managed profiles.">
|
||||
This will sign you out of your Brave sync chains. Your bookmarks, history, passwords, and more will no longer be synced.
|
||||
@@ -3296,19 +3296,19 @@
|
||||
Manage synced data on Brave Dashboard
|
||||
</message>
|
||||
<message name="IDS_SETTINGS_ENCRYPT_WITH_SYNC_PASSPHRASE_LABEL" desc="Label for the radio button which, when selected, causes synced settings to be encrypted with a user-provided password.">
|
||||
Encrypt synced data with your own <ph name="BEGIN_LINK"><a href="$1" target="_blank" rel="noopener noreferrer"><ex><a href="$1" target="_blank"></ex></ph>sync passphrase<ph name="END_LINK"></a><ex></a></ex></ph>. This doesn't include payment methods and addresses from Brave Pay.
|
||||
Encrypt synced data with your own <ph name="BEGIN_LINK"><a href="$1" target="_blank"><ex><a href="$1" target="_blank"></ex></ph>sync passphrase<ph name="END_LINK"></a><ex></a></ex></ph>. This doesn't include payment methods and addresses from Brave Pay.
|
||||
</message>
|
||||
<message name="IDS_SETTINGS_PASSPHRASE_EXPLANATION_TEXT" desc="Message shown when explicit passphrase is selected.">
|
||||
Only someone with your passphrase can read your encrypted data. The passphrase is not sent to or stored by Brave. If you forget your passphrase or want to change this setting, you'll need to <ph name="BEGIN_LINK"><a href="$1" target="_blank" rel="noopener noreferrer"><ex><a href="$1" target="_blank"></ex></ph>reset sync<ph name="END_LINK"></a><ex></a></ex></ph>.
|
||||
Only someone with your passphrase can read your encrypted data. The passphrase is not sent to or stored by Brave. If you forget your passphrase or want to change this setting, you'll need to <ph name="BEGIN_LINK"><a href="$1" target="_blank"><ex><a href="$1" target="_blank"></ex></ph>reset sync<ph name="END_LINK"></a><ex></a></ex></ph>.
|
||||
</message>
|
||||
<message name="IDS_SETTINGS_PASSPHRASE_RESET_HINT_ENCRYPTION" desc="Informs user how to change their encryption setting.">
|
||||
To change this setting, <ph name="BEGIN_LINK"><a href="$1" target="_blank" rel="noopener noreferrer"><ex><a href="$1" target="_blank"></ex></ph>reset sync<ph name="END_LINK"></a><ex></a></ex></ph> to remove your sync passphrase
|
||||
To change this setting, <ph name="BEGIN_LINK"><a href="$1" target="_blank"><ex><a href="$1" target="_blank"></ex></ph>reset sync<ph name="END_LINK"></a><ex></a></ex></ph> to remove your sync passphrase
|
||||
</message>
|
||||
<message name="IDS_SETTINGS_PASSPHRASE_RESET_HINT_TOGGLE" desc="Informs user how to change their encryption setting when unified consent is enabled.">
|
||||
To turn this on, <ph name="BEGIN_LINK"><a href="$1" target="_blank" rel="noopener noreferrer"><ex><a href="$1" target="_blank"></ex></ph>reset sync<ph name="END_LINK"></a><ex></a></ex></ph> to remove your sync passphrase
|
||||
To turn this on, <ph name="BEGIN_LINK"><a href="$1" target="_blank"><ex><a href="$1" target="_blank"></ex></ph>reset sync<ph name="END_LINK"></a><ex></a></ex></ph> to remove your sync passphrase
|
||||
</message>
|
||||
<message name="IDS_SETTINGS_PASSPHRASE_RECOVER" desc="Message about how to recover from a lost passphrase.">
|
||||
If you forgot your passphrase or want to change this setting, <ph name="BEGIN_LINK"><a href="$1" target="_blank" rel="noopener noreferrer"><ex><a href="$1" target="_blank"></ex></ph>reset sync<ph name="END_LINK"></a><ex></a></ex></ph>.
|
||||
If you forgot your passphrase or want to change this setting, <ph name="BEGIN_LINK"><a href="$1" target="_blank"><ex><a href="$1" target="_blank"></ex></ph>reset sync<ph name="END_LINK"></a><ex></a></ex></ph>.
|
||||
</message>
|
||||
<message name="IDS_SETTINGS_PERSONALIZE_GOOGLE_SERVICES_TITLE" desc="Title of the personalize Brave services section. When clicked, takes the user to the Brave Activity Controls.">
|
||||
Control how your browsing history is used to personalize Search and more
|
||||
@@ -3557,7 +3557,7 @@
|
||||
other {To ensure that you can keep browsing the web, ask your administrator to remove these applications.}}
|
||||
</message>
|
||||
<message name="IDS_SETTINGS_INCOMPATIBLE_APPLICATIONS_SUBPAGE_LEARN_HOW" desc="Following the subtitle, this is a link to a help center article that explains how to update any program.">
|
||||
<ph name="BEGIN_LINK"><a target="_blank" rel="noopener noreferrer" href="$1"></ph>Learn how to update applications<ph name="END_LINK"></a></ph>
|
||||
<ph name="BEGIN_LINK"><a target="_blank" href="$1"></ph>Learn how to update applications<ph name="END_LINK"></a></ph>
|
||||
</message>
|
||||
<message name="IDS_SETTINGS_INCOMPATIBLE_APPLICATIONS_LIST_TITLE" desc="This is the title for the list of incompatible applications.">
|
||||
{NUM_APLLICATIONS, plural,
|
||||
|
||||
@@ -858,7 +858,7 @@ Privacy Sandbox trials are still in active development and are available in sele
|
||||
Choose another provider
|
||||
</message>
|
||||
<message name="IDS_SETTINGS_SECURE_DROPDOWN_MODE_PRIVACY_POLICY" desc="Text that displays a link to the privacy policy of the resolver selected from a dropdown menu">
|
||||
See this provider's <ph name="BEGIN_LINK"><a target="_blank" rel="noopener noreferrer" href="$1<ex>https://google.com/</ex>"></ph>privacy policy<ph name="END_LINK"></a></ph>
|
||||
See this provider's <ph name="BEGIN_LINK"><a target="_blank" href="$1<ex>https://google.com/</ex>"></ph>privacy policy<ph name="END_LINK"></a></ph>
|
||||
</message>
|
||||
<message name="IDS_SETTINGS_SECURE_DNS_DISABLED_FOR_MANAGED_ENVIRONMENT" desc="Substring of the secure DNS setting when secure DNS is disabled due to detection of a managed environment">
|
||||
This setting is disabled on managed browsers
|
||||
|
||||
@@ -287,7 +287,7 @@
|
||||
</message>
|
||||
|
||||
<message name="IDS_VERSION_UI_LICENSE" desc="The label below the copyright message, containing the URLs.">
|
||||
Brave is made possible by the <ph name="BEGIN_LINK_CHROMIUM"><a target="_blank" rel="noopener noreferrer" href="$1"></ph>Brave<ph name="END_LINK_CHROMIUM"></a></ph> open source project and other <ph name="BEGIN_LINK_OSS"><a target="_blank" rel="noopener noreferrer" href="$2"></ph>open source software<ph name="END_LINK_OSS"></a></ph>.
|
||||
Brave is made possible by the <ph name="BEGIN_LINK_CHROMIUM"><a target="_blank" href="$1"></ph>Brave<ph name="END_LINK_CHROMIUM"></a></ph> open source project and other <ph name="BEGIN_LINK_OSS"><a target="_blank" href="$2"></ph>open source software<ph name="END_LINK_OSS"></a></ph>.
|
||||
</message>
|
||||
|
||||
<!-- Page Info -->
|
||||
|
||||
@@ -40,7 +40,7 @@
|
||||
Found <ph name="NUMBER_OF_RESULTS">$1</ph> <ph name="SEARCH_RESULTS"><ex>search results</ex>$2</ph> for '<ph name="SEARCH_STRING">$3</ph>'
|
||||
</message>
|
||||
<message name="IDS_HISTORY_OTHER_FORMS_OF_HISTORY" desc="The notification at the top of the history page indicating that deleting Brave browsing history will not delete other forms of history stored at Brave My Activity.">
|
||||
Your Brave sync chain may have other forms of browsing history at <ph name="BEGIN_LINK"><a target="_blank" rel="noopener noreferrer" href="$1"></ph>myactivity.google.com<ph name="END_LINK"></a></ph>
|
||||
Your Brave sync chain may have other forms of browsing history at <ph name="BEGIN_LINK"><a target="_blank" href="$1"></ph>myactivity.google.com<ph name="END_LINK"></a></ph>
|
||||
</message>
|
||||
<message name="IDS_HISTORY_LOADING" desc="Text shown when we're loading the user's history">
|
||||
Loading...
|
||||
|
||||
@@ -47,10 +47,10 @@
|
||||
<!-- Browser managed status section -->
|
||||
<if expr="not chromeos">
|
||||
<message name="IDS_MANAGEMENT_BROWSER_NOTICE" desc="Message shown when the browser is managed, it indicates what the administrator can do on the browser.">
|
||||
Your administrator can change your browser setup remotely. Activity on this device may also be managed outside of Brave. <ph name="BEGIN_LINK"><a target="_blank" rel="noopener noreferrer" href="$1"></ph>Learn more<ph name="END_LINK"></a></ph>
|
||||
Your administrator can change your browser setup remotely. Activity on this device may also be managed outside of Brave. <ph name="BEGIN_LINK"><a target="_blank" href="$1"></ph>Learn more<ph name="END_LINK"></a></ph>
|
||||
</message>
|
||||
<message name="IDS_MANAGEMENT_NOT_MANAGED_NOTICE" desc="Message indicating that the browser is not managed">
|
||||
This browser is not managed by a company or other organization. Activity on this device may be managed outside of Brave. <ph name="BEGIN_LINK"><a target="_blank" rel="noopener noreferrer" href="$1"></ph>Learn more<ph name="END_LINK"></a></ph>
|
||||
This browser is not managed by a company or other organization. Activity on this device may be managed outside of Brave. <ph name="BEGIN_LINK"><a target="_blank" href="$1"></ph>Learn more<ph name="END_LINK"></a></ph>
|
||||
</message>
|
||||
</if>
|
||||
|
||||
@@ -134,7 +134,7 @@
|
||||
Which Google Play apps you have installed
|
||||
</message>
|
||||
<message name="IDS_MANAGEMENT_REPORT_PLUGIN_VM" desc="Message telling users that Plugin VM can collect data.">
|
||||
Your administrator has allowed <ph name="APP_NAME">$1<ex>Plugin VM</ex></ph> to collect diagnostics data to improve the product experience. See <ph name="BEGIN_LINK"><a target="_blank" rel="noopener noreferrer" href="https://www.parallels.com/pcep"></ph>https://www.parallels.com/pcep<ph name="END_LINK"></a></ph> for more information.
|
||||
Your administrator has allowed <ph name="APP_NAME">$1<ex>Plugin VM</ex></ph> to collect diagnostics data to improve the product experience. See <ph name="BEGIN_LINK"><a target="_blank" href="https://www.parallels.com/pcep"></ph>https://www.parallels.com/pcep<ph name="END_LINK"></a></ph> for more information.
|
||||
</message>
|
||||
|
||||
<!-- Chrome OS update required end-of-life reached section -->
|
||||
|
||||
@@ -362,7 +362,7 @@
|
||||
<h4>Step 1: Sign in to the portal</h4>
|
||||
<p>Wi-Fi networks at places like cafes or airports need you to sign in. To see the sign-in page, visit a page that uses <code>http://</code>.</p>
|
||||
<ol>
|
||||
<li>Go to any website starting with <code>http://</code>, like <a href="http://example.com" target="_blank" rel="noopener noreferrer">http://example.com</a>.</li>
|
||||
<li>Go to any website starting with <code>http://</code>, like <a href="http://example.com" target="_blank">http://example.com</a>.</li>
|
||||
<li>On the sign-in page that opens, sign in to use the internet.</li>
|
||||
</ol>
|
||||
<h4>Step 2: Open the page in Private mode (computer only)</h4>
|
||||
|
||||
@@ -36,7 +36,7 @@
|
||||
<h4>Step 1: Sign in to the portal</h4>
|
||||
<p>Wi-Fi networks at places like cafes or airports need you to sign in. To see the sign-in page, visit a page that uses <code>http://</code>.</p>
|
||||
<ol>
|
||||
<li>Go to any website starting with <code>http://</code>, like <a href="http://example.com" target="_blank" rel="noopener noreferrer">http://example.com</a>.</li>
|
||||
<li>Go to any website starting with <code>http://</code>, like <a href="http://example.com" target="_blank">http://example.com</a>.</li>
|
||||
<li>On the sign-in page that opens, sign in to use the internet.</li>
|
||||
</ol>
|
||||
<h4>Step 2: Open the page in Private mode (computer only)</h4>
|
||||
|
||||
@@ -48,7 +48,7 @@
|
||||
Sync is not available for your domain
|
||||
</message>
|
||||
<message name="IDS_SYNC_ENTER_PASSPHRASE_BODY_WITH_DATE" desc="Instructions for the dialog where the user enters their Sync passphrase.">
|
||||
Your data was encrypted with your <ph name="BEGIN_LINK"><a target="_blank" rel="noopener noreferrer" href="$1"></ph>sync passphrase<ph name="END_LINK"></a></ph> on <ph name="TIME">$2<ex>Sept 1, 2012</ex></ph>. Enter it to start sync.
|
||||
Your data was encrypted with your <ph name="BEGIN_LINK"><a target="_blank" href="$1"></ph>sync passphrase<ph name="END_LINK"></a></ph> on <ph name="TIME">$2<ex>Sept 1, 2012</ex></ph>. Enter it to start sync.
|
||||
</message>
|
||||
</if>
|
||||
|
||||
|
||||
@@ -24,7 +24,6 @@ def parse_args():
|
||||
|
||||
|
||||
def generate_overrides_and_replace_strings(source_string_path):
|
||||
fix_links_with_target_blank(source_string_path)
|
||||
original_xml_tree_with_branding_fixes = etree.parse(source_string_path)
|
||||
update_braveified_grd_tree_override(original_xml_tree_with_branding_fixes, True)
|
||||
write_braveified_grd_override(source_string_path)
|
||||
|
||||
@@ -192,12 +192,6 @@ def validate_elements_tags(elements):
|
||||
if element.tag not in allowed_html_tags:
|
||||
error = ("ERROR: Element <{0}> is not allowed.\n").format(element.tag)
|
||||
errors = (errors or '') + error
|
||||
if element.tag == 'a' and element.get('target') == '_blank':
|
||||
rel = element.get('rel') or ''
|
||||
if rel.find('noopener') == -1 or rel.find('noreferrer') == -1:
|
||||
error = ("ERROR: Element <a> with target=\"_blank\" must set "
|
||||
"rel=\"noopener noreferrer\"\n")
|
||||
errors = (errors or '') + error
|
||||
rec_errors = validate_elements_tags(list(element))
|
||||
if rec_errors is not None:
|
||||
errors = (errors or '') + rec_errors
|
||||
@@ -246,90 +240,6 @@ def validate_tags_in_transifex_strings(xml_content):
|
||||
errors = ("\n") + errors
|
||||
return errors
|
||||
|
||||
|
||||
def fix_links_with_target_blank_in_ph_text(text):
|
||||
"""A <ph> containing a link usually only has part of the <a> element, so
|
||||
we can't convert it to proper xml and instead try to add rel attribute
|
||||
via string search"""
|
||||
target = text.find('target="_blank"')
|
||||
if target == -1:
|
||||
return text
|
||||
target += 15
|
||||
rel = text.find('rel="')
|
||||
if rel == -1:
|
||||
return text[:target] + ' rel="noopener noreferrer"' + text[target:]
|
||||
|
||||
rel += 5
|
||||
rel_end = rel + text[rel:].find('"')
|
||||
rel_value = text[rel:rel_end]
|
||||
rel_add = ''
|
||||
if rel_value.find('noopener') == -1:
|
||||
rel_add = 'noopener '
|
||||
if rel_value.find('noreferrer') == -1:
|
||||
rel_add = rel_add + 'noreferrer '
|
||||
return text[:rel] + rel_add + text[rel:]
|
||||
|
||||
|
||||
def fix_links_with_target_blank_in_text(text):
|
||||
"""Process element text for embedded <a> elements"""
|
||||
if text.find('target="_blank"') == -1:
|
||||
return text
|
||||
xml_text = (text.replace('<', '<').replace('>', '>'))
|
||||
try:
|
||||
xml_elem = lxml.etree.fromstring('<text>' + xml_text + '</text>')
|
||||
except lxml.etree.XMLSyntaxError as e:
|
||||
print "\n--------------------\n{0}\nERROR: {1}\n".format(xml_text.encode('utf-8'), str(e))
|
||||
cont = raw_input('Enter C to ignore and continue. Enter anything else to exit : ')
|
||||
if cont == 'C' or cont == 'c':
|
||||
return text
|
||||
raise
|
||||
a_tags = xml_elem.findall('.//a')
|
||||
for a_tag in a_tags:
|
||||
if a_tag.get('target') == '_blank':
|
||||
rel = a_tag.get('rel') or ''
|
||||
if rel.find('noopener') == -1:
|
||||
a_tag.set('rel', rel + (' noopener' if len(rel) else 'noopener'))
|
||||
if rel.find('noreferrer') == -1:
|
||||
a_tag.set('rel', a_tag.get('rel') + ' noreferrer')
|
||||
new_text = lxml.etree.tostring(xml_elem, method='xml', encoding='unicode')
|
||||
new_text = new_text[new_text.index('>')+1:new_text.rindex('<')]
|
||||
return new_text
|
||||
|
||||
|
||||
def fix_links_with_target_blank_in_element(elem):
|
||||
"""Recursively process text, tail and children of an element for embedded
|
||||
<a> elements and process them"""
|
||||
if elem.text:
|
||||
if elem.tag == 'ph':
|
||||
elem.text = fix_links_with_target_blank_in_ph_text(elem.text)
|
||||
else:
|
||||
elem.text = fix_links_with_target_blank_in_text(elem.text)
|
||||
if elem.tail:
|
||||
if elem.tag == 'ph':
|
||||
elem.tail = fix_links_with_target_blank_in_ph_text(elem.tail)
|
||||
else:
|
||||
elem.tail = fix_links_with_target_blank_in_text(elem.tail)
|
||||
for child in elem:
|
||||
if child.tag != 'ex':
|
||||
fix_links_with_target_blank_in_element(child)
|
||||
|
||||
|
||||
def fix_links_with_target_blank(source_string_path):
|
||||
"""Takes in a grd(p) path, finds all <a> tags with target _blank and makes
|
||||
sure they have rel attribute with noopener and noreferrer values"""
|
||||
source_xml_tree = lxml.etree.parse(source_string_path)
|
||||
for elem in source_xml_tree.xpath('//message'):
|
||||
fix_links_with_target_blank_in_element(elem)
|
||||
write_xml_file_from_tree(source_string_path, source_xml_tree)
|
||||
|
||||
|
||||
def fix_links_with_target_blank_in_xtb_tree(xtb_tree):
|
||||
"""Takes in an xtb tree, finds all <a> tags with target _blank and makes
|
||||
sure they have rel attribute with noopener and noreferrer values"""
|
||||
for elem in xtb_tree.xpath('//translation'):
|
||||
fix_links_with_target_blank_in_element(elem)
|
||||
|
||||
|
||||
def trim_ph_tags_in_xtb_file_content(xml_content):
|
||||
"""Removes all children of <ph> tags including text inside ph tag"""
|
||||
xml = lxml.etree.fromstring(xml_content)
|
||||
@@ -978,7 +888,6 @@ def pull_xtb_without_transifex(grd_file_path, brave_source_root):
|
||||
node.attrib['id'] = new_fp
|
||||
# print('fp: {0} -> {1}').format(old_fp, new_fp)
|
||||
|
||||
fix_links_with_target_blank_in_xtb_tree(xml_tree)
|
||||
transformed_content = ('<?xml version="1.0" ?>\n' +
|
||||
lxml.etree.tostring(xml_tree, pretty_print=True,
|
||||
xml_declaration=False,
|
||||
|
||||
Reference in New Issue
Block a user