update build.gns and .grd files

This commit is contained in:
Alexander Frick 2023-06-17 14:38:16 -05:00
parent 7c9d87357d
commit 208ba9fdc6
18 changed files with 741 additions and 380 deletions

View file

@ -692,6 +692,7 @@ config("compiler") {
"-mllvm:-import-instr-limit=$import_instr_limit",
"-mllvm:-import-hot-multiplier=15",
"-mllvm:-import-cold-multiplier=4",
"-mllvm:-disable-auto-upgrade-debug-info",
# "/lldltocache:" +
# rebase_path("$root_out_dir/thinlto-cache", root_build_dir),
# "/lldltocachepolicy:$cache_policy",
@ -734,6 +735,14 @@ config("compiler") {
}
ldflags += [ "-Wl,-mllvm,-import-instr-limit=$import_instr_limit" ]
if (!is_chromeos) {
# TODO(https://crbug.com/972449): turn on for ChromeOS when that
# toolchain has this flag.
# We only use one version of LLVM within a build so there's no need to
# upgrade debug info, which can be expensive since it runs the verifier.
ldflags += [ "-Wl,-mllvm,-disable-auto-upgrade-debug-info" ]
}
}
# TODO(https://crbug.com/1211155): investigate why this isn't effective on
@ -948,7 +957,7 @@ config("thinlto_optimize_default") {
ldflags = [ "-Wl,--lto-O" + lto_opt_level ]
}
rustflags = [ "-Clto=thin" ]
rustflags = [ "-Clinker-plugin-lto=yes" ]
}
}
@ -975,7 +984,7 @@ config("thinlto_optimize_max") {
ldflags = [ "-Wl,--lto-O" + lto_opt_level ]
}
rustflags = [ "-Clto=thin" ]
rustflags = [ "-Clinker-plugin-lto=yes" ]
}
}
@ -1783,14 +1792,14 @@ config("chromium_code") {
defines += [ "_FORTIFY_SOURCE=2" ]
}
if (is_mac) {
cflags_objc = [ "-Wobjc-missing-property-synthesis" ]
cflags_objcc = [ "-Wobjc-missing-property-synthesis" ]
if (is_apple) {
cflags_objc = [ "-Wimplicit-retain-self" ]
cflags_objcc = [ "-Wimplicit-retain-self" ]
}
if (is_ios) {
cflags_objc = [ "-Wimplicit-retain-self" ]
cflags_objcc = cflags_objc
if (is_mac) {
cflags_objc += [ "-Wobjc-missing-property-synthesis" ]
cflags_objcc += [ "-Wobjc-missing-property-synthesis" ]
}
}
@ -2475,6 +2484,7 @@ config("win_pdbaltpath") {
# Full symbols.
config("symbols") {
rustflags = []
if (is_win) {
if (is_clang) {
cflags = [
@ -2513,11 +2523,13 @@ config("symbols") {
if (!is_nacl && current_os != "aix") {
if (use_dwarf5) {
cflags += [ "-gdwarf-5" ]
rustflags += [ "-Zdwarf-version=5" ]
} else if (!is_apple) {
# Recent clang versions default to DWARF5 on Linux, and Android is about
# to switch. TODO: Adopt that in controlled way.
# Apple platforms still default to 4, so the flag is not needed there.
cflags += [ "-gdwarf-4" ]
rustflags += [ "-Zdwarf-version=4" ]
}
}
@ -2608,7 +2620,7 @@ config("symbols") {
]
}
}
rustflags = [ "-g", "-Copt-level=3", ]
rustflags += [ "-g", "-Copt-level=3", ]
}
# Minimal symbols.

View file

@ -11,6 +11,7 @@ import("//build/config/win/control_flow_guard.gni")
import("//build/config/win/visual_studio_version.gni")
import("//build/timestamp.gni")
import("//build/toolchain/goma.gni")
import("//build/toolchain/rbe.gni")
import("//build/toolchain/toolchain.gni")
assert(is_win)
@ -41,9 +42,6 @@ declare_args() {
# and with this switch, clang emits it like this:
# foo/bar.cc:12:34: error: something went wrong
use_clang_diagnostics_format = false
# Indicates whether to use /pdbpagesize:8192 to allow PDBs larger than 4 GiB.
use_large_pdbs = true
}
# This is included by reference in the //build/config/compiler config that
@ -143,13 +141,13 @@ config("compiler") {
]
}
if (exec_script("//build/win/use_ansi_codes.py", [], "trim string") ==
# Enable ANSI escape codes if something emulating them is around (cmd.exe
# doesn't understand ANSI escape codes by default). Make sure to not enable
# this if goma/remoteexec is in use, because this will lower cache hits.
if (!use_goma && !use_remoteexec &&
exec_script("//build/win/use_ansi_codes.py", [], "trim string") ==
"True") {
cflags += [
# cmd.exe doesn't understand ANSI escape codes by default,
# so only enable them if something emulating them is around.
"-fansi-escape-codes",
]
cflags += [ "-fansi-escape-codes" ]
}
if (use_clang_diagnostics_format) {
@ -183,14 +181,14 @@ config("compiler") {
ldflags += [ "/opt:lldlto=3", ]
}
if (use_large_pdbs) {
# This allows PDBs up to 8 GiB in size. This requires lld-link.exe or
# link.exe from VS 2022 or later.
if (!defined(configs)) {
configs = []
}
configs += [ ":pdb_larger_than_4gb" ]
}
# Some binaries create PDBs larger than 4 GiB. Increasing the PDB page size
# to 8 KiB allows 8 GiB PDBs. The larger page size also allows larger block maps
# which is a PDB limit that was hit in https://crbug.com/1406510. The page size
# can easily be increased in the future to allow even larger PDBs or larger
# block maps.
# This flag requires lld-link.exe or link.exe from VS 2022 or later to create
# the PDBs, and tools from circa 22H2 or later to consume the PDBs.
ldflags += [ "/pdbpagesize:8192" ]
if (!is_debug && !is_component_build) {
# Enable standard linker optimizations like GC (/OPT:REF) and ICF in static
@ -346,17 +344,26 @@ config("common_linker_setup") {
}
}
# Flags that should be applied to building .exe files but not .dll files.
config("exe_flags") {
rustflags = [ "-Ctarget-feature=+crt-static" ]
}
config("default_cfg_compiler") {
# Emit table of address-taken functions for Control-Flow Guard (CFG).
# This is needed to allow functions to be called by code that is built
# with CFG enabled, such as system libraries.
# The CFG guards are only emitted if |win_enable_cfg_guards| is enabled.
if (is_clang) {
if (win_enable_cfg_guards) {
if (win_enable_cfg_guards) {
if (is_clang) {
cflags = [ "/guard:cf" ]
} else {
}
rustflags = [ "-Ccontrol-flow-guard" ]
} else {
if (is_clang) {
cflags = [ "/guard:cf,nochecks" ]
}
rustflags = [ "-Ccontrol-flow-guard=nochecks" ]
}
}
@ -369,6 +376,7 @@ config("disable_guards_cfg_compiler") {
if (is_clang) {
cflags = [ "/guard:cf,nochecks" ]
}
rustflags = [ "-Ccontrol-flow-guard=nochecks" ]
}
config("cfi_linker") {
@ -612,15 +620,3 @@ config("lean_and_mean") {
config("nominmax") {
defines = [ "NOMINMAX" ]
}
# Some binaries create PDBs larger than 4 GiB. Increasing the PDB page size
# to 8 KiB allows 8 GiB PDBs. The larger page size also allows larger block maps
# which is a PDB limit that was hit in https://crbug.com/1406510. The page size
# can easily be increased in the future to allow even larger PDBs or larger
# block maps.
config("pdb_larger_than_4gb") {
if (!defined(ldflags)) {
ldflags = []
}
ldflags += [ "/pdbpagesize:8192" ]
}

View file

@ -692,6 +692,7 @@ config("compiler") {
"-mllvm:-import-instr-limit=$import_instr_limit",
"-mllvm:-import-hot-multiplier=15",
"-mllvm:-import-cold-multiplier=4",
"-mllvm:-disable-auto-upgrade-debug-info",
# "/lldltocache:" +
# rebase_path("$root_out_dir/thinlto-cache", root_build_dir),
# "/lldltocachepolicy:$cache_policy",
@ -734,6 +735,14 @@ config("compiler") {
}
ldflags += [ "-Wl,-mllvm,-import-instr-limit=$import_instr_limit" ]
if (!is_chromeos) {
# TODO(https://crbug.com/972449): turn on for ChromeOS when that
# toolchain has this flag.
# We only use one version of LLVM within a build so there's no need to
# upgrade debug info, which can be expensive since it runs the verifier.
ldflags += [ "-Wl,-mllvm,-disable-auto-upgrade-debug-info" ]
}
}
# TODO(https://crbug.com/1211155): investigate why this isn't effective on
@ -938,7 +947,7 @@ config("thinlto_optimize_default") {
ldflags = [ "-Wl,--lto-O" + lto_opt_level ]
}
rustflags = [ "-Clto=thin" ]
rustflags = [ "-Clinker-plugin-lto=yes" ]
}
}
@ -964,7 +973,7 @@ config("thinlto_optimize_max") {
ldflags = [ "-Wl,--lto-O" + lto_opt_level ]
}
rustflags = [ "-Clto=thin" ]
rustflags = [ "-Clinker-plugin-lto=yes" ]
}
}
@ -1756,14 +1765,14 @@ config("chromium_code") {
defines += [ "_FORTIFY_SOURCE=2" ]
}
if (is_mac) {
cflags_objc = [ "-Wobjc-missing-property-synthesis" ]
cflags_objcc = [ "-Wobjc-missing-property-synthesis" ]
if (is_apple) {
cflags_objc = [ "-Wimplicit-retain-self" ]
cflags_objcc = [ "-Wimplicit-retain-self" ]
}
if (is_ios) {
cflags_objc = [ "-Wimplicit-retain-self" ]
cflags_objcc = cflags_objc
if (is_mac) {
cflags_objc += [ "-Wobjc-missing-property-synthesis" ]
cflags_objcc += [ "-Wobjc-missing-property-synthesis" ]
}
}
@ -2413,6 +2422,7 @@ config("win_pdbaltpath") {
# Full symbols.
config("symbols") {
rustflags = []
if (is_win) {
if (is_clang) {
cflags = [
@ -2451,11 +2461,13 @@ config("symbols") {
if (!is_nacl && current_os != "aix") {
if (use_dwarf5) {
cflags += [ "-gdwarf-5" ]
rustflags += [ "-Zdwarf-version=5" ]
} else if (!is_apple) {
# Recent clang versions default to DWARF5 on Linux, and Android is about
# to switch. TODO: Adopt that in controlled way.
# Apple platforms still default to 4, so the flag is not needed there.
cflags += [ "-gdwarf-4" ]
rustflags += [ "-Zdwarf-version=4" ]
}
}
@ -2546,7 +2558,7 @@ config("symbols") {
]
}
}
rustflags = [ "-g" ]
rustflags += [ "-g" ]
}
# Minimal symbols.

View file

@ -378,12 +378,24 @@ If you update this file, be sure also to update google_chrome_strings.grd. -->
<message name="IDS_ACCESSIBLE_CANARY_BROWSER_WINDOW_TITLE_FORMAT" desc="The format for the accessible name of a tabbed browser window for the canary (nightly build) channel version of the browser">
<ph name="PAGE_TITLE">$1<ex>Google</ex></ph> - Thorium Canary
</message>
<message name="IDS_ABOUT_VERSION_COMPANY_NAME" desc="Company name on the about pages">
The Thorium Authors
</message>
<message name="IDS_ABOUT_VERSION_COPYRIGHT" desc="Copyright information on the about pages">
Copyright <ph name="YEAR">{0,date,y}<ex>2016</ex></ph> The Thorium Authors. All rights reserved.
</message>
<if expr="_is_chrome_for_testing_branded">
<then>
<message name="IDS_ABOUT_VERSION_COMPANY_NAME" desc="Company name on the about pages">
Google LLC
</message>
<message name="IDS_ABOUT_VERSION_COPYRIGHT" desc="Copyright information on the about pages">
Copyright <ph name="YEAR">{0,date,y}<ex>2016</ex></ph> Google LLC. All rights reserved.
</message>
</then>
<else>
<message name="IDS_ABOUT_VERSION_COMPANY_NAME" desc="Company name on the about pages">
The Thorium Authors
</message>
<message name="IDS_ABOUT_VERSION_COPYRIGHT" desc="Copyright information on the about pages">
Copyright <ph name="YEAR">{0,date,y}<ex>2016</ex></ph> The Thorium Authors. All rights reserved.
</message>
</else>
</if>
<if expr="chromeos_ash">
<message name="IDS_ABOUT_CROS_VERSION_LICENSE" desc="Additional text displayed beneath the Thorium open source URLs for ThoriumOS.">
ThoriumOS is made possible by additional <ph name="BEGIN_LINK_CROS_OSS">&lt;a target="_blank" href="$1"&gt;</ph>open source software<ph name="END_LINK_CROS_OSS">&lt;/a&gt;</ph>.
@ -399,11 +411,11 @@ If you update this file, be sure also to update google_chrome_strings.grd. -->
Not used in Thorium. Placeholder to keep resource maps in sync.
</message>
<if expr="is_macosx">
<message name="IDS_MAC_10_11_OBSOLETE" desc="A message displayed on an at-launch infobar and About (Help) page warning the user that the OS version they are using will soon be or is already unsupported.">
To get future Thorium updates, you'll need macOS 10.13 or later. This computer is using OS X 10.11.
<message name="IDS_MAC_10_13_OBSOLETE" desc="A message displayed on an at-launch infobar and About (Help) page warning the user that the OS version they are using will soon be or is already unsupported.">
To get future Thorium updates, you'll need macOS 10.15 or later. This computer is using macOS 10.13.
</message>
<message name="IDS_MAC_10_12_OBSOLETE" desc="A message displayed on an at-launch infobar and About (Help) page warning the user that the OS version they are using will soon be or is already unsupported.">
To get future Thorium updates, you'll need macOS 10.13 or later. This computer is using macOS 10.12.
<message name="IDS_MAC_10_14_OBSOLETE" desc="A message displayed on an at-launch infobar and About (Help) page warning the user that the OS version they are using will soon be or is already unsupported.">
To get future Thorium updates, you'll need macOS 10.15 or later. This computer is using macOS 10.14.
</message>
</if>
<if expr="is_win">
@ -502,11 +514,6 @@ Thorium is unable to recover your settings.
</message>
<!-- Add account dialog -->
<if expr="chromeos_ash">
<message name="IDS_ACCOUNT_MANAGER_DIALOG_WELCOME_BODY_V2" desc="Text body for the Welcome screen in ThoriumOS 'Add account' dialog.">
If you want to use this account one-time only, you can use Guest mode in Thorium browser. If you want to add an account for someone else, <ph name="LINK_BEGIN">&lt;a target="_blank" id="newPersonLink" href="$1<ex>https://google.com/</ex>"&gt;</ph>add a new person<ph name="LINK_END">&lt;/a&gt;</ph> to your <ph name="DEVICE_TYPE">$2<ex>Thoriumbook</ex></ph>.
Permissions you've already given to websites and apps may apply to this account. You can manage your Google Accounts in <ph name="SETTINGS_LINK_BEGIN">&lt;a id="osSettingsLink" href="$3<ex>https://google.com/</ex>"&gt;</ph>Settings<ph name="SETTINGS_LINK_END">&lt;/a&gt;</ph>.
</message>
<message name="IDS_ACCOUNT_MANAGER_DIALOG_WELCOME_BODY_V2_WITH_GUEST_MODE" desc="Text body for the Welcome screen in ThoriumOS 'Add account' dialog.">
If you want to use this account one-time only, you can use <ph name="GUEST_LINK_BEGIN">&lt;a id="guestModeLink" href="#"&gt;</ph>Guest mode<ph name="GUEST_LINK_END">&lt;/a&gt;</ph> in Thorium browser. If you want to add an account for someone else, <ph name="LINK_BEGIN">&lt;a target="_blank" id="newPersonLink" href="$1<ex>https://google.com/</ex>"&gt;</ph>add a new person<ph name="LINK_END">&lt;/a&gt;</ph> to your <ph name="DEVICE_TYPE">$2<ex>Thoriumbook</ex></ph>.
@ -543,17 +550,8 @@ Permissions you've already given to websites and apps may apply to this account.
In Password Manager on this device
</message>
<if expr="is_macosx">
<message name="IDS_PASSWORDS_PAGE_AUTHENTICATION_PROMPT" desc="Text for the dialog box that prompts the user for their OS account password before revealing plaintext passwords on the password page.">
Thorium is trying to show passwords.
</message>
<message name="IDS_PASSWORDS_PAGE_COPY_AUTHENTICATION_PROMPT" desc="Text for the dialog box that prompts the user for their OS account password before copying plaintext passwords into the clipboard.">
Thorium is trying to copy passwords.
</message>
<message name="IDS_PASSWORDS_PAGE_EDIT_AUTHENTICATION_PROMPT" desc="Text for the dialog box that prompts the user for their OS account password before editing plaintext passwords on the password page.">
Thorium is trying to edit passwords.
</message>
<message name="IDS_PASSWORDS_PAGE_EXPORT_AUTHENTICATION_PROMPT" desc="Text for the dialog box that prompts the user for their OS account password before exporting passwords to a file.">
Thorium wants to export your passwords.
<message name="IDS_PASSWORDS_AUTHENTICATION_PROMPT_PREFIX" desc="Text shown in the beginning of the OS-level user authentication prompt before performing a seneitive operation such as show passwords in plain text.">
Thorium is trying to <ph name="AUTHENTICATION_PURPOSE">$1<ex>show passwords</ex></ph>
</message>
</if>
<if expr="is_win">
@ -569,6 +567,9 @@ Permissions you've already given to websites and apps may apply to this account.
<message name="IDS_PASSWORDS_PAGE_EXPORT_AUTHENTICATION_PROMPT" desc="Text for the dialog box that prompts the user for their OS account password before exporting passwords to a file.">
Thorium wants to export your passwords. Type your Windows password to allow this.
</message>
<message name="IDS_PASSWORDS_PAGE_IMPORT_AUTHENTICATION_PROMPT" desc="Text for the dialog box that prompts the user for their OS account password before overriding passwords during Import.">
Thorium is trying to replace existing passwords. Type your Windows password to allow this.
</message>
<message name="IDS_INSTALL_HIGHER_VERSION" desc="Error displayed when higher version already exists.">
This computer already has a more recent version of Thorium. If the software is not working, please uninstall Thorium and try again.
</message>
@ -582,7 +583,7 @@ Permissions you've already given to websites and apps may apply to this account.
Installation failed due to unspecified error. Please download Thorium again.
</message>
<message name="IDS_INSTALL_OS_NOT_SUPPORTED" desc="Error displayed if OS is not supported">
Thorium requires Windows 7 or higher.
Thorium requires Windows 10 or higher.
</message>
<message name="IDS_INSTALL_OS_ERROR" desc="Error displayed when any Windows API call fails and we do not have more specific information.">
An operating system error occurred during installation. Please download Thorium again.
@ -624,9 +625,6 @@ Permissions you've already given to websites and apps may apply to this account.
<message name="IDS_DEFAULT_BROWSER_INFOBAR_TEXT" desc="Text to show in an infobar when Thorium is not the current default browser.">
Thorium isn't your default browser
</message>
<message name="IDS_TAILORED_SECURITY_CONSENTED_ENABLE_NOTIFICATION_DESCRIPTION" desc="The text of the notification asking if the user wants to enable Enhanced Safe Browsing">
You turned on Enhanced Safe Browsing in your account. Now get it for Thorium.
</message>
<if expr="is_win">
<!-- Try Thorium Toast Dialog -->
<message name="IDS_TRY_TOAST_HEADING" desc="Top line of the try-chrome-again dialog">
@ -815,6 +813,12 @@ Permissions you've already given to websites and apps may apply to this account.
</message>
</if>
<if expr="is_win or is_macosx or is_linux">
<message name="IDS_RELAUNCH_TO_UPDATE_ALT" desc="Alternate text label of the relaunch to update Thorium menu item" translateable="false">
Not used in Thorium. Placeholder to keep resource maps in sync.
</message>
</if>
<if expr="is_macosx">
<message name="IDS_APP_MENU_PRODUCT_NAME" desc="The application's short name, used for the Mac's application menu, activity monitor, etc. This should be less than 16 characters. Example: Thorium, not Google Thorium.">
Thorium
@ -827,6 +831,10 @@ Permissions you've already given to websites and apps may apply to this account.
</message>
</if>
<message name="IDS_VIEW_PASSWORDS" desc="Item in the app menu which shows Password Manager page">
Password Manager
</message>
<!-- Thorium sign-in page -->
<message name="IDS_CHROME_SIGNIN_TITLE" desc="Title on the about:chrome-signin page">
Thorium
@ -1002,10 +1010,17 @@ Permissions you've already given to websites and apps may apply to this account.
<if expr="not is_android">
<!-- WebHID system tray icon -->
<message name="IDS_WEBHID_SYSTEM_TRAY_ICON_TOOLTIP" desc="Tooltip for the WebHID system tray icon when one or more HID devices are being accessed.">
<message name="IDS_WEBHID_SYSTEM_TRAY_ICON_TITLE_SINGLE_EXTENSION" desc="Title for the WebHID system tray icon when one or more HID devices are being accessed by an extension.">
{NUM_DEVICES, plural,
=1 {Thorium is connected to a HID device}
other {Thorium is connected to HID devices}}
=0 {A Thorium extension was accessing HID devices}
=1 {A Thorium extension is accessing 1 HID device}
other {A Thorium extension is accessing # HID devices}}
</message>
<message name="IDS_WEBHID_SYSTEM_TRAY_ICON_TITLE_MULTIPLE_EXTENSIONS" desc="Title for the WebHID system tray icon when HID devices are being accessed by multiple extensions.">
{NUM_DEVICES, plural,
=0 {Thorium extensions were accessing HID devices}
=1 {Thorium extensions are accessing HID devices}
other {Thorium extensions are accessing # HID devices}}
</message>
</if>
@ -1156,6 +1171,15 @@ Permissions you've already given to websites and apps may apply to this account.
</message>
</if>
<if expr="is_win or is_macosx or is_linux">
<message name="IDS_UPDATE_RECOMMENDED_DIALOG_TITLE_ALT" desc="Alternate window title for the Update Recommended dialog." translateable="false">
Not used in Thorium. Placeholder to keep resource maps in sync.
</message>
<message name="IDS_UPDATE_RECOMMENDED_ALT" desc="Alternate main text of the Update Recommended dialog with a count of open Incognito windows." translateable="false">
Not used in Thorium. Placeholder to keep resource maps in sync.
</message>
</if>
<!-- Update bubble -->
<message name="IDS_REINSTALL_APP" desc="Text for the button the user clicks to reinstall the app.">
Reinstall Thorium
@ -1211,10 +1235,8 @@ Permissions you've already given to websites and apps may apply to this account.
</message>
<!-- Critical Notification bubble -->
<message name="IDS_CRITICAL_NOTIFICATION_TITLE" desc="The title for a bubble that appears when there is a critical update and Thorium must restart to install it. It counts down from # seconds and then Thorium automatically restarts.">
{SECONDS, plural,
=1 {Thorium will restart in 1 second}
other {Thorium will restart in # seconds}}
<message name="IDS_CRITICAL_NOTIFICATION_TITLE" desc="The title for a bubble that appears when there is a critical update and Thorium must restart to install it. It counts down a timer and then Thorium automatically restarts.">
Thorium will restart in <ph name="REMAINING_TIME">$1<ex>1 minute, 7 seconds</ex></ph>
</message>
<message name="IDS_CRITICAL_NOTIFICATION_TITLE_ALTERNATE" desc="The title for a bubble that appears when there is a critical update and Thorium must restart to install it. The title was previously countng down to an automatic restart and now it has finished. Will only be seen if a web page stops the shutdown process.">
Please restart Thorium now
@ -1359,19 +1381,29 @@ Permissions you've already given to websites and apps may apply to this account.
</message>
<!-- Idle timeout dialog. -->
<if expr="not is_android and not is_chromeos">
<message name="IDS_IDLE_TIMEOUT_TITLE" desc="Title of the Idle Timeout dialog, warning the user that their windows are about to close.">
Thorium is inactive
<message name="IDS_IDLE_TIMEOUT_CLOSE_TITLE" desc="Title of the Idle Timeout dialog, warning the user that their windows are about to close.">
Thorium will soon close
</message>
<message name="IDS_IDLE_TIMEOUT_BODY" desc="First sentence in the Idle Timeout dialog, warning the user that all browsers are about to close automatically.">
<message name="IDS_IDLE_TIMEOUT_CLEAR_TITLE" desc="Title of the Idle Timeout dialog, warning the user that their browsing data will be lost soon.">
Thorium will soon delete browsing data
</message>
<message name="IDS_IDLE_TIMEOUT_CLOSE_AND_CLEAR_TITLE" desc="Title of the Idle Timeout dialog, warning the user that their windows are about to close and their browsing data will be lost.">
Thorium will soon close and delete data
</message>
<message name="IDS_IDLE_TIMEOUT_CLOSE_BODY" desc="First sentence in the Idle Timeout dialog, warning the user that Thorium is going to close automatically.">
{COUNT, plural,
=1 {Your administrator has configured Thorium to close if it is idle for more than 1 minute.}
other {Your administrator has configured Thorium to close if it is idle for more than # minutes.}}
=1 {Your administrator automatically closes Thorium when it isn't used for 1 minute.}
other {Your administrator automatically closes Thorium when it isn't used for # minutes.}}
</message>
<message name="IDS_IDLE_TIMEOUT_COUNTDOWN" desc="In the Idle Timeout dialog, a countdown that ticks every second. When it reaches zero, Thorium closes all browsers.">
{0, plural,
=0 {Thorium will close now.}
=1 {Thorium will close in 1 second.}
other {Thorium will close in # seconds.}}
<message name="IDS_IDLE_TIMEOUT_CLEAR_BODY" desc="First sentence in the Idle Timeout dialog, warning the user that Thorium is going to clear data automatically.">
{COUNT, plural,
=1 {Your administrator automatically deletes browsing data when it isn't used for 1 minute. This could include history, autofill, and downloads. Your existing tabs will remain open.}
other {Your administrator automatically deletes browsing data when it isn't used for # minutes. This could include history, autofill, and downloads. Your existing tabs will remain open.}}
</message>
<message name="IDS_IDLE_TIMEOUT_CLOSE_AND_CLEAR_BODY" desc="First sentence in the Idle Timeout dialog, warning the user that Thorium is going to close and clear data automatically.">
{COUNT, plural,
=1 {Your administrator automatically closes Thorium when it isn't used for 1 minute. Browsing data is deleted. This could include history, autofill, and downloads.}
other {Your administrator automatically closes Thorium when it isn't used for # minutes. Browsing data is deleted. This could include history, autofill, and downloads.}}
</message>
<message name="IDS_IDLE_DISMISS_BUTTON" desc="Button label in the Idle Timeout dialog, this button dismisses the dialog and prevents browsers from closing automatically.">
Continue using Thorium
@ -1405,6 +1437,9 @@ Permissions you've already given to websites and apps may apply to this account.
<message name="IDS_PROFILE_PICKER_PROFILE_CREATION_FLOW_ACCOUNT_SELECTION_LACROS_SUBTITLE" desc="Profile picker, account selection screen subtitle">
Sign in to Thorium
</message>
<message name="IDS_PROFILE_PICKER_PROFILE_CREATION_FLOW_ACCOUNT_SELECTION_LACROS_SUBTITLE_WITH_GUEST" desc="Profile picker, account selection screen subtitle">
Sign in to Thorium. If you want to sign in an account one-time only, you can <ph name="GUEST_LINK_BEGIN">&lt;a id="guestModeLink" href="#"&gt;</ph>use the device as guest<ph name="GUEST_LINK_END">&lt;/a&gt;</ph>.
</message>
</if>
<if expr="not chromeos_lacros">
<message name="IDS_PROFILE_PICKER_MAIN_VIEW_TITLE" desc="Profile picker main view title">
@ -1455,8 +1490,17 @@ Permissions you've already given to websites and apps may apply to this account.
</message>
</if>
<if expr="not chromeos_lacros">
<message name="IDS_FRE_SIGN_IN_SUBTITLE" desc="The subtitle for the sign in page explaining to the users the benefits of signing in to Thorium">
You can enjoy the most out of Thorium
<message name="IDS_FRE_SIGN_IN_TITLE_0"
desc="This string appears as a heading on a full-page screen that asks the user to sign in to Thorium with their Google Account. It appears when the user launches Thorium for the first time. When they sign in, they can personalize and customize Thorium and remember their settings in their Google Account. The tone should be inviting and alluring.">
Sign in to Thorium
</message>
<message name="IDS_FRE_SIGN_IN_TITLE_1"
desc="This string appears as a heading on a full-page screen that asks the user to sign in to Thorium with their Google Account. It appears when the user launches Thorium for the first time. When they sign in, they can personalize and customize Thorium and remember their settings in their Google Account. The tone should be inviting and alluring.">
Make Thorium your own
</message>
<message name="IDS_FRE_SIGN_IN_TITLE_2"
desc="This string appears as a heading on a full-page screen that tells users the benefits of signing in to Thorium. It appears when the user launches Thorium for the first time. When they sign in, they can personalize and customize Thorium and remember their settings in their Google Account. The tone should be inviting and alluring.">
Do more with Thorium
</message>
</if>
@ -1467,6 +1511,9 @@ Permissions you've already given to websites and apps may apply to this account.
<message name="IDS_PROFILE_SWITCH_PROMO_SCREENREADER" desc="Text announced by screenreaders to explain how to switch between profiles.">
<ph name="SHORTCUT">$1<ex>CTRL+SHIFT+M</ex></ph> can switch between Thorium profiles
</message>
<message name="IDS_PASSWORD_MANAGER_IPH_BODY_WEB_APP_PROFILE_SWITCH" desc="Body of the in Product Help for profile switching shown in the password manager web app.">
You can switch to see passwords from another Thorium profile
</message>
</if>
<!-- Strings for full restore notifications -->
@ -1496,6 +1543,9 @@ Permissions you've already given to websites and apps may apply to this account.
<message name="IDS_TAILORED_SECURITY_UNCONSENTED_PROMOTION_MESSAGE_DESCRIPTION" desc="Description shown in the message shown when a user changes their account-level tailored security setting encouraging them to enable Enhanced Safe Browsing">
Enhanced protection does more to block phishing and malware
</message>
<message name="IDS_TAILORED_SECURITY_UNCONSENTED_PROMOTION_MESSAGE_DESCRIPTION_UPDATED" desc="Description shown in the message shown when a user changes their account-level tailored security setting encouraging them to enable Enhanced Safe Browsing">
Enhanced Safe Browsing does more to protect you against dangerous websites and downloads
</message>
<message name="IDS_TAILORED_SECURITY_UNCONSENTED_PROMOTION_MESSAGE_ACCEPT" desc="Accept button shown in the message shown when a user changes their account-level tailored security setting encouraging them to enable Enhanced Safe Browsing">
Continue
</message>
@ -1647,16 +1697,6 @@ Permissions you've already given to websites and apps may apply to this account.
<!-- High Efficiency IPH strings -->
<if expr="not is_android">
<if expr="use_titlecase">
<message name="IDS_HIGH_EFFICIENCY_INFO_MODE_PROMO_TITLE" desc="In Title Case: The title for the high efficiency info mode in-product promo bubble.">
Memory Saver Made Thorium Faster
</message>
</if>
<if expr="not use_titlecase">
<message name="IDS_HIGH_EFFICIENCY_INFO_MODE_PROMO_TITLE" desc="The title for the high efficiency info mode in-product promo bubble.">
Memory Saver made Thorium faster
</message>
</if>
<if expr="use_titlecase">
<message name="IDS_HIGH_EFFICIENCY_MODE_PROMO_TITLE" desc="In Title Case: The title for the high efficiency mode in-product promo bubble">
Make Thorium Faster

View file

@ -692,6 +692,7 @@ config("compiler") {
"-mllvm:-import-instr-limit=$import_instr_limit",
"-mllvm:-import-hot-multiplier=15",
"-mllvm:-import-cold-multiplier=4",
"-mllvm:-disable-auto-upgrade-debug-info",
# "/lldltocache:" +
# rebase_path("$root_out_dir/thinlto-cache", root_build_dir),
# "/lldltocachepolicy:$cache_policy",
@ -734,6 +735,14 @@ config("compiler") {
}
ldflags += [ "-Wl,-mllvm,-import-instr-limit=$import_instr_limit" ]
if (!is_chromeos) {
# TODO(https://crbug.com/972449): turn on for ChromeOS when that
# toolchain has this flag.
# We only use one version of LLVM within a build so there's no need to
# upgrade debug info, which can be expensive since it runs the verifier.
ldflags += [ "-Wl,-mllvm,-disable-auto-upgrade-debug-info" ]
}
}
# TODO(https://crbug.com/1211155): investigate why this isn't effective on
@ -939,7 +948,7 @@ config("thinlto_optimize_default") {
ldflags = [ "-Wl,--lto-O" + lto_opt_level ]
}
rustflags = [ "-Clto=thin" ]
rustflags = [ "-Clinker-plugin-lto=yes" ]
}
}
@ -966,7 +975,7 @@ config("thinlto_optimize_max") {
ldflags = [ "-Wl,--lto-O" + lto_opt_level ]
}
rustflags = [ "-Clto=thin" ]
rustflags = [ "-Clinker-plugin-lto=yes" ]
}
}
@ -1775,14 +1784,14 @@ config("chromium_code") {
defines += [ "_FORTIFY_SOURCE=2" ]
}
if (is_mac) {
cflags_objc = [ "-Wobjc-missing-property-synthesis" ]
cflags_objcc = [ "-Wobjc-missing-property-synthesis" ]
if (is_apple) {
cflags_objc = [ "-Wimplicit-retain-self" ]
cflags_objcc = [ "-Wimplicit-retain-self" ]
}
if (is_ios) {
cflags_objc = [ "-Wimplicit-retain-self" ]
cflags_objcc = cflags_objc
if (is_mac) {
cflags_objc += [ "-Wobjc-missing-property-synthesis" ]
cflags_objcc += [ "-Wobjc-missing-property-synthesis" ]
}
}
@ -2535,6 +2544,7 @@ config("win_pdbaltpath") {
# Full symbols.
config("symbols") {
rustflags = []
if (is_win) {
if (is_clang) {
cflags = [
@ -2573,11 +2583,13 @@ config("symbols") {
if (!is_nacl && current_os != "aix") {
if (use_dwarf5) {
cflags += [ "-gdwarf-5" ]
rustflags += [ "-Zdwarf-version=5" ]
} else if (!is_apple) {
# Recent clang versions default to DWARF5 on Linux, and Android is about
# to switch. TODO: Adopt that in controlled way.
# Apple platforms still default to 4, so the flag is not needed there.
cflags += [ "-gdwarf-4" ]
rustflags += [ "-Zdwarf-version=4" ]
}
}
@ -2668,7 +2680,7 @@ config("symbols") {
]
}
}
rustflags = [ "-g", "-Copt-level=3", "-Ctarget-feature=+aes,+avx,+avx2,-pclmul", ]
rustflags += [ "-g", "-Copt-level=3", "-Ctarget-feature=+aes,+avx,+avx2,-pclmul", ]
}
# Minimal symbols.

View file

@ -11,6 +11,7 @@ import("//build/config/win/control_flow_guard.gni")
import("//build/config/win/visual_studio_version.gni")
import("//build/timestamp.gni")
import("//build/toolchain/goma.gni")
import("//build/toolchain/rbe.gni")
import("//build/toolchain/toolchain.gni")
assert(is_win)
@ -41,9 +42,6 @@ declare_args() {
# and with this switch, clang emits it like this:
# foo/bar.cc:12:34: error: something went wrong
use_clang_diagnostics_format = false
# Indicates whether to use /pdbpagesize:8192 to allow PDBs larger than 4 GiB.
use_large_pdbs = true
}
# This is included by reference in the //build/config/compiler config that
@ -149,13 +147,13 @@ config("compiler") {
]
}
if (exec_script("//build/win/use_ansi_codes.py", [], "trim string") ==
# Enable ANSI escape codes if something emulating them is around (cmd.exe
# doesn't understand ANSI escape codes by default). Make sure to not enable
# this if goma/remoteexec is in use, because this will lower cache hits.
if (!use_goma && !use_remoteexec &&
exec_script("//build/win/use_ansi_codes.py", [], "trim string") ==
"True") {
cflags += [
# cmd.exe doesn't understand ANSI escape codes by default,
# so only enable them if something emulating them is around.
"-fansi-escape-codes",
]
cflags += [ "-fansi-escape-codes" ]
}
if (use_clang_diagnostics_format) {
@ -189,14 +187,14 @@ config("compiler") {
ldflags += [ "/opt:lldlto=3", ]
}
if (use_large_pdbs) {
# This allows PDBs up to 8 GiB in size. This requires lld-link.exe or
# link.exe from VS 2022 or later.
if (!defined(configs)) {
configs = []
}
configs += [ ":pdb_larger_than_4gb" ]
}
# Some binaries create PDBs larger than 4 GiB. Increasing the PDB page size
# to 8 KiB allows 8 GiB PDBs. The larger page size also allows larger block maps
# which is a PDB limit that was hit in https://crbug.com/1406510. The page size
# can easily be increased in the future to allow even larger PDBs or larger
# block maps.
# This flag requires lld-link.exe or link.exe from VS 2022 or later to create
# the PDBs, and tools from circa 22H2 or later to consume the PDBs.
ldflags += [ "/pdbpagesize:8192" ]
if (!is_debug && !is_component_build) {
# Enable standard linker optimizations like GC (/OPT:REF) and ICF in static
@ -353,17 +351,26 @@ config("common_linker_setup") {
}
}
# Flags that should be applied to building .exe files but not .dll files.
config("exe_flags") {
rustflags = [ "-Ctarget-feature=+crt-static" ]
}
config("default_cfg_compiler") {
# Emit table of address-taken functions for Control-Flow Guard (CFG).
# This is needed to allow functions to be called by code that is built
# with CFG enabled, such as system libraries.
# The CFG guards are only emitted if |win_enable_cfg_guards| is enabled.
if (is_clang) {
if (win_enable_cfg_guards) {
if (win_enable_cfg_guards) {
if (is_clang) {
cflags = [ "/guard:cf" ]
} else {
}
rustflags = [ "-Ccontrol-flow-guard" ]
} else {
if (is_clang) {
cflags = [ "/guard:cf,nochecks" ]
}
rustflags = [ "-Ccontrol-flow-guard=nochecks" ]
}
}
@ -376,6 +383,7 @@ config("disable_guards_cfg_compiler") {
if (is_clang) {
cflags = [ "/guard:cf,nochecks" ]
}
rustflags = [ "-Ccontrol-flow-guard=nochecks" ]
}
config("cfi_linker") {
@ -619,15 +627,3 @@ config("lean_and_mean") {
config("nominmax") {
defines = [ "NOMINMAX" ]
}
# Some binaries create PDBs larger than 4 GiB. Increasing the PDB page size
# to 8 KiB allows 8 GiB PDBs. The larger page size also allows larger block maps
# which is a PDB limit that was hit in https://crbug.com/1406510. The page size
# can easily be increased in the future to allow even larger PDBs or larger
# block maps.
config("pdb_larger_than_4gb") {
if (!defined(ldflags)) {
ldflags = []
}
ldflags += [ "/pdbpagesize:8192" ]
}

View file

@ -697,6 +697,7 @@ config("compiler") {
"-mllvm:-import-instr-limit=$import_instr_limit",
"-mllvm:-import-hot-multiplier=15",
"-mllvm:-import-cold-multiplier=4",
"-mllvm:-disable-auto-upgrade-debug-info",
# "/lldltocache:" +
# rebase_path("$root_out_dir/thinlto-cache", root_build_dir),
# "/lldltocachepolicy:$cache_policy",
@ -744,6 +745,14 @@ config("compiler") {
}
ldflags += [ "-Wl,-mllvm,-import-instr-limit=$import_instr_limit" ]
if (!is_chromeos) {
# TODO(https://crbug.com/972449): turn on for ChromeOS when that
# toolchain has this flag.
# We only use one version of LLVM within a build so there's no need to
# upgrade debug info, which can be expensive since it runs the verifier.
ldflags += [ "-Wl,-mllvm,-disable-auto-upgrade-debug-info" ]
}
}
# TODO(https://crbug.com/1211155): investigate why this isn't effective on
@ -952,7 +961,7 @@ config("thinlto_optimize_default") {
ldflags = [ "-Wl,--lto-O" + lto_opt_level ]
}
rustflags = [ "-Clto=thin" ]
rustflags = [ "-Clinker-plugin-lto=yes" ]
}
}
@ -979,7 +988,7 @@ config("thinlto_optimize_max") {
ldflags = [ "-Wl,--lto-O" + lto_opt_level ]
}
rustflags = [ "-Clto=thin" ]
rustflags = [ "-Clinker-plugin-lto=yes" ]
}
}
@ -1776,14 +1785,14 @@ config("chromium_code") {
defines += [ "_FORTIFY_SOURCE=2" ]
}
if (is_mac) {
cflags_objc = [ "-Wobjc-missing-property-synthesis" ]
cflags_objcc = [ "-Wobjc-missing-property-synthesis" ]
if (is_apple) {
cflags_objc = [ "-Wimplicit-retain-self" ]
cflags_objcc = [ "-Wimplicit-retain-self" ]
}
if (is_ios) {
cflags_objc = [ "-Wimplicit-retain-self" ]
cflags_objcc = cflags_objc
if (is_mac) {
cflags_objc += [ "-Wobjc-missing-property-synthesis" ]
cflags_objcc += [ "-Wobjc-missing-property-synthesis" ]
}
}
@ -2534,6 +2543,7 @@ config("win_pdbaltpath") {
# Full symbols.
config("symbols") {
rustflags = []
if (is_win) {
if (is_clang) {
cflags = [
@ -2572,11 +2582,13 @@ config("symbols") {
if (!is_nacl && current_os != "aix") {
if (use_dwarf5) {
cflags += [ "-gdwarf-5" ]
rustflags += [ "-Zdwarf-version=5" ]
} else if (!is_apple) {
# Recent clang versions default to DWARF5 on Linux, and Android is about
# to switch. TODO: Adopt that in controlled way.
# Apple platforms still default to 4, so the flag is not needed there.
cflags += [ "-gdwarf-4" ]
rustflags += [ "-Zdwarf-version=4" ]
}
}
@ -2667,7 +2679,7 @@ config("symbols") {
]
}
}
rustflags = [ "-g", "-Copt-level=3", "-Ctarget-feature=+sse2", ]
rustflags += [ "-g", "-Copt-level=3", "-Ctarget-feature=+sse2", ]
}
# Minimal symbols.

View file

@ -11,6 +11,7 @@ import("//build/config/win/control_flow_guard.gni")
import("//build/config/win/visual_studio_version.gni")
import("//build/timestamp.gni")
import("//build/toolchain/goma.gni")
import("//build/toolchain/rbe.gni")
import("//build/toolchain/toolchain.gni")
assert(is_win)
@ -41,9 +42,6 @@ declare_args() {
# and with this switch, clang emits it like this:
# foo/bar.cc:12:34: error: something went wrong
use_clang_diagnostics_format = false
# Indicates whether to use /pdbpagesize:8192 to allow PDBs larger than 4 GiB.
use_large_pdbs = true
}
# This is included by reference in the //build/config/compiler config that
@ -139,13 +137,13 @@ config("compiler") {
]
}
if (exec_script("//build/win/use_ansi_codes.py", [], "trim string") ==
# Enable ANSI escape codes if something emulating them is around (cmd.exe
# doesn't understand ANSI escape codes by default). Make sure to not enable
# this if goma/remoteexec is in use, because this will lower cache hits.
if (!use_goma && !use_remoteexec &&
exec_script("//build/win/use_ansi_codes.py", [], "trim string") ==
"True") {
cflags += [
# cmd.exe doesn't understand ANSI escape codes by default,
# so only enable them if something emulating them is around.
"-fansi-escape-codes",
]
cflags += [ "-fansi-escape-codes" ]
}
if (use_clang_diagnostics_format) {
@ -179,14 +177,14 @@ config("compiler") {
ldflags += [ "/opt:lldlto=3", ]
}
if (use_large_pdbs) {
# This allows PDBs up to 8 GiB in size. This requires lld-link.exe or
# link.exe from VS 2022 or later.
if (!defined(configs)) {
configs = []
}
configs += [ ":pdb_larger_than_4gb" ]
}
# Some binaries create PDBs larger than 4 GiB. Increasing the PDB page size
# to 8 KiB allows 8 GiB PDBs. The larger page size also allows larger block maps
# which is a PDB limit that was hit in https://crbug.com/1406510. The page size
# can easily be increased in the future to allow even larger PDBs or larger
# block maps.
# This flag requires lld-link.exe or link.exe from VS 2022 or later to create
# the PDBs, and tools from circa 22H2 or later to consume the PDBs.
ldflags += [ "/pdbpagesize:8192" ]
if (!is_debug && !is_component_build) {
# Enable standard linker optimizations like GC (/OPT:REF) and ICF in static
@ -342,17 +340,26 @@ config("common_linker_setup") {
}
}
# Flags that should be applied to building .exe files but not .dll files.
config("exe_flags") {
rustflags = [ "-Ctarget-feature=+crt-static" ]
}
config("default_cfg_compiler") {
# Emit table of address-taken functions for Control-Flow Guard (CFG).
# This is needed to allow functions to be called by code that is built
# with CFG enabled, such as system libraries.
# The CFG guards are only emitted if |win_enable_cfg_guards| is enabled.
if (is_clang) {
if (win_enable_cfg_guards) {
if (win_enable_cfg_guards) {
if (is_clang) {
cflags = [ "/guard:cf" ]
} else {
}
rustflags = [ "-Ccontrol-flow-guard" ]
} else {
if (is_clang) {
cflags = [ "/guard:cf,nochecks" ]
}
rustflags = [ "-Ccontrol-flow-guard=nochecks" ]
}
}
@ -365,6 +372,7 @@ config("disable_guards_cfg_compiler") {
if (is_clang) {
cflags = [ "/guard:cf,nochecks" ]
}
rustflags = [ "-Ccontrol-flow-guard=nochecks" ]
}
config("cfi_linker") {
@ -608,15 +616,3 @@ config("lean_and_mean") {
config("nominmax") {
defines = [ "NOMINMAX" ]
}
# Some binaries create PDBs larger than 4 GiB. Increasing the PDB page size
# to 8 KiB allows 8 GiB PDBs. The larger page size also allows larger block maps
# which is a PDB limit that was hit in https://crbug.com/1406510. The page size
# can easily be increased in the future to allow even larger PDBs or larger
# block maps.
config("pdb_larger_than_4gb") {
if (!defined(ldflags)) {
ldflags = []
}
ldflags += [ "/pdbpagesize:8192" ]
}

View file

@ -692,6 +692,7 @@ config("compiler") {
"-mllvm:-import-instr-limit=$import_instr_limit",
"-mllvm:-import-hot-multiplier=15",
"-mllvm:-import-cold-multiplier=4",
"-mllvm:-disable-auto-upgrade-debug-info",
# "/lldltocache:" +
# rebase_path("$root_out_dir/thinlto-cache", root_build_dir),
# "/lldltocachepolicy:$cache_policy",
@ -734,6 +735,14 @@ config("compiler") {
}
ldflags += [ "-Wl,-mllvm,-import-instr-limit=$import_instr_limit" ]
if (!is_chromeos) {
# TODO(https://crbug.com/972449): turn on for ChromeOS when that
# toolchain has this flag.
# We only use one version of LLVM within a build so there's no need to
# upgrade debug info, which can be expensive since it runs the verifier.
ldflags += [ "-Wl,-mllvm,-disable-auto-upgrade-debug-info" ]
}
}
# TODO(https://crbug.com/1211155): investigate why this isn't effective on
@ -939,7 +948,7 @@ config("thinlto_optimize_default") {
ldflags = [ "-Wl,--lto-O" + lto_opt_level ]
}
rustflags = [ "-Clto=thin" ]
rustflags = [ "-Clinker-plugin-lto=yes" ]
}
}
@ -966,7 +975,7 @@ config("thinlto_optimize_max") {
ldflags = [ "-Wl,--lto-O" + lto_opt_level ]
}
rustflags = [ "-Clto=thin" ]
rustflags = [ "-Clinker-plugin-lto=yes" ]
}
}
@ -1772,14 +1781,14 @@ config("chromium_code") {
defines += [ "_FORTIFY_SOURCE=2" ]
}
if (is_mac) {
cflags_objc = [ "-Wobjc-missing-property-synthesis" ]
cflags_objcc = [ "-Wobjc-missing-property-synthesis" ]
if (is_apple) {
cflags_objc = [ "-Wimplicit-retain-self" ]
cflags_objcc = [ "-Wimplicit-retain-self" ]
}
if (is_ios) {
cflags_objc = [ "-Wimplicit-retain-self" ]
cflags_objcc = cflags_objc
if (is_mac) {
cflags_objc += [ "-Wobjc-missing-property-synthesis" ]
cflags_objcc += [ "-Wobjc-missing-property-synthesis" ]
}
}
@ -2532,6 +2541,7 @@ config("win_pdbaltpath") {
# Full symbols.
config("symbols") {
rustflags = []
if (is_win) {
if (is_clang) {
cflags = [
@ -2570,11 +2580,13 @@ config("symbols") {
if (!is_nacl && current_os != "aix") {
if (use_dwarf5) {
cflags += [ "-gdwarf-5" ]
rustflags += [ "-Zdwarf-version=5" ]
} else if (!is_apple) {
# Recent clang versions default to DWARF5 on Linux, and Android is about
# to switch. TODO: Adopt that in controlled way.
# Apple platforms still default to 4, so the flag is not needed there.
cflags += [ "-gdwarf-4" ]
rustflags += [ "-Zdwarf-version=4" ]
}
}
@ -2665,7 +2677,7 @@ config("symbols") {
]
}
}
rustflags = [ "-g", "-Copt-level=3", "-Ctarget-feature=+sse3", ]
rustflags += [ "-g", "-Copt-level=3", "-Ctarget-feature=+sse3", ]
}
# Minimal symbols.

View file

@ -11,6 +11,7 @@ import("//build/config/win/control_flow_guard.gni")
import("//build/config/win/visual_studio_version.gni")
import("//build/timestamp.gni")
import("//build/toolchain/goma.gni")
import("//build/toolchain/rbe.gni")
import("//build/toolchain/toolchain.gni")
assert(is_win)
@ -41,9 +42,6 @@ declare_args() {
# and with this switch, clang emits it like this:
# foo/bar.cc:12:34: error: something went wrong
use_clang_diagnostics_format = false
# Indicates whether to use /pdbpagesize:8192 to allow PDBs larger than 4 GiB.
use_large_pdbs = true
}
# This is included by reference in the //build/config/compiler config that
@ -140,13 +138,13 @@ config("compiler") {
]
}
if (exec_script("//build/win/use_ansi_codes.py", [], "trim string") ==
# Enable ANSI escape codes if something emulating them is around (cmd.exe
# doesn't understand ANSI escape codes by default). Make sure to not enable
# this if goma/remoteexec is in use, because this will lower cache hits.
if (!use_goma && !use_remoteexec &&
exec_script("//build/win/use_ansi_codes.py", [], "trim string") ==
"True") {
cflags += [
# cmd.exe doesn't understand ANSI escape codes by default,
# so only enable them if something emulating them is around.
"-fansi-escape-codes",
]
cflags += [ "-fansi-escape-codes" ]
}
if (use_clang_diagnostics_format) {
@ -180,14 +178,14 @@ config("compiler") {
ldflags += [ "/opt:lldlto=3", ]
}
if (use_large_pdbs) {
# This allows PDBs up to 8 GiB in size. This requires lld-link.exe or
# link.exe from VS 2022 or later.
if (!defined(configs)) {
configs = []
}
configs += [ ":pdb_larger_than_4gb" ]
}
# Some binaries create PDBs larger than 4 GiB. Increasing the PDB page size
# to 8 KiB allows 8 GiB PDBs. The larger page size also allows larger block maps
# which is a PDB limit that was hit in https://crbug.com/1406510. The page size
# can easily be increased in the future to allow even larger PDBs or larger
# block maps.
# This flag requires lld-link.exe or link.exe from VS 2022 or later to create
# the PDBs, and tools from circa 22H2 or later to consume the PDBs.
ldflags += [ "/pdbpagesize:8192" ]
if (!is_debug && !is_component_build) {
# Enable standard linker optimizations like GC (/OPT:REF) and ICF in static
@ -343,17 +341,26 @@ config("common_linker_setup") {
}
}
# Flags that should be applied to building .exe files but not .dll files.
config("exe_flags") {
rustflags = [ "-Ctarget-feature=+crt-static" ]
}
config("default_cfg_compiler") {
# Emit table of address-taken functions for Control-Flow Guard (CFG).
# This is needed to allow functions to be called by code that is built
# with CFG enabled, such as system libraries.
# The CFG guards are only emitted if |win_enable_cfg_guards| is enabled.
if (is_clang) {
if (win_enable_cfg_guards) {
if (win_enable_cfg_guards) {
if (is_clang) {
cflags = [ "/guard:cf" ]
} else {
}
rustflags = [ "-Ccontrol-flow-guard" ]
} else {
if (is_clang) {
cflags = [ "/guard:cf,nochecks" ]
}
rustflags = [ "-Ccontrol-flow-guard=nochecks" ]
}
}
@ -366,6 +373,7 @@ config("disable_guards_cfg_compiler") {
if (is_clang) {
cflags = [ "/guard:cf,nochecks" ]
}
rustflags = [ "-Ccontrol-flow-guard=nochecks" ]
}
config("cfi_linker") {
@ -609,15 +617,3 @@ config("lean_and_mean") {
config("nominmax") {
defines = [ "NOMINMAX" ]
}
# Some binaries create PDBs larger than 4 GiB. Increasing the PDB page size
# to 8 KiB allows 8 GiB PDBs. The larger page size also allows larger block maps
# which is a PDB limit that was hit in https://crbug.com/1406510. The page size
# can easily be increased in the future to allow even larger PDBs or larger
# block maps.
config("pdb_larger_than_4gb") {
if (!defined(ldflags)) {
ldflags = []
}
ldflags += [ "/pdbpagesize:8192" ]
}

View file

@ -685,6 +685,7 @@ config("compiler") {
"-mllvm:-import-instr-limit=$import_instr_limit",
"-mllvm:-import-hot-multiplier=15",
"-mllvm:-import-cold-multiplier=4",
"-mllvm:-disable-auto-upgrade-debug-info",
# "/lldltocache:" +
# rebase_path("$root_out_dir/thinlto-cache", root_build_dir),
# "/lldltocachepolicy:$cache_policy",
@ -727,6 +728,14 @@ config("compiler") {
}
ldflags += [ "-Wl,-mllvm,-import-instr-limit=$import_instr_limit" ]
if (!is_chromeos) {
# TODO(https://crbug.com/972449): turn on for ChromeOS when that
# toolchain has this flag.
# We only use one version of LLVM within a build so there's no need to
# upgrade debug info, which can be expensive since it runs the verifier.
ldflags += [ "-Wl,-mllvm,-disable-auto-upgrade-debug-info" ]
}
}
# TODO(https://crbug.com/1211155): investigate why this isn't effective on
@ -933,7 +942,7 @@ config("thinlto_optimize_default") {
## ldflags += [ "-Wl,--lto-CGO" + lto_opt_level ]
}
rustflags = [ "-Clto=thin" ]
rustflags = [ "-Clinker-plugin-lto=yes" ]
}
}
@ -961,7 +970,7 @@ config("thinlto_optimize_max") {
## ldflags += [ "-Wl,--lto-CGO" + lto_opt_level ]
}
rustflags = [ "-Clto=thin" ]
rustflags = [ "-Clinker-plugin-lto=yes" ]
}
}
@ -1769,14 +1778,14 @@ config("chromium_code") {
defines += [ "_FORTIFY_SOURCE=2" ]
}
if (is_mac) {
cflags_objc = [ "-Wobjc-missing-property-synthesis" ]
cflags_objcc = [ "-Wobjc-missing-property-synthesis" ]
if (is_apple) {
cflags_objc = [ "-Wimplicit-retain-self" ]
cflags_objcc = [ "-Wimplicit-retain-self" ]
}
if (is_ios) {
cflags_objc = [ "-Wimplicit-retain-self" ]
cflags_objcc = cflags_objc
if (is_mac) {
cflags_objc += [ "-Wobjc-missing-property-synthesis" ]
cflags_objcc += [ "-Wobjc-missing-property-synthesis" ]
}
}
@ -2529,6 +2538,7 @@ config("win_pdbaltpath") {
# Full symbols.
config("symbols") {
rustflags = []
if (is_win) {
if (is_clang) {
cflags = [
@ -2567,11 +2577,13 @@ config("symbols") {
if (!is_nacl && current_os != "aix") {
if (use_dwarf5) {
cflags += [ "-gdwarf-5" ]
rustflags += [ "-Zdwarf-version=5" ]
} else if (!is_apple) {
# Recent clang versions default to DWARF5 on Linux, and Android is about
# to switch. TODO: Adopt that in controlled way.
# Apple platforms still default to 4, so the flag is not needed there.
cflags += [ "-gdwarf-4" ]
rustflags += [ "-Zdwarf-version=4" ]
}
}
@ -2662,7 +2674,7 @@ config("symbols") {
]
}
}
rustflags = [ "-g", "-Copt-level=3", "-Ctarget-feature=+aes,+avx,-pclmul", ]
rustflags += [ "-g", "-Copt-level=3", "-Ctarget-feature=+aes,+avx,-pclmul", ]
}
# Minimal symbols.

View file

@ -49,11 +49,11 @@ config("compiler") {
ldflags = [ "-Wl,-O3", ] + common_mac_flags
if (target_cpu == "x64") {
cflags += [ "-maes", "-mavx", "-mavx2", "-ffp-contract=fast", "-mf16c", "-mfma", "-Wno-unused-command-line-argument", ]
cflags += [ "-maes", "-mavx", "-ffp-contract=fast", "-mf16c", "-mfma", "-Wno-unused-command-line-argument", ]
}
if (current_cpu == "x64") {
cflags += [ "-maes", "-mavx", "-mavx2", "-ffp-contract=fast", "-mf16c", "-mfma", "-Wno-unused-command-line-argument", ]
cflags += [ "-maes", "-mavx", "-ffp-contract=fast", "-mf16c", "-mfma", "-Wno-unused-command-line-argument", ]
}
if (save_unstripped_output) {

View file

@ -11,6 +11,7 @@ import("//build/config/win/control_flow_guard.gni")
import("//build/config/win/visual_studio_version.gni")
import("//build/timestamp.gni")
import("//build/toolchain/goma.gni")
import("//build/toolchain/rbe.gni")
import("//build/toolchain/toolchain.gni")
assert(is_win)
@ -41,9 +42,6 @@ declare_args() {
# and with this switch, clang emits it like this:
# foo/bar.cc:12:34: error: something went wrong
use_clang_diagnostics_format = false
# Indicates whether to use /pdbpagesize:8192 to allow PDBs larger than 4 GiB.
use_large_pdbs = true
}
# This is included by reference in the //build/config/compiler config that
@ -143,13 +141,13 @@ config("compiler") {
]
}
if (exec_script("//build/win/use_ansi_codes.py", [], "trim string") ==
# Enable ANSI escape codes if something emulating them is around (cmd.exe
# doesn't understand ANSI escape codes by default). Make sure to not enable
# this if goma/remoteexec is in use, because this will lower cache hits.
if (!use_goma && !use_remoteexec &&
exec_script("//build/win/use_ansi_codes.py", [], "trim string") ==
"True") {
cflags += [
# cmd.exe doesn't understand ANSI escape codes by default,
# so only enable them if something emulating them is around.
"-fansi-escape-codes",
]
cflags += [ "-fansi-escape-codes" ]
}
if (use_clang_diagnostics_format) {
@ -183,14 +181,14 @@ config("compiler") {
ldflags += [ "/opt:lldlto=3", ]
}
if (use_large_pdbs) {
# This allows PDBs up to 8 GiB in size. This requires lld-link.exe or
# link.exe from VS 2022 or later.
if (!defined(configs)) {
configs = []
}
configs += [ ":pdb_larger_than_4gb" ]
}
# Some binaries create PDBs larger than 4 GiB. Increasing the PDB page size
# to 8 KiB allows 8 GiB PDBs. The larger page size also allows larger block maps
# which is a PDB limit that was hit in https://crbug.com/1406510. The page size
# can easily be increased in the future to allow even larger PDBs or larger
# block maps.
# This flag requires lld-link.exe or link.exe from VS 2022 or later to create
# the PDBs, and tools from circa 22H2 or later to consume the PDBs.
ldflags += [ "/pdbpagesize:8192" ]
if (!is_debug && !is_component_build) {
# Enable standard linker optimizations like GC (/OPT:REF) and ICF in static
@ -346,17 +344,26 @@ config("common_linker_setup") {
}
}
# Flags that should be applied to building .exe files but not .dll files.
config("exe_flags") {
rustflags = [ "-Ctarget-feature=+crt-static" ]
}
config("default_cfg_compiler") {
# Emit table of address-taken functions for Control-Flow Guard (CFG).
# This is needed to allow functions to be called by code that is built
# with CFG enabled, such as system libraries.
# The CFG guards are only emitted if |win_enable_cfg_guards| is enabled.
if (is_clang) {
if (win_enable_cfg_guards) {
if (win_enable_cfg_guards) {
if (is_clang) {
cflags = [ "/guard:cf" ]
} else {
}
rustflags = [ "-Ccontrol-flow-guard" ]
} else {
if (is_clang) {
cflags = [ "/guard:cf,nochecks" ]
}
rustflags = [ "-Ccontrol-flow-guard=nochecks" ]
}
}
@ -369,6 +376,7 @@ config("disable_guards_cfg_compiler") {
if (is_clang) {
cflags = [ "/guard:cf,nochecks" ]
}
rustflags = [ "-Ccontrol-flow-guard=nochecks" ]
}
config("cfi_linker") {
@ -612,15 +620,3 @@ config("lean_and_mean") {
config("nominmax") {
defines = [ "NOMINMAX" ]
}
# Some binaries create PDBs larger than 4 GiB. Increasing the PDB page size
# to 8 KiB allows 8 GiB PDBs. The larger page size also allows larger block maps
# which is a PDB limit that was hit in https://crbug.com/1406510. The page size
# can easily be increased in the future to allow even larger PDBs or larger
# block maps.
config("pdb_larger_than_4gb") {
if (!defined(ldflags)) {
ldflags = []
}
ldflags += [ "/pdbpagesize:8192" ]
}

View file

@ -567,6 +567,9 @@ Permissions you've already given to websites and apps may apply to this account.
<message name="IDS_PASSWORDS_PAGE_EXPORT_AUTHENTICATION_PROMPT" desc="Text for the dialog box that prompts the user for their OS account password before exporting passwords to a file.">
Thorium wants to export your passwords. Type your Windows password to allow this.
</message>
<message name="IDS_PASSWORDS_PAGE_IMPORT_AUTHENTICATION_PROMPT" desc="Text for the dialog box that prompts the user for their OS account password before overriding passwords during Import.">
Thorium is trying to replace existing passwords. Type your Windows password to allow this.
</message>
<message name="IDS_INSTALL_HIGHER_VERSION" desc="Error displayed when higher version already exists.">
This computer already has a more recent version of Thorium. If the software is not working, please uninstall Thorium and try again.
</message>
@ -810,6 +813,12 @@ Permissions you've already given to websites and apps may apply to this account.
</message>
</if>
<if expr="is_win or is_macosx or is_linux">
<message name="IDS_RELAUNCH_TO_UPDATE_ALT" desc="Alternate text label of the relaunch to update Thorium menu item" translateable="false">
Not used in Thorium. Placeholder to keep resource maps in sync.
</message>
</if>
<if expr="is_macosx">
<message name="IDS_APP_MENU_PRODUCT_NAME" desc="The application's short name, used for the Mac's application menu, activity monitor, etc. This should be less than 16 characters. Example: Thorium, not Google Thorium.">
Thorium
@ -822,6 +831,10 @@ Permissions you've already given to websites and apps may apply to this account.
</message>
</if>
<message name="IDS_VIEW_PASSWORDS" desc="Item in the app menu which shows Password Manager page">
Password Manager
</message>
<!-- Thorium sign-in page -->
<message name="IDS_CHROME_SIGNIN_TITLE" desc="Title on the about:chrome-signin page">
Thorium
@ -997,10 +1010,17 @@ Permissions you've already given to websites and apps may apply to this account.
<if expr="not is_android">
<!-- WebHID system tray icon -->
<message name="IDS_WEBHID_SYSTEM_TRAY_ICON_TOOLTIP" desc="Tooltip for the WebHID system tray icon when one or more HID devices are being accessed.">
<message name="IDS_WEBHID_SYSTEM_TRAY_ICON_TITLE_SINGLE_EXTENSION" desc="Title for the WebHID system tray icon when one or more HID devices are being accessed by an extension.">
{NUM_DEVICES, plural,
=1 {Thorium is connected to a HID device}
other {Thorium is connected to HID devices}}
=0 {A Thorium extension was accessing HID devices}
=1 {A Thorium extension is accessing 1 HID device}
other {A Thorium extension is accessing # HID devices}}
</message>
<message name="IDS_WEBHID_SYSTEM_TRAY_ICON_TITLE_MULTIPLE_EXTENSIONS" desc="Title for the WebHID system tray icon when HID devices are being accessed by multiple extensions.">
{NUM_DEVICES, plural,
=0 {Thorium extensions were accessing HID devices}
=1 {Thorium extensions are accessing HID devices}
other {Thorium extensions are accessing # HID devices}}
</message>
</if>
@ -1151,6 +1171,15 @@ Permissions you've already given to websites and apps may apply to this account.
</message>
</if>
<if expr="is_win or is_macosx or is_linux">
<message name="IDS_UPDATE_RECOMMENDED_DIALOG_TITLE_ALT" desc="Alternate window title for the Update Recommended dialog." translateable="false">
Not used in Thorium. Placeholder to keep resource maps in sync.
</message>
<message name="IDS_UPDATE_RECOMMENDED_ALT" desc="Alternate main text of the Update Recommended dialog with a count of open Incognito windows." translateable="false">
Not used in Thorium. Placeholder to keep resource maps in sync.
</message>
</if>
<!-- Update bubble -->
<message name="IDS_REINSTALL_APP" desc="Text for the button the user clicks to reinstall the app.">
Reinstall Thorium
@ -1482,6 +1511,9 @@ Permissions you've already given to websites and apps may apply to this account.
<message name="IDS_PROFILE_SWITCH_PROMO_SCREENREADER" desc="Text announced by screenreaders to explain how to switch between profiles.">
<ph name="SHORTCUT">$1<ex>CTRL+SHIFT+M</ex></ph> can switch between Thorium profiles
</message>
<message name="IDS_PASSWORD_MANAGER_IPH_BODY_WEB_APP_PROFILE_SWITCH" desc="Body of the in Product Help for profile switching shown in the password manager web app.">
You can switch to see passwords from another Thorium profile
</message>
</if>
<!-- Strings for full restore notifications -->
@ -1511,6 +1543,9 @@ Permissions you've already given to websites and apps may apply to this account.
<message name="IDS_TAILORED_SECURITY_UNCONSENTED_PROMOTION_MESSAGE_DESCRIPTION" desc="Description shown in the message shown when a user changes their account-level tailored security setting encouraging them to enable Enhanced Safe Browsing">
Enhanced protection does more to block phishing and malware
</message>
<message name="IDS_TAILORED_SECURITY_UNCONSENTED_PROMOTION_MESSAGE_DESCRIPTION_UPDATED" desc="Description shown in the message shown when a user changes their account-level tailored security setting encouraging them to enable Enhanced Safe Browsing">
Enhanced Safe Browsing does more to protect you against dangerous websites and downloads
</message>
<message name="IDS_TAILORED_SECURITY_UNCONSENTED_PROMOTION_MESSAGE_ACCEPT" desc="Accept button shown in the message shown when a user changes their account-level tailored security setting encouraging them to enable Enhanced Safe Browsing">
Continue
</message>
@ -1662,16 +1697,6 @@ Permissions you've already given to websites and apps may apply to this account.
<!-- High Efficiency IPH strings -->
<if expr="not is_android">
<if expr="use_titlecase">
<message name="IDS_HIGH_EFFICIENCY_INFO_MODE_PROMO_TITLE" desc="In Title Case: The title for the high efficiency info mode in-product promo bubble.">
Memory Saver Made Thorium Faster
</message>
</if>
<if expr="not use_titlecase">
<message name="IDS_HIGH_EFFICIENCY_INFO_MODE_PROMO_TITLE" desc="The title for the high efficiency info mode in-product promo bubble.">
Memory Saver made Thorium faster
</message>
</if>
<if expr="use_titlecase">
<message name="IDS_HIGH_EFFICIENCY_MODE_PROMO_TITLE" desc="In Title Case: The title for the high efficiency mode in-product promo bubble">
Make Thorium Faster

View file

@ -620,7 +620,7 @@ are declared in tools/grit/grit_rule.gni.
Open link in new <ph name="APP">$1<ex>Gmail App</ex> window</ph>
</message>
<message name="IDS_CONTENT_CONTEXT_OPENLINKWEBAPP_NEWTAB" desc="The name of the command to open a link in a new tab of the same app the user is currently in">
Open link in new <ph name="APP">$1<ex>Gmail App</ex> tab</ph>
Open link in new <ph name="APP">$1<ex>Gmail App</ex></ph> tab
</message>
<message name="IDS_CONTENT_CONTEXT_SAVELINKAS" desc="The name of the Save Link As command in the content area context menu">
@ -889,7 +889,7 @@ are declared in tools/grit/grit_rule.gni.
Open Link in new <ph name="APP">$1<ex>Gmail App</ex></ph> Window
</message>
<message name="IDS_CONTENT_CONTEXT_OPENLINKWEBAPP_NEWTAB" desc="In Title Case: The name of the command to open a link in a new tab of the same app the user is currently in">
Open Link in new <ph name="APP">$1<ex>Gmail App</ex> Tab</ph>
Open Link in new <ph name="APP">$1<ex>Gmail App</ex></ph> Tab
</message>
<message name="IDS_CONTENT_CONTEXT_SAVELINKAS" desc="In Title Case: The name of the Save Link As command in the content area context menu">
@ -1057,7 +1057,7 @@ are declared in tools/grit/grit_rule.gni.
Select &amp;All
</message>
<message name="IDS_CONTENT_CONTEXT_PARTIAL_TRANSLATE" desc="In Title Case: The name of the Partial Translate command in the content area context menu">
&amp;Translate to <ph name="LANGUAGE">$1<ex>English</ex></ph>
&amp;Translate Selection to <ph name="LANGUAGE">$1<ex>English</ex></ph>
</message>
<message name="IDS_CONTENT_CONTEXT_SEARCHWEBFOR" desc="In Title Case: The name of the Search the Web for “string” command in the content area context menu">
&amp;Search <ph name="SEARCH_ENGINE">$1<ex>Google</ex></ph> for “<ph name="SEARCH_TERMS">$2<ex>flowers</ex></ph>”
@ -1141,6 +1141,12 @@ are declared in tools/grit/grit_rule.gni.
<!-- Page menu. Android has separate strings for its menu -->
<if expr="not is_android">
<if expr="not use_titlecase">
<message name="IDS_ADDRESSES_AND_MORE_SUBMENU_OPTION" desc="The text label of the addresses and more item for the autofill submenu">
&amp;Addresses and more
</message>
<message name="IDS_AUTOFILL_MENU" desc="The text label of the autofill menu item">
&amp;Autofill and passwords
</message>
<message name="IDS_NEW_TAB" desc="The text label of a menu item for opening a new tab">
New &amp;tab
</message>
@ -1177,6 +1183,15 @@ are declared in tools/grit/grit_rule.gni.
<message name="IDS_FIND" desc="The text label of the Find... menu item">
&amp;Find...
</message>
<message name="IDS_FIND_AND_EDIT_MENU" desc="The text label of the Find and edit sub menu item">
&amp;Find and edit
</message>
<message name="IDS_PASSWORD_MANAGER_SUBMENU_OPTION" desc="The text label of the password manager for the autofill submenu">
&amp;Google Password Manager
</message>
<message name="IDS_PAYMENT_METHOD_SUBMENU_OPTION" desc="The text label of the payment method for the autofill submenu">
&amp;Payment methods
</message>
<message name="IDS_SAVE_PAGE" desc="The text label of the Save Page As menu item">
Save page &amp;as...
</message>
@ -1227,6 +1242,12 @@ are declared in tools/grit/grit_rule.gni.
</message>
</if>
<if expr="use_titlecase">
<message name="IDS_ADDRESSES_AND_MORE_SUBMENU_OPTION" desc="In Title Case: The text label of the addresses and more item for the autofill submenu">
&amp;Addresses and More
</message>
<message name="IDS_AUTOFILL_MENU" desc="In Title Case: The text label of the autofill menu item">
&amp;Autofill and Passwords
</message>
<message name="IDS_NEW_TAB" desc="In Title Case: The text label of a menu item for opening a new tab">
New &amp;Tab
</message>
@ -1263,6 +1284,15 @@ are declared in tools/grit/grit_rule.gni.
<message name="IDS_FIND" desc="In Title Case: The text label of the Find... menu item">
&amp;Find...
</message>
<message name="IDS_FIND_AND_EDIT_MENU" desc="In Title Case: The text label of the Find and edit sub menu item">
&amp;Find and Edit
</message>
<message name="IDS_PASSWORD_MANAGER_SUBMENU_OPTION" desc="In Title Case: The text label of the password manager for the autofill submenu">
&amp;Google Password Manager
</message>
<message name="IDS_PAYMENT_METHOD_SUBMENU_OPTION" desc="In Title Case: The text label of the payment method for the autofill submenu">
&amp;Payment Methods
</message>
<message name="IDS_SAVE_PAGE" desc="In Title Case: The text label of the Save Page As menu item">
Save Page &amp;As...
</message>
@ -2928,6 +2958,15 @@ are declared in tools/grit/grit_rule.gni.
desc="Accessibility label for retry button.">
Retry <ph name="FILE_NAME">$1<ex>bla.exe</ex></ph>
</message>
<message name="IDS_DOWNLOAD_BUBBLE_SUPPRESS_PARTIAL_VIEW" desc="Text shown on the download bubble to allow users to never show the bubble at download completion">
Don't show when downloads are done
</message>
<message name="IDS_DOWNLOAD_BUBBLE_SUPPRESS_PARTIAL_VIEW_SETTINGS_REMINDER" desc="Text shown on the download bubble to remind users they can customize whether the bubble appears from Thorium settings">
You can change this anytime in <ph name="SETTINGS_LINK">$1<ex>settings</ex></ph>
</message>
<message name="IDS_DOWNLOAD_BUBBLE_SUPPRESS_PARTIAL_VIEW_SETTINGS_LINK" desc="Link text to Thorium settings in the download bubble, within IDS_DOWNLOAD_BUBBLE_SUPPRESS_PARTIAL_VIEW_SETTINGS_REMINDER">
settings
</message>
<!-- Tailored Warning in Download Bubble -->
<message name="IDS_DOWNLOAD_BUBBLE_SUBPAGE_SUMMARY_COOKIE_THEFT"
@ -4466,20 +4505,17 @@ are declared in tools/grit/grit_rule.gni.
<if expr="enable_extensions">
<!-- Extension blocked action bubble -->
<message name="IDS_EXTENSION_RELOAD_PAGE_BUBBLE_HEADING" desc="Heading of the bubble to tell users that in order to run an extension, they'll need to refresh the page.">
Reload page to use this extension
<message name="IDS_EXTENSION_SITE_RELOAD_PAGE_BUBBLE_HEADING" desc="Heading of the bubble to tell users that in order to run or not run an extension, they'll need to refresh the page. Deliberately similar to IDS_PAGE_INFO_INFOBAR_TEXT, but used for an different permission setting so they are not combined. If updating the one, please update the other or consult the extensions and privacy teams.">
To apply your updated settings to this site, reload this page
</message>
<message name="IDS_EXTENSION_RELOAD_PAGE_BUBBLE_OK_BUTTON" desc="The text of the button to proceed with the page refresh for running an extension.">
Reload
</message>
<message name="IDS_EXTENSION_RELOAD_PAGE_BUBBLE_ALLOW_SINGLE_EXTENSION_TITLE" desc="Title of the bubble to tell users that in order to run or block an extension, they'll need to refresh the page.">
Reload the page to use "<ph name="EXTENSION_NAME">$1<ex>Gmail Checker</ex></ph>"
To apply your updated settings for "<ph name="EXTENSION_NAME">$1<ex>Gmail Checker</ex></ph>" to this site, reload this page
</message>
<message name="IDS_EXTENSION_RELOAD_PAGE_BUBBLE_ALLOW_MULTIPLE_EXTENSIONS_TITLE" desc="Title of the bubble to tell users that in order to run or block an extension, they'll need to refresh the page.">
Reload the page to use these extensions
</message>
<message name="IDS_EXTENSION_RELOAD_PAGE_BUBBLE_UPDATE_PERMISSIONS_TITLE" desc="Title of the bubble to tell users that in order to apply the changes selected, they'll need to refresh the page.">
Reload the page to apply your changes
To apply your updated settings to this site for these extensions, reload this page
</message>
</if>
@ -4737,13 +4773,10 @@ are declared in tools/grit/grit_rule.gni.
<message name="IDS_EXTENSION_PROMPT_WARNING_HISTORY_READ" desc="Permission string for access to browsing history.">
Read your browsing history
</message>
<message name="IDS_EXTENSION_PROMPT_WARNING_HISTORY_READ_AND_SESSIONS" desc="Permission string for access to both browsing history and signed in sessions.">
<message name="IDS_EXTENSION_PROMPT_WARNING_HISTORY_READ_ON_ALL_DEVICES" desc="Permission string for access to browsing history on all signed-in devices.">
Read your browsing history on all your signed-in devices
</message>
<message name="IDS_EXTENSION_PROMPT_WARNING_HISTORY_WRITE" desc="Permission string for access to modify browsing history.">
Read and change your browsing history
</message>
<message name="IDS_EXTENSION_PROMPT_WARNING_HISTORY_WRITE_AND_SESSIONS" desc="Permission string for access to modify both browsing history and signed in sessions.">
<message name="IDS_EXTENSION_PROMPT_WARNING_HISTORY_WRITE_ON_ALL_DEVICES" desc="Permission string for access to modify browsing history on all signed-in devices.">
Read and change your browsing history on all your signed-in devices
</message>
<message name="IDS_EXTENSION_PROMPT_WARNING_HOME_PAGE_SETTING_OVERRIDE" desc="Permission string for home page override.">
@ -4986,9 +5019,15 @@ are declared in tools/grit/grit_rule.gni.
Add remote apps to the ThoriumOS launcher
</message>
<if expr="reven">
<message name="IDS_EXTENSION_PROMPT_WARNING_CHROMEOS_ATTACHED_DEVICE_INFO" desc="Permission string for accessing information of attached devices.">
Read attached devices information and data
</message>
<message name="IDS_EXTENSION_PROMPT_WARNING_CHROMEOS_DIAGNOSTICS" desc="Permission string for chrome.os.diagnostcs API.">
Run ThoriumOS Flex diagnostic tests
</message>
<message name="IDS_EXTENSION_PROMPT_WARNING_CHROMEOS_EVENTS" desc="Permission string for chrome.os.events API.">
Subscribe to ThoriumOS Flex system events
</message>
<message name="IDS_EXTENSION_PROMPT_WARNING_CHROMEOS_TELEMETRY" desc="Permission string for chrome.os.telemetry API.">
Read ThoriumOS Flex device information and device data
</message>
@ -5000,9 +5039,15 @@ are declared in tools/grit/grit_rule.gni.
</message>
</if>
<if expr="not reven">
<message name="IDS_EXTENSION_PROMPT_WARNING_CHROMEOS_ATTACHED_DEVICE_INFO" desc="Permission string for accessing information of attached devices.">
Read attached devices information and data
</message>
<message name="IDS_EXTENSION_PROMPT_WARNING_CHROMEOS_DIAGNOSTICS" desc="Permission string for chrome.os.diagnostcs API.">
Run ThoriumOS diagnostic tests
</message>
<message name="IDS_EXTENSION_PROMPT_WARNING_CHROMEOS_EVENTS" desc="Permission string for chrome.os.events API.">
Subscribe to ThoriumOS system events
</message>
<message name="IDS_EXTENSION_PROMPT_WARNING_CHROMEOS_TELEMETRY" desc="Permission string for chrome.os.telemetry API.">
Read ThoriumOS device information and device data
</message>
@ -5820,6 +5865,12 @@ Keep your key file in a safe place. You will need it to create new versions of y
</message>
<message name="IDS_EXTENSIONS_MENU_REQUESTS_ACCESS_SECTION_TITLE" desc="Title of the requests access section that lists the extensions requesting site access">
Requests access
</message>
<message name="IDS_EXTENSIONS_MENU_EXTENSION_SITE_ACCESS_TOGGLE_ON_TOOLTIP" desc="Tooltip text for the site access toggle of an extensions menu item when is on.">
Allowed to request access
</message>
<message name="IDS_EXTENSIONS_MENU_EXTENSION_SITE_ACCESS_TOGGLE_OFF_TOOLTIP" desc="Tooltip text for the site access toggle of an extensions menu item when is off.">
Not allowed to request access
</message>
<message name="IDS_EXTENSIONS_MENU_SITE_PERMISSIONS_PAGE_SETTINGS_BUTTON" desc="Text of the extension settings button in the site permissions page">
Manage this extension
@ -5833,6 +5884,27 @@ Keep your key file in a safe place. You will need it to create new versions of y
<message name="IDS_EXTENSIONS_MENU_SITE_PERMISSIONS_PAGE_SHOW_REQUESTS_TOGGLE_OFF" desc="Accessible text for the the show requests toggle button in the site permissions page that controls when the extension cannot show site access requests in the toolbar.">
Not allowed to show requests
</message>
<message name="IDS_EXTENSIONS_MENU_SITE_PERMISSIONS_PAGE_SITE_ACCESS_LABEL" desc="Label for the site access section that lets the user select the extension site access.">
Site Permissions
</message>
<message name="IDS_EXTENSIONS_MENU_SITE_PERMISSIONS_PAGE_SITE_ACCESS_ON_CLICK_TEXT" desc="Text of the option in the site access section to allow the extension access to the page only when the user clicks on the extension action.">
Ask on every visit
</message>
<message name="IDS_EXTENSIONS_MENU_SITE_PERMISSIONS_PAGE_SITE_ACCESS_ON_SITE_TEXT" desc="Text of the option in the site access section to always allow the extension access to $1.">
Always on <ph name="SITE_NAME">$1<ex>google.com</ex></ph>
</message>
<message name="IDS_EXTENSIONS_MENU_SITE_PERMISSIONS_PAGE_SITE_ACCESS_ON_ALL_SITES_TEXT" desc="Text of the option in the site access section to always allow the extension access to all sites.">
Always on all sites
</message>
<message name="IDS_EXTENSIONS_MENU_SITE_PERMISSIONS_PAGE_SITE_ACCESS_ON_CLICK_DESCRIPTION" desc="Description of the option in the site access section to allow the extension access to the page only when the user clicks on the extension action.">
Runs only after you click the extension
</message>
<message name="IDS_EXTENSIONS_MENU_SITE_PERMISSIONS_PAGE_SITE_ACCESS_ON_SITE_DESCRIPTION" desc="Description of the option in the site access section to always allow the extension access to $1.">
Runs automatically every time you visit this site
</message>
<message name="IDS_EXTENSIONS_MENU_SITE_PERMISSIONS_PAGE_SITE_ACCESS_ON_ALL_SITES_DESCRIPTION" desc="Description of the option in the site access section to always allow the extension access to all sites.">
Runs automatically on all sites you visit
</message>
<!-- Settings API bubble -->
<message name="IDS_EXTENSIONS_SETTINGS_API_TITLE_HOME_PAGE_BUBBLE" desc="Title of a bubble warning users that an extension has overridden their home page setting">
@ -5951,18 +6023,10 @@ Keep your key file in a safe place. You will need it to create new versions of y
Open in window
</message>
<message name="IDS_ACCNAME_APP_HOME_OPEN_IN_WINDOW_CHECKBOX" desc="Accessibility label for the Open in window checkbox for App Home">
Enable opening app in window
</message>
<message name="IDS_APP_HOME_LAUNCH_AT_STARTUP" desc="Label of menu entry for toggling an app to run on startup from App Home context menu">
Launch at startup
</message>
<message name="IDS_ACCNAME_APP_HOME_LAUNCH_AT_STARTUP_CHECKBOX" desc="Accessibility label for the Launch at startup checkbox for App Home">
Enable launching app at startup
</message>
<message name="IDS_APP_HOME_CREATE_SHORTCUT" desc="Menu entry label for creating a shortcut for an app from context menu on App Home">
Create shortcut
</message>
@ -7097,6 +7161,18 @@ Keep your key file in a safe place. You will need it to create new versions of y
<message name="IDS_NTP_MODULES_CART_LOWER_YOUR" desc="Name of the chrome cart module in lowercase shown in various UIs.">
your carts
</message>
<message name="IDS_NTP_MODULES_QUEST_CART_ANNOTATION" desc="Annotation that shows in the ThoriumCart tile in Quest module to let users know that this tile is from pending items in their shopping cart.">
In your cart
</message>
<message name="IDS_NTP_MODULES_QUEST_CART_TILE_LABEL_PLURAL" desc="Label of the ThoriumCart tile in Quest module containing information of the tile that will be announced in accessibility mode. This is used when there is more than one product in cart.">
<ph name="PRODUCT_ITEM_COUNT">$1<ex>2</ex></ph> items in your cart <ph name="DISCOUNT_TEXT">$2<ex>15% off</ex></ph> from <ph name="MERCHANT_NAME">$3<ex>Amazon</ex></ph>, <ph name="MERCHANT_DOMAIN">$4<ex>amazon.com</ex></ph>, viewed <ph name="RELATIVE_TIME">$5<ex>3 days ago</ex></ph>
</message>
<message name="IDS_NTP_MODULES_QUEST_CART_TILE_LABEL_SINGULAR" desc="Label of the ThoriumCart tile in Quest module containing information of the tile that will be announced in accessibility mode. This is used when there is only one product in cart.">
1 item in your cart <ph name="DISCOUNT_TEXT">$1<ex>15% off</ex></ph> from <ph name="MERCHANT_NAME">$2<ex>Amazon</ex></ph>, <ph name="MERCHANT_DOMAIN">$3<ex>amazon.com</ex></ph>, viewed <ph name="RELATIVE_TIME">$4<ex>3 days ago</ex></ph>
</message>
<message name="IDS_NTP_MODULES_QUEST_CART_TILE_LABEL_DEFAULT" desc="Label of the ThoriumCart tile in Quest module containing information of the tile that will be announced in accessibility mode. This is used when we don't know the product count in cart.">
Items in your cart <ph name="DISCOUNT_TEXT">$1<ex>15% off</ex></ph> from <ph name="MERCHANT_NAME">$2<ex>Amazon</ex></ph>, <ph name="MERCHANT_DOMAIN">$3<ex>amazon.com</ex></ph>, viewed <ph name="RELATIVE_TIME">$4<ex>3 days ago</ex></ph>
</message>
<message name="IDS_NTP_MODULES_CART_INFO" desc="Text shown in the body of the info dialog of the cart module.">
Youre seeing carts that help you easily get back to items you left in shopping carts across the web.
<ph name="BREAK">&lt;br&gt;</ph>
@ -7455,6 +7531,30 @@ Keep your key file in a safe place. You will need it to create new versions of y
Delete
</message>
<!-- Reading List submenu in App Menu -->
<if expr="not use_titlecase">
<message name="IDS_READING_LIST_MENU" desc="The title of the Reading List submenu in the App Menu">
&amp;Reading list
</message>
<message name="IDS_READING_LIST_MENU_ADD_TAB" desc="">
Add tab to reading list
</message>
<message name="IDS_READING_LIST_MENU_SHOW_UI">
Show reading list
</message>
</if>
<if expr="use_titlecase">
<message name="IDS_READING_LIST_MENU" desc="The title of the Reading List submenu in the App Menu">
&amp;Reading List
</message>
<message name="IDS_READING_LIST_MENU_ADD_TAB" desc="">
Add Tab to Reading List
</message>
<message name="IDS_READING_LIST_MENU_SHOW_UI">
Show Reading List
</message>
</if>
<!-- Side panel strings -->
<message name="IDS_ACCNAME_SIDE_PANEL_RESIZE" is_accessibility_with_no_ui="true" desc="Screen reader announcement when the side panel resize handle is focused.">
Side Panel Resize Handle
@ -7462,12 +7562,18 @@ Keep your key file in a safe place. You will need it to create new versions of y
<message name="IDS_ACCNAME_SIDE_PANEL_SELECTOR" is_accessibility_with_no_ui="true" desc="Screen reader announcement when the side panel header combobox is focused.">
Side Panel Selector
</message>
<message name="IDS_SIDE_PANEL_COMPANION_TITLE" desc="The name of the companion feature in the side panel combo box.">
Google
</message>
<message name="IDS_SIDE_PANEL_CUSTOMIZE_CHROME_TITLE" desc="The name of the Customize Thorium feature in the side panel combo box.">
Customize Thorium
</message>
<message name="IDS_SIDE_PANEL_TOOLBAR_BUTTON_CXMENU_UNPIN" desc="The label of the context menu item for unpinning a side panel toolbar button.">
Unpin
</message>
<message name="IDS_SIDE_PANEL_TOOLBAR_BUTTON_CXMENU_UNPIN" desc="The label of the context menu item for unpinning a side panel toolbar button.">
Unpin
</message>
<message name="IDS_SIDE_PANEL_TOOLBAR_BUTTON_CXMENU_PIN" desc="The label of the context menu item for pinning a side panel toolbar button.">
Pin
</message>
<!-- Bookmarks strings -->
<message name="IDS_BOOKMARKS_SORT_BY_TYPE" desc="Menu item label for selecting the bookmarks sort type.">
@ -7482,15 +7588,27 @@ Keep your key file in a safe place. You will need it to create new versions of y
<message name="IDS_BOOKMARKS_SORT_NEWEST" desc="Label for the newest-first bookmarks sort type">
Newest
</message>
<message name="IDS_BOOKMARKS_SORT_NEWEST_LOWER" desc="Lowercase label for the newest-first bookmarks sort type">
newest
</message>
<message name="IDS_BOOKMARKS_SORT_OLDEST" desc="Label for the oldest-first bookmarks sort type">
Oldest
</message>
<message name="IDS_BOOKMARKS_SORT_OLDEST_LOWER" desc="Lowercase label for the oldest-first bookmarks sort type">
oldest
</message>
<message name="IDS_BOOKMARKS_SORT_ALPHABETICALLY" desc="Label for the alphabetical bookmarks sort type">
A to Z
</message>
<message name="IDS_BOOKMARKS_SORT_REVERSE_ALPHABETICALLY" desc="Label for the reverse alphabetical bookmarks sort type">
Z to A
</message>
<message name="IDS_BOOKMARKS_SORT_LAST_OPENED" desc="Label for the last opened bookmarks sort type">
Last opened
</message>
<message name="IDS_BOOKMARKS_SORT_LAST_OPENED_LOWER" desc="Lowercase label for the last opened bookmarks sort type">
last opened
</message>
<message name="IDS_BOOKMARKS_VISUAL_VIEW" desc="Label for the visual view bookmarks menu option">
Visual view
</message>
@ -7503,6 +7621,9 @@ Keep your key file in a safe place. You will need it to create new versions of y
<message name="IDS_BOOKMARKS_CREATE_NEW_FOLDER_A11Y_LABEL" is_accessibility_with_no_ui="true" desc="Screen reader label for the button which creates a new folder in the bookmarks side panel.">
Create New Folder
</message>
<message name="IDS_BOOKMARKS_NEW_FOLDER_TOOLTIP" desc="Tooltip for the button which creates a new folder in the bookmarks side panel.">
New folder
</message>
<message name="IDS_BOOKMARKS_EDIT_BOOKMARK_LIST_A11Y_LABEL" is_accessibility_with_no_ui="true" desc="Screen reader label for the button which toggles the bulk edit state in the bookmarks side panel.">
Edit Bookmark List
</message>
@ -7518,6 +7639,12 @@ Keep your key file in a safe place. You will need it to create new versions of y
<message name="IDS_BOOKMARKS_EMPTY_STATE_BODY_GUEST" desc="Body text for the bookmarks side panel empty state in guest mode">
Bookmarks are unavailable in guest mode
</message>
<message name="IDS_BOOKMARKS_EMPTY_STATE_TITLE_SEARCH" desc="Title for the bookmarks side panel empty state in search mode">
No results found
</message>
<message name="IDS_BOOKMARKS_EMPTY_STATE_BODY_SEARCH" desc="Body text for the bookmarks side panel empty state in search mode">
There are no bookmarks that match your search.
</message>
<message name="IDS_BOOKMARK_FOLDER_CHILD_COUNT" desc="Text description for the number of children of a bookmark folder">
{NUM_BOOKMARKS, plural, =1 {1 bookmark} other {# bookmarks}}
</message>
@ -7525,7 +7652,7 @@ Keep your key file in a safe place. You will need it to create new versions of y
Edit Bookmark
</message>
<message name="IDS_BOOKMARKS_EDIT_MOVE_TO_ANOTHER_FOLDER" desc="Tooltip for the button in the bookmarks side panel bulk edit mode that allows the user to move the selected bookmarks to a different folder.">
Move to another folder
Move
</message>
<message name="IDS_BOOKMARKS_EDIT_MORE" desc="Tooltip for the menu button in the bookmarks side panel bulk edit mode that shows more actions the user can take on selected bookmarks.">
More
@ -7575,6 +7702,9 @@ Keep your key file in a safe place. You will need it to create new versions of y
<message name="IDS_BOOKMARKS_BACK_BUTTON_LABEL" is_accessibility_with_no_ui="true" desc="Accessible label for the bookmarks side panel folder header back button">
Back to <ph name="FOLDER_TITLE">$1<ex>All Bookmarks</ex></ph>
</message>
<message name="IDS_BOOKMARKS_BACK_BUTTON_TOOLTIP" desc="Tooltip for the bookmarks side panel folder header back button">
Back
</message>
<message name="IDS_BOOKMARKS_FORWARD_BUTTON_LABEL" is_accessibility_with_no_ui="true" desc="Accessible label for the bookmarks side panel edit dialog button to view a folder's children">
<ph name="FOLDER_TITLE">$1<ex>All Bookmarks</ex></ph> folder
</message>
@ -7922,17 +8052,11 @@ Keep your key file in a safe place. You will need it to create new versions of y
<message name="IDS_INTENT_PICKER_SELECT_AN_APP_SUBTITLE" desc="The subtitle of a dialog containing a list of installed applications. The dialog allows the user to select an app to open a web link.">
Select an app on your <ph name="DEVICE_TYPE">$1<ex>Thoriumbook</ex></ph> to open this link
</message>
<message name="IDS_INTENT_CHIP_IPH_CHROME_OS" desc="The text for the In-Product Help bubble for the Intent Chip on ThoriumOS devices.">
Open websites in apps installed on your <ph name="DEVICE_TYPE">$1<ex>Thoriumbook</ex></ph>
</message>
</then>
<else>
<message name="IDS_INTENT_PICKER_SELECT_AN_APP_GENERIC_SUBTITLE" desc="The subtitle of a dialog containing a list of installed applications. The dialog allows the user to select an app to open a web link.">
Select an app on your device to open this link
</message>
<message name="IDS_INTENT_CHIP_IPH_GENERIC" desc="The text for the In-Product Help bubble for the Intent Chip.">
Open websites in apps installed on your device
</message>
</else>
</if>
</if>
@ -8080,6 +8204,12 @@ Keep your key file in a safe place. You will need it to create new versions of y
</message>
<!-- Feature Engagement Tracker strings -->
<message name="IDS_BACK_NAVIGATION_MENU_PROMO" desc="Text shown on the In-Product Help bubble for the back navigation menu.">
To go back more than 1 page, click and hold Back.
</message>
<message name="IDS_BACK_NAVIGATION_MENU_PROMO_ACCESSIBLE_TEXT" is_accessibility_with_no_ui="true" desc="Accessible text shown on the In-Product Help bubble for the back navigation menu.">
To go back more than 1 page, click and hold the Back button.
</message>
<message name="IDS_BOOKMARK_PROMO_0" desc="Text shown on promotional UI appearing next to the Bookmarks button, which encourages users to use it.">
Bookmark this page to easily find it later
</message>
@ -8178,12 +8308,6 @@ Keep your key file in a safe place. You will need it to create new versions of y
<message name="IDS_BATTERY_SAVER_MODE_PROMO_ACTION_TEXT" desc="The custom action button text for the battery saver mode in-product promo bubble.">
Settings
</message>
<message name="IDS_HIGH_EFFICIENCY_INFO_MODE_PROMO_TEXT" desc="The text shown for the high efficiency info mode in-product promo bubble.">
While this tab was inactive, Memory Saver freed up memory for other tasks. You can change this anytime in settings.
</message>
<message name="IDS_HIGH_EFFICIENCY_INFO_MODE_PROMO_ACTION_TEXT" desc="The custom action button text for the high efficiency info mode in-product promo bubble.">
Settings
</message>
<if expr="use_titlecase">
<message name="IDS_HIGH_EFFICIENCY_MODE_PROMO_TEXT" desc="The text shown for the high efficiency mode in-product promo bubble">
Memory Saver frees up memory from inactive tabs so it can be used by active tabs and other apps.
@ -8501,9 +8625,6 @@ Check your passwords anytime in <ph name="GOOGLE_PASSWORD_MANAGER">$1<ex>Google
<message name="IDS_PASSWORD_MANAGER_UNSYNCED_CREDENTIALS_BUBBLE_DESCRIPTION_GPM" desc="The description text of the 'save unsynced credentials' bubble.">
Google Password Manager couldn't save these passwords in your Google Account. You can save them to this device.
</message>
<message name="IDS_PASSWORD_MANAGER_IPH_BODY_WEB_APP_PROFILE_SWITCH" desc="Body of the in Product Help for profile switching shown in the password manager web app.">
You can choose the profile that you want to see the passwords from
</message>
<if expr="not use_titlecase">
<message name="IDS_PASSWORD_MANAGER_SAVE_UNSYNCED_CREDENTIALS_BUTTON_GPM" desc="Button text for the 'save unsynced credentials' bubble's save option.">
@ -8737,6 +8858,8 @@ Check your passwords anytime in <ph name="GOOGLE_PASSWORD_MANAGER">$1<ex>Google
</message>
<message name="IDS_FEEDBACK_INCLUDE_AUTOFILL_METADATA_CHECKBOX" desc="Checkbox for including autofill metadata on the bug report dialog box">
Send <ph name="BEGIN_LINK1">&lt;a href="#" id="autofill-metadata-url"&gt;</ph>autofill metadata<ph name="END_LINK1">&lt;/a&gt;</ph>
<ph name="LINE_BREAK">&lt;br&gt;</ph>
(your autofill data won't be shared)
</message>
<message name="IDS_FEEDBACK_IWLWIFI_DEBUG_DUMP_EXPLAINER" desc="Displayed in the system information dialog instead of the actual contents of Intel WiFi debug logs, which are too large to display and too obscure and proprietary for users to understand.">
&lt;Four files generated by Intel Wi-Fi firmware: csr.lst, fh_regs.lst, radio_reg.lst, monitor.lst.sysmon. The first three are binary files containing register dumps, and are asserted by Intel to contain no personal or device-identifying information. The last file is an execution trace from the Intel firmware; it has been scrubbed of any personal or device-identifying information, but is too large to display here. These files were generated in response to recent Wi-Fi problems with your device, and will be shared with Intel to help troubleshoot these problems.&gt;
@ -9387,6 +9510,17 @@ Check your passwords anytime in <ph name="GOOGLE_PASSWORD_MANAGER">$1<ex>Google
<message name="IDS_APP_MENU_BUTTON_UPDATE" desc="Short label next to app-menu button when an update is available.">
Update
</message>
<if expr="is_win or is_macosx or is_linux">
<message name="IDS_APP_MENU_BUTTON_UPDATE_ALT1" desc="Alternate short label next to app-menu button when an update is available.">
Finish update
</message>
<message name="IDS_APP_MENU_BUTTON_UPDATE_ALT2" desc="Alternate short label next to app-menu button when an update is available.">
Relaunch to update
</message>
<message name="IDS_APP_MENU_BUTTON_UPDATE_ALT3" desc="Alternate short label next to app-menu button when an update is available.">
New Thorium available
</message>
</if>
<message name="IDS_APP_MENU_BUTTON_ERROR" desc="Short label next to app-menu button when the user needs to resolve something.">
Error
</message>
@ -11967,10 +12101,10 @@ Please help our engineers fix this problem. Tell us what happened right before y
<message name="IDS_GEOLOCATION_TURNED_OFF_IN_MACOS_SETTINGS" desc="Title for the geolocation bubble that is used when a site requests geolocation, but geolocation is blocked on an OS level in macOS.">
Turn on "Google Thorium" in Location Services on your Mac
</message>
<message name="IDS_GEOLOCATION_TURNED_OFF" desc="Description text in the omnibox icon showing when location permission is blocked on an OS level in macOS.">
</if>
<message name="IDS_GEOLOCATION_TURNED_OFF" desc="Description text in the omnibox icon showing when location permission is blocked on an OS level.">
Location turned off
</message>
</if>
<!-- Web MIDI messages -->
<message name="IDS_ALLOWED_MIDI_SYSEX_TITLE" desc="Title of the info bubble shown when a site is allowed to use MIDI system exclusive messages.">
@ -12503,6 +12637,9 @@ Please help our engineers fix this problem. Tell us what happened right before y
<message name="IDS_DESKTOP_MEDIA_PICKER_TITLE" desc="Title for the window picker dialog shown when desktop capture is requested by an app.">
Choose what to share
</message>
<message name="IDS_DISPLAY_MEDIA_PICKER_TITLE" desc="Title for the window picker dialog shown when a getDisplayMedia capture is requested by an app.">
Choose what to share with <ph name="APP_NAME">$1</ph>
</message>
<message name="IDS_DESKTOP_MEDIA_PICKER_TITLE_SCREEN_ONLY" desc="Title for the window picker dialog shown when desktop capture of the entire screen is requested by an app.">
Share your entire screen
</message>
@ -12512,6 +12649,9 @@ Please help our engineers fix this problem. Tell us what happened right before y
<message name="IDS_DESKTOP_MEDIA_PICKER_TEXT" desc="Text for the window picker dialog shown when desktop capture is requested by an app to be used by the app itself.">
<ph name="APP_NAME">$1<ex>Google Hangouts</ex></ph> wants to share the contents of your screen.
</message>
<message name="IDS_DISPLAY_MEDIA_PICKER_TEXT" desc="Text for the window picker dialog shown when a getDisplayMedia capture is requested by an app to be used by the app itself.">
The site will be able to see the contents of your screen
</message>
<message name="IDS_DESKTOP_MEDIA_PICKER_TEXT_DELEGATED" desc="Text for the window picker dialog shown when desktop capture is requested by an app to be used by a tab.">
<ph name="APP_NAME">$1<ex>Google Hangouts</ex></ph> wants to share the contents of your screen with <ph name="TARGET_NAME">$2<ex>https://google.com</ex></ph>.
</message>
@ -12876,19 +13016,31 @@ Please help our engineers fix this problem. Tell us what happened right before y
</message>
<if expr="not is_android">
<!-- WebHID Notification -->
<message name="IDS_WEBHID_DEVICE_CONNECTED_BY_EXTENSION_NOTIFICATION_TITLE" desc="Notification title shown to the user when a HID device is being accessed by an extension.">
An extension is using a HID device
<!-- WebHID System Tray Icon -->
<message name="IDS_WEBHID_SYSTEM_TRAY_ICON_HID_SETTINGS" desc="Text for the WebHID system tray icon button that opens the HID settings page.">
HID settings
</message>
<message name="IDS_WEBHID_DEVICE_CONNECTED_BY_EXTENSION_NOTIFICATION_MESSAGE" desc="Notification content shown to the user when a HID device is being accessed by an extension.">
Click to manage permissions for "<ph name="EXTENSION">$1<ex>Google Translate</ex></ph>"
</message>
<message name="IDS_WEBHID_SYSTEM_TRAY_ICON_BUTTON_FOR_MANAGE_HID_DEVICE" desc="The text for WebHID system tray icon button for managing HID devices.">
Manage HID devices
</message>
<message name="IDS_WEBHID_SYSTEM_TRAY_ICON_BUTTON_FOR_MANAGE_HID_DEVICE_WITH_PROFILE_NAME" desc="The text with profile name for WebHID system tray icon button for managing HID devices.">
Manage HID devices for <ph name="PROFILE_NAME">$1<ex>Nina@gmail.com</ex></ph>
<message name="IDS_WEBHID_SYSTEM_TRAY_ICON_ABOUT_HID_DEVICE" desc="Text for the WebHID system tray icon button that opens the learn more page for the HID device.">
About HID devices
</message>
<if expr="is_chromeos">
<then>
<message name="IDS_WEBHID_SYSTEM_TRAY_ICON_EXTENSION_LIST" desc="Text for the WebHID pinned notification message.">
{NUM_EXTENSION, plural,
=1 {<ph name="EXTENSION1">{1}<ex>Google Translate</ex></ph> is accessing HID devices}
=2 {Extensions accessing devices: <ph name="EXTENSION1">{1}<ex>Google Translate</ex></ph>, <ph name="EXTENSION2">{2}<ex>Secure Shell</ex></ph>}
other {Extensions accessing devices: <ph name="EXTENSION1">{1}<ex>Google Translate</ex></ph>, <ph name="EXTENSION2">{2}<ex>Secure Shell</ex></ph> +{3} more}}
</message>
</then>
<else>
<message name="IDS_DEVICE_CONNECTED_BY_EXTENSION" desc="Text for the WebHID system tray icon button that displays how many active connections for the extension and opens the extension's site setting page.">
{NUM_CONNECTION, plural,
=0 {Extension "<ph name="EXTENSION">{1}<ex>Google Translate</ex></ph>" was accessing devices}
=1 {Extension "<ph name="EXTENSION">{1}<ex>Google Translate</ex></ph>" is accessing {0} device}
other {Extension "<ph name="EXTENSION">{1}<ex>Google Translate</ex></ph>" is accessing {0} devices}}
</message>
</else>
</if>
</if>
<if expr="chromeos_ash">
@ -12931,9 +13083,6 @@ Please help our engineers fix this problem. Tell us what happened right before y
<if expr="not is_android">
<!-- Device Chooser Prompt -->
<message name="IDS_BLUETOOTH_DEVICE_CHOOSER_PROMPT_EXTENSION_NAME" desc="The label that is used to introduce Bluetooth chooser details to the user in a popup when it is from a Thorium extension.">
"<ph name="CHROME_EXTENSION_NAME">$1<ex>Thorium Extension Name</ex></ph>" wants to pair
</message>
<message name="IDS_BLUETOOTH_DEVICE_CHOOSER_TURN_ADAPTER_OFF" desc="Text of a link the user can click to get help information when Bluetooth adapter is turned off.">
<ph name="TURN_ON_BLUETOOTH_LINK">$1<ex>Turn on Bluetooth</ex></ph> to allow pairing
</message>
@ -12962,9 +13111,6 @@ Please help our engineers fix this problem. Tell us what happened right before y
<ph name="DEVICE_NAME">$1<ex>device name</ex></ph> - Paired
</message>
</if>
<message name="IDS_USB_DEVICE_CHOOSER_PROMPT_EXTENSION_NAME" desc="The label that is used to introduce USB chooser details to the user in a popup when it is from a Thorium extension.">
"<ph name="CHROME_EXTENSION_NAME">$1<ex>Thorium Extension Name</ex></ph>" wants to connect
</message>
<message name="IDS_DEVICE_CHOOSER_ACCNAME_COMPATIBLE_DEVICES_LIST" desc="The accessible name for the list of compatible devices, read to screen reader users when navigating to the container.">
Compatible devices
</message>
@ -12996,12 +13142,9 @@ Please help our engineers fix this problem. Tell us what happened right before y
<!-- Serial port chooser -->
<if expr="not is_android">
<message name="IDS_SERIAL_PORT_CHOOSER_PROMPT_ORIGIN" desc="The label that is used to introduce serial port chooser details to the user in a popup when it is from a website.">
<message name="IDS_SERIAL_PORT_CHOOSER_PROMPT" desc="The label that is used to introduce serial port chooser details to the user in a popup.">
<ph name="Origin">$1<ex>www.google.com</ex></ph> wants to connect to a serial port
</message>
<message name="IDS_SERIAL_PORT_CHOOSER_PROMPT_EXTENSION_NAME" desc="The label that is used to introduce serial port chooser details to the user in a popup when it is from a Thorium extension.">
"<ph name="CHROME_EXTENSION_NAME">$1<ex>Thorium Extension Name</ex></ph>" wants to connect to a serial port
</message>
<message name="IDS_SERIAL_PORT_CHOOSER_NAME_WITH_PATH" desc="User option displaying a human-readable name for a serial port with the device path in parenthesis">
<ph name="FRIENDLY_NAME">$1<ex>Virtual COM Port</ex></ph> (<ph name="DEVICE_PATH">$2<ex>COM1</ex></ph>)
</message>
@ -13036,12 +13179,9 @@ Please help our engineers fix this problem. Tell us what happened right before y
<!-- HID (Human Interface Device) chooser -->
<if expr="not is_android">
<message name="IDS_HID_CHOOSER_PROMPT_ORIGIN" desc="The label that is used to introduce the Human Interface Device (HID) chooser details to the user in a popup when it is from a website.">
<message name="IDS_HID_CHOOSER_PROMPT" desc="The label that is used to introduce the Human Interface Device (HID) chooser details to the user in a popup.">
<ph name="Origin">$1<ex>www.google.com</ex></ph> wants to connect to a HID device
</message>
<message name="IDS_HID_CHOOSER_PROMPT_EXTENSION_NAME" desc="The label that is used to introduce Human Interface Device (HID) chooser details to the user in a popup when it is from a Thorium extension.">
"<ph name="CHROME_EXTENSION_NAME">$1<ex>Thorium Extension Name</ex></ph>" wants to connect to a HID device
</message>
<message name="IDS_HID_CHOOSER_ITEM_WITHOUT_NAME" desc="User option displaying the device IDs for a Human Interface Device (HID) without a device name.">
Unknown Device (<ph name="DEVICE_ID">$1<ex>1234:abcd</ex></ph>)
</message>
@ -14105,6 +14245,9 @@ Please help our engineers fix this problem. Tell us what happened right before y
<message name="IDS_TAILORED_SECURITY_UNCONSENTED_MODAL_TITLE" desc="Title shown in the tab modal dialog when the account tailored security setting changes for an unconsented primary account">
Also turn on Enhanced Safe Browsing for this Thorium profile?
</message>
<message name="IDS_TAILORED_SECURITY_UNCONSENTED_MODAL_BODY" desc="Body shown in the tab modal dialog when the account tailored security setting changes for an unconsented primary account">
Thorium&#x2019;s strongest security does more to protect you against dangerous websites, downloads, and extensions
</message>
<message name="IDS_TAILORED_SECURITY_UNCONSENTED_ACCEPT_BUTTON" desc="The text on the accept button in the tab modal dialog when the account tailored security setting changes for an unconsented primary account">
Turn on
</message>
@ -14119,12 +14262,18 @@ Please help our engineers fix this problem. Tell us what happened right before y
<message name="IDS_TAILORED_SECURITY_CONSENTED_ENABLE_MESSAGE_DESCRIPTION" desc="Description shown in the Android message when the account tailored security setting changes for a consented primary account">
You&#x2019;re on Thorium&#x2019;s strongest security
</message>
<message name="IDS_TAILORED_SECURITY_CONSENTED_ENABLE_MESSAGE_DESCRIPTION_UPDATED" desc="Description shown in the Android message when the account tailored security setting changes for a consented primary account">
You have Thorium&#x2019;s strongest security against harmful websites
</message>
<message name="IDS_TAILORED_SECURITY_CONSENTED_DISABLE_MESSAGE_TITLE" desc="Title shown in the Android message when the account tailored security setting changes for a consented primary account">
Enhanced Safe Browsing is off
</message>
<message name="IDS_TAILORED_SECURITY_CONSENTED_DISABLE_MESSAGE_DESCRIPTION" desc="Description shown in the Android message when the account tailored security setting changes for a consented primary account">
You&#x2019;re getting standard protection
</message>
<message name="IDS_TAILORED_SECURITY_CONSENTED_DISABLE_MESSAGE_DESCRIPTION_UPDATED" desc="Description shown in the Android message when the account tailored security setting changes for a consented primary account">
You&#x2019;re getting standard security protection for this Thorium profile
</message>
<message name="IDS_TAILORED_SECURITY_CONSENTED_MESSAGE_OK_BUTTON" desc="The text on the ok button in the Android message when the account tailored security setting changes for a consented primary account">
OK
</message>
@ -14348,6 +14497,9 @@ Please help our engineers fix this problem. Tell us what happened right before y
<message name="IDS_TAILORED_SECURITY_UNCONSENTED_PROMOTION_NOTIFICATION_DESCRIPTION" desc="Description of notification prompting the user to enable Enhanced Safe Browsing after they have enabled account-level protections.">
Enhanced protection does more to block phishing and malware
</message>
<message name="IDS_TAILORED_SECURITY_UNCONSENTED_PROMOTION_NOTIFICATION_DESCRIPTION_UPDATED" desc="Description of notification prompting the user to enable Enhanced Safe Browsing after they have enabled account-level protections.">
Enhanced Safe Browsing does more to protect you against dangerous websites, downloads, and extensions
</message>
<if expr="use_titlecase">
<message name="IDS_TAILORED_SECURITY_UNCONSENTED_PROMOTION_NOTIFICATION_ACCEPT" desc="Accept button on notification prompting the user to enable Enhanced Safe Browsing after they have enabled account-level protections.">
Continue
@ -14390,9 +14542,12 @@ Please help our engineers fix this problem. Tell us what happened right before y
<message name="IDS_ACCOUNT_SELECTION_DATA_SHARING_CONSENT" desc="The consent text shown to the user before sign up.">
To continue, <ph name="IDENTITY_PROVIDER_ETLD_PLUS_ONE">$1<ex>idp.com</ex></ph> will share your name, email address, and profile picture with this site. See this site's <ph name="BEGIN_LINK1">$2</ph>privacy policy<ph name="END_LINK1">$3</ph> and <ph name="BEGIN_LINK2">$4</ph>terms of service<ph name="END_LINK2">$5</ph>.
</message>
<message name="IDS_FAILURE_DIALOG_TITLE" desc="Header for failure dialog." translateable="false">
<message name="IDS_IDP_SIGNIN_STATUS_FAILURE_DIALOG_TITLE" desc="Header for failure dialog which is shown to the user when their sign in status is signed in but they are not signed in to any account." translateable="false">
Failed signing in to <ph name="SITE_ETLD_PLUS_ONE">$1<ex>rp.example</ex></ph> with <ph name="IDENTITY_PROVIDER_ETLD_PLUS_ONE">$2<ex>idp.example</ex></ph>
</message>
<message name="IDS_IDP_SIGNIN_STATUS_FAILURE_DIALOG_CONTINUE" desc="Title of the button that allows the user to continue with signing in to an account from an identity provider." translateable="false">
Continue
</message>
<message name="IDS_MULTI_IDP_ACCOUNT_SELECTION_SHEET_TITLE_EXPLICIT" desc="Header for sign in sheet when there are multiple identity providers. Sheet is shown to prompt user for sign in consent." translateable="false">
Sign in to <ph name="SITE_ETLD_PLUS_ONE">$1<ex>rp.example</ex></ph>
</message>
@ -14606,6 +14761,16 @@ Please help our engineers fix this problem. Tell us what happened right before y
<message name="IDS_HIGH_EFFICIENCY_CHIP_ACCNAME" desc="Tooltip text for a page action chip that highlights that the Memory Saver setting is enabled">
Tab active again
</message>
<if expr="use_titlecase">
<message name="IDS_HIGH_EFFICIENCY_CHIP_SAVINGS_LABEL" desc="In Title Case: Label for a page action chip that highlights the savings from Memory Saver mode">
<ph name="MEMORY_SAVINGS">$1<ex>300 MB</ex></ph> Saved
</message>
</if>
<if expr="not use_titlecase">
<message name="IDS_HIGH_EFFICIENCY_CHIP_SAVINGS_LABEL" desc="Label for a page action chip that highlights the savings from Memory Saver mode">
<ph name="MEMORY_SAVINGS">$1<ex>300 MB</ex></ph> saved
</message>
</if>
<message name="IDS_HIGH_EFFICIENCY_DIALOG_BODY" desc="Body text for a dialog describing that Memory Saver mode will use less memory from inactive tabs and that this is a setting the user can control.">
While this tab was inactive, Memory Saver freed up memory for other tasks. You can change this anytime in <ph name="SETTINGS_LINK">$1<ex>Settings</ex></ph>.
</message>

View file

@ -12,12 +12,6 @@
<message name="IDS_SETTINGS_ABOUT_PROGRAM" desc="Menu title for the About Thorium page.">
About Thorium
</message>
<message name="IDS_SETTINGS_GET_THE_MOST_OUT_OF_PROGRAM" desc="Section title for the 'Get the most out of Thorium' page.">
Get the most ouf of Thorium
</message>
<message name="IDS_SETTINGS_GET_THE_MOST_OUT_OF_PROGRAM_DESCRIPTION" desc="Explanatory text for the link to the 'Get the most out of Thorium' page.">
This guide helps you understand your choices, so that Thorium works the way you want to
</message>
<message name="IDS_SETTINGS_GET_HELP_USING_CHROME" desc="Text of the button which takes the user to the Thorium help page.">
Get help with Thorium
</message>

View file

@ -51,6 +51,24 @@
<message name="IDS_SETTINGS_ABOUT_PAGE_SEND_FEEDBACK" desc="Text of the button which allows the user to send feedback with Thorium.">
Send feedback
</message>
<message name="IDS_SETTINGS_GET_THE_MOST_OUT_OF_CHROME" desc="Section title for the 'Get the most out of Thorium' page.">
Get the most ouf of Thorium
</message>
<message name="IDS_SETTINGS_GET_THE_MOST_OUT_OF_CHROME_DESCRIPTION" desc="Explanatory text for the link to the 'Get the most out of Thorium' page.">
This guide helps you understand your choices, so that Thorium works the way you want to
</message>
<message name="IDS_SETTINGS_GET_THE_MOST_OUT_OF_CHROME_INTRO" desc="Introduction to the 'Get the most out of Thorium' page.">
This guide helps you understand important choices you have as you use Thorium. And it helps you make those choices, so that Thorium works the way you want it to.
</message>
<message name="IDS_SETTINGS_GET_THE_MOST_OUT_OF_CHROME_MORE_THAN_A_BROWSER" desc="Title of the 'More than a browser' section of the 'Get the most out of Thorium' page.">
More than a browser
</message>
<message name="IDS_SETTINGS_GET_THE_MOST_OUT_OF_CHROME_YOUR_DATA_IN_CHROME" desc="Title of the 'Your data in Thorium' section of the 'Get the most out of Thorium' page.">
Your data in Thorium
</message>
<message name="IDS_SETTINGS_GET_THE_MOST_OUT_OF_CHROME_BEYOND_COOKIES" desc="Title of the 'Beyond cookies' section of the 'Get the most out of Thorium' page.">
Beyond cookies
</message>
</if>
<if expr="is_macosx">
<message name="IDS_ABOUT_CHROME_AUTOUPDATE_ALL" desc="The 'Automatically update Thorium for all users.' button in the About window. Mac-only.">
@ -83,6 +101,18 @@
<message name="IDS_SETTINGS_ACCESSIBLE_IMAGE_LABELS_SUBTITLE" desc="Subtitle for screen reader image labels feature.">
If an image doesnt have a useful description, Thorium will try to provide one for you. To create descriptions, images are sent to Google.
</message>
<message name="IDS_SETTINGS_PDF_OCR_DOWNLOAD_COMPLETE" desc="Success message when it has downloaded PDF OCR files.">
Text recognition files downloaded
</message>
<message name="IDS_SETTINGS_PDF_OCR_DOWNLOAD_ERROR" desc="Generic error message when it fails to download PDF OCR files.">
Can't download text recognition files. Try again later.
</message>
<message name="IDS_SETTINGS_PDF_OCR_DOWNLOAD_PROGRESS" desc="Download progress indicator after PDF OCR is enabled. The user needs to download certain files for the feature to work.">
Downloading text recognition files… <ph name="PERCENT">$1<ex>17</ex></ph>%
</message>
<message name="IDS_SETTINGS_PDF_OCR_DOWNLOADING" desc="Generic message when it has started downloading PDF OCR files.">
Downloading text recognition files
</message>
<message name="IDS_SETTINGS_PDF_OCR_TITLE" desc="Description for screen reader pdf ocr feature.">
Convert images to text
</message>
@ -92,6 +122,12 @@
<message name="IDS_SETTINGS_CAPTIONS_ENABLE_LIVE_CAPTION_TITLE" desc="Name of the setting to enable Live Caption feature.">
Live Caption
</message>
<message name="IDS_SETTINGS_CAPTIONS_ENABLE_LIVE_TRANSLATE_TITLE" desc="Name of the setting to enable Live Translate feature.">
Live Translate
</message>
<message name="IDS_SETTINGS_CAPTIONS_ENABLE_LIVE_TRANSLATE_SUBTITLE" desc="Description text for Live Translate feature.">
Automatically translate captions to a target language.
</message>
<if expr="chromeos_ash">
<message name="IDS_SETTINGS_CAPTIONS_ENABLE_LIVE_CAPTION_SUBTITLE_ENGLISH_ONLY" desc="Description text for Live Caption feature. When audio or video is playing, the user will see captions on the screen. Only works in Thorium browser initially. Currently only works for English media.">
Automatically creates captions for media in Thorium browser (currently available in English). Audio and captions are processed locally and never leave the device.
@ -322,8 +358,11 @@
<message name="IDS_PASSWORDS_PAGE_EXPORT_AUTHENTICATION_PROMPT_BIOMETRIC_SUFFIX" desc="Shown after 'Google Thorium is trying to ' (or in some languages, 'Google Thorium wants to ') in a dialog message. Text for the dialog box that prompts the user for the biometric authentication before exporting passwords to a file.">
export passwords
</message>
<message name="IDS_SETTINGS_AUTOFILL" desc="Name of the settings page which allows managing passwords, payment methods and addresses settings.">
Autofill
<message name="IDS_SETTINGS_AUTOFILL_AND_PASSWORDS" desc="Name of the settings page which allows managing passwords, payment methods and addresses settings.">
Autofill and passwords
</message>
<message name="IDS_PASSWORDS_PAGE_IMPORT_AUTHENTICATION_PROMPT_BIOMETRIC_SUFFIX" desc="Shown after 'Google Thorium is trying to ' (or in some languages, 'Google Thorium wants to ') in a dialog message. Text for the dialog box that prompts the user for the biometric authentication before replacing passwords during Import.">
replace existing passwords
</message>
<message name="IDS_SETTINGS_GOOGLE_PAYMENTS" desc="Label used to differentiate when an address or credit card entry comes from Google Pay. This should follow the casing of the 'Google Pay' brand. 'Google Pay' should not be translated as it is the product name.">
Google Pay
@ -370,9 +409,6 @@
<message name="IDS_AUTOFILL_EDIT_SERVER_CREDIT_CARD" desc="The text shown in the secondary action menu button to direct users to pay.google.com to edit the information of credit cards stored in Google Payments.">
Edit in Google Pay
</message>
<message name="IDS_AUTOFILL_VIRTUAL_CARD_AVAILABLE_LABEL" desc="The text shown next to the card summary to indicate that a virtual card is available for enrollment for the credit card. Virtual cards are credit cards generated from the actual cards and provide extra security.">
Virtual card available
</message>
<message name="IDS_AUTOFILL_VIRTUAL_CARD_ENABLED_LABEL" desc="The text shown next to the card summary to indicate that a virtual card has been generated for the credit card and is enabled. Virtual cards are credit cards generated from the actual cards and provide extra security.">
(Virtual card enabled)
</message>
@ -1459,6 +1495,9 @@
<message name="IDS_SETTINGS_OPEN_FILE_TYPES_AUTOMATICALLY" desc="The information label for the 'Clear auto-opening settings' button">
Open certain file types automatically after downloading
</message>
<message name="IDS_SETTINGS_DOWNLOADS_SHOW_WHEN_FINISHED" desc="Label for the setting which enables the automatic showing of downloads when the downloads finish.">
Show downloads when they're done
</message>
<!-- On Startup Page -->
<message name="IDS_SETTINGS_ON_STARTUP" desc="Name of the on startup page.">
@ -1566,6 +1605,9 @@
<message name="IDS_SETTINGS_LANGUAGES_MANAGE_LANGUAGES_TITLE" desc="Name of the settings dialog which allows enabling additional languages.">
Add languages
</message>
<message name="IDS_SETTINGS_LANGUAGES_NO_LANGUAGES_ADDED" desc="Placeholder for language list settings when no languages have been added, on the Manage Languages page.">
No languages added
</message>
<if expr="not chromeos_ash">
<message name="IDS_SETTINGS_LANGUAGES_EXPAND_ACCESSIBILITY_LABEL" desc="Label for the button that toggles showing the language options. Only visible by screen reader software.">
Show language options
@ -1591,9 +1633,6 @@
<message name="IDS_SETTINGS_LANGUAGES_MANAGED_DIALOG_BODY" desc="Body text for the dialog informing users that the language they tried modifying is managed.">
Your administrator has set a default language which cannot be modified.
</message>
<message name="IDS_SETTINGS_LANGUAGES_NO_LANGUAGES_ADDED" desc="Placeholder for language list settings when no languages have been added, on the Manage Languages page.">
No languages added
</message>
<message name="IDS_SETTINGS_LANGUAGES_ADD_ARIA_LABEL" desc="Text read by screen readers when focusing on the checkbox for adding a language. This text is only announced by screen readers and is not visible in the UI.">
Add <ph name="LANGUAGE_NAME">$1<ex>Swahili</ex></ph>
</message>
@ -1774,17 +1813,20 @@
<message name="IDS_SETTINGS_ANTI_ABUSE_WHEN_ON_HEADER" desc="The header used for the section that informs users of the anti-abuse features.">
When on
</message>
<message name="IDS_SETTINGS_ANTI_ABUSE_WHEN_ON_SECTION_ONE" desc="A description that informs users how their browsing could be helped by the anti-abuse features.">
Browsing is faster because a site is less likely to ask you to verify you're a real person
<message name="IDS_SETTINGS_ANTI_ABUSE_WHEN_ON_SECTION_ONE" desc="A description that informs users that Thorium saves a small amount of data when the anti-abuse features are enabled.">
A site you visit can save a small amount of info with Thorium, mainly to validate you're not a bot
</message>
<message name="IDS_SETTINGS_ANTI_ABUSE_WHEN_ON_SECTION_TWO" desc="A description that informs users that the anti-abuse features do not reveal their browsing history.">
This setting works without identifying you or allowing sites to see your browsing history
<message name="IDS_SETTINGS_ANTI_ABUSE_WHEN_ON_SECTION_TWO" desc="A description that informs users how the anti-abuse features work.">
As you keep browsing, sites can check with Thorium and verify with a previous site you've visited that you're likely a real person
</message>
<message name="IDS_SETTINGS_ANTI_ABUSE_WHEN_ON_SECTION_THREE" desc="A description that informs users how their browsing could be helped by the anti-abuse features.">
Browsing is faster because a site is less likely to ask you to verify you're a real person
</message>
<message name="IDS_SETTINGS_ANTI_ABUSE_THINGS_TO_CONSIDER_HEADER" desc="The header used for the section that informs users of additional things to consider when the anti-abuse features are enabled.">
Things to consider
</message>
<message name="IDS_SETTINGS_ANTI_ABUSE_THINGS_TO_CONSIDER_SECTION_ONE" desc="A description that informs users that site can save info with Thorium when the anti-abuse features are enabled.">
A site you visit can save info with Thorium that validates you're not a bot. As you keep browsing, sites can check with Thorium and verify with a previous site you've visited that you're likely a real person
<message name="IDS_SETTINGS_ANTI_ABUSE_THINGS_TO_CONSIDER_SECTION_ONE" desc="A description that informs users that the anti-abuse features do not reveal their browsing history.">
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
</message>
<!-- Privacy Sandbox -->
@ -1988,7 +2030,7 @@
Sites
</message>
<message name="IDS_SETTINGS_FLEDGE_PAGE_CURRENT_SITES_DESCRIPTION" desc="A paragraph beneath the 'Sites' label. It explains how users can control the sites that appear in the list. * 'block sites': When a user blocks a site, that site may no longer save info with Thorium about the user's visit. As the user continues to browse, they will not see ads suggested by the blocked site. * 'auto-deletes': We included the 'auto' to reinforce that this is part of a system and the deletion is done regularly.">
You can block sites you don't want. Thorium also auto-deletes sites from the list that are older than 4 weeks.
You can block sites you don't want. Thorium also auto-deletes sites from the list that are older than 30 days.
</message>
<message name="IDS_SETTINGS_FLEDGE_PAGE_CURRENT_SITES_DESCRIPTION_LEARN_MORE" desc="A button label that opens a dialog box allowing the user to learn more about the Site-suggested ads setting.">
Learn more
@ -2042,7 +2084,7 @@
For example, if you visit a site that sells long-distance running shoes, the site might decide that you're interested in running marathons. Later, if you visit a different site, that site can show you an ad for running shoes suggested by the first site.
</message>
<message name="IDS_SETTINGS_FLEDGE_PAGE_LEARN_MORE_BULLET_3" desc="3 of 3 paragraphs on the Learn more page for Site-suggested ads. * 'Auto-deletes': This could just read 'Thorium deletes...' but we include the 'auto' to suggest that the deletion happens regularly and as part of the system. * 'A site you visit again...': We want to reassure the user. We just told them sites are automatically deleted. And yet, a user might see the same site in the list month after month if they visit that site regularly.">
Thorium auto-deletes sites that are older than 4 weeks. A site you visit again might reappear on the list. Or you can block a site from suggesting ads for you.
Thorium auto-deletes sites that are older than 30 days. A site you visit again might reappear on the list. Or you can block a site from suggesting ads for you.
</message>
<message name="IDS_SETTINGS_FLEDGE_PAGE_CURRENT_SITES_DESCRIPTION_LEARN_MORE_A11Y_LABEL" desc="Text read by screen readers to help users distinguish this 'Learn more' link from others that might get added to this page.">
Learn more about site-suggested ads
@ -2891,6 +2933,9 @@
<message name="IDS_SETTINGS_SITE_SETTINGS_FILE_SYSTEM_SITE_LIST_EDIT_HEADER" desc="The header name for a list of files that the user has granted edit permissions from the File System Access API.">
Edit
</message>
<message name="IDS_SETTINGS_SITE_SETTINGS_FILE_SYSTEM_SITE_LIST_REMOVE_GRANT_LABEL" desc="A label that represents removing a site's permission to access a file or folder, previously granted access from the File System Access API.">
Remove grant
</message>
<message name="IDS_SETTINGS_SITE_SETTINGS_FILE_SYSTEM_SITE_LIST_VIEW_HEADER" desc="The header name for a list of files that the user has granted view permissions from the File System Access API.">
View
</message>
@ -4082,6 +4127,18 @@
<message name="IDS_SETTINGS_NO_HID_DEVICES_FOUND" desc="Explanation for not showing HID devices in site settings.">
No HID devices found
</message>
<message name="IDS_SETTINGS_RESET_BLUETOOTH_CONFIRMATION" desc="Text for the dialog that warns about resetting all permissions for all Bluetooth devices.">
Reset all Bluetooth device permissions?
</message>
<message name="IDS_SETTINGS_RESET_HID_CONFIRMATION" desc="Text for the dialog that warns about resetting all permissions for all HID devices.">
Reset all HID device permissions?
</message>
<message name="IDS_SETTINGS_RESET_SERIAL_PORTS_CONFIRMATION" desc="Text for the dialog that warns about resetting all permissions for all serial ports.">
Reset all Serial port permisions?
</message>
<message name="IDS_SETTINGS_RESET_USB_CONFIRMATION" desc="Text for the dialog that warns about resetting all permissions for all USB devices.">
Reset all USB device permissions?
</message>
<message name="IDS_SETTINGS_ADD_SITE_TITLE" desc="Title for the Add Site dialog">
Add a site
</message>

View file

@ -95,6 +95,18 @@
<message name="IDS_SETTINGS_CAPTIONS_DEFAULT_SETTING" desc="Name of the default setting for the caption text.">
Default
</message>
<message name="IDS_SETTINGS_CAPTIONS_LANGUAGE" desc="Name of the language setting for the caption text.">
Caption language
</message>
<message name="IDS_SETTINGS_CAPTIONS_MANAGE_LANGUAGES_TITLE" desc="Name of the caption settings section for managing language packs.">
Manage languages
</message>
<message name="IDS_SETTINGS_CAPTIONS_LIVE_TRANSLATE_TARGET_LANGUAGE" desc="Description of the target language setting for the Live Translate feature.">
Translate to
</message>
<message name="IDS_SETTINGS_CAPTIONS_REMOVE_LANGUAGE_ARIA_LABEL" desc="Text read by screen readers when focusing on the remove icon for language packs. Activating this button will remove the selected language pack. This text only announced by screen readers and is not visible in the UI.">
Remove <ph name="LANGUAGE_NAME">$1<ex>English</ex></ph>
</message>
<!-- Nearby Share -->
<message name="IDS_SETTINGS_NEARBY_SHARE_TITLE" desc="Name of the settings page for the Nearby Share feature">
@ -346,6 +358,22 @@
<message name="IDS_SETTINGS_NEW_MANAGE_SYNCED_DATA_TITLE_UNIFIED_CONSENT" desc="Title for the link to manage Thorium Sync data via Google Dashboard when unified consent is enabled.">
Review your synced data
</message>
<message name="IDS_SETTINGS_NEW_SYNC_ADVANCED_DEVICE_PAGE_TITLE" translateable="false" desc="Name of the settings page which manages device data used by sync when lacros is enabled." >
<!-- TODO(crbug.com/1330894): Remove "translateable=false" once definitive string is available. -->
Manage device sync
</message>
<message name="IDS_SETTINGS_NEW_SYNC_ADVANCED_BROWSER_PAGE_TITLE" translateable="false" desc="Name of the settings page which manages browser data used by sync when lacros is enabled." >
<!-- TODO(crbug.com/1330894): Remove "translateable=false" once definitive string is available. -->
Manage browser sync
</message>
<message name="IDS_SETTINGS_NEW_MANAGE_SYNCED_DATA_SUBTITLE_UNIFIED_CONSENT" translateable="false" desc="Subtitle for the link to manage Thorium Sync data via Google Dashboard when unified consent is enabled.">
<!-- TODO(crbug.com/1330894): Remove "translateable=false" once definitive string is available. -->
Across your apps and Thorium browser
</message>
<message name="IDS_SETTINGS_NEW_MANAGE_BROWSER_SYNCED_DATA_TITLE" translateable="false" desc="Title for the link to manage Thorium Browser Sync data via browser settings.">
<!-- TODO(crbug.com/1330894): Remove "translateable=false" once definitive string is available. -->
Manage Thorium browser sync
</message>
<message name="IDS_SETTINGS_SYNC_SYNC_AND_NON_PERSONALIZED_SERVICES" desc="The name of the settings page and the label of the button that takes the user to manage their sync and non-personalized services settings.">
Sync and Google services
</message>