diff --git a/app/certificate_manager.grdp b/app/certificate_manager.grdp index 5f17502ed4f..a451badf218 100644 --- a/app/certificate_manager.grdp +++ b/app/certificate_manager.grdp @@ -126,7 +126,7 @@ The Brave Root Store contains certificates from Certificate Authorities trusted by the - Brave Root Program, and is continually reviewed on an ongoing basis. + Chrome Root Program, and is continually reviewed on an ongoing basis. Learn more diff --git a/chromium_src/chrome/browser/ui/webui/certificate_manager/certificate_manager_ui.cc b/chromium_src/chrome/browser/ui/webui/certificate_manager/certificate_manager_ui.cc new file mode 100644 index 00000000000..1a1df13fc97 --- /dev/null +++ b/chromium_src/chrome/browser/ui/webui/certificate_manager/certificate_manager_ui.cc @@ -0,0 +1,22 @@ +/* Copyright (c) 2024 The Brave Authors. All rights reserved. + * This Source Code Form is subject to the terms of the Mozilla Public + * License, v. 2.0. If a copy of the MPL was not distributed with this file, + * You can obtain one at https://mozilla.org/MPL/2.0/. */ + +#include "chrome/browser/ui/webui/certificate_manager/certificate_manager_ui.h" + +#include "content/public/browser/web_ui_data_source.h" + +namespace { + +const char kBraveCRSLearnMoreLink[] = + "https://github.com/brave/brave-browser/wiki/TLS-Policy#root-store"; + +} // namespace + +// Decay arrays to pointers for == comparison. +#define AddString(NAME, VALUE) \ + AddString(NAME, +VALUE == +kCRSLearnMoreLink ? kBraveCRSLearnMoreLink : VALUE) + +#include "src/chrome/browser/ui/webui/certificate_manager/certificate_manager_ui.cc" +#undef AddString diff --git a/script/lib/l10n/grd_string_replacements.py b/script/lib/l10n/grd_string_replacements.py index ac202e9c8ea..53d36acf874 100755 --- a/script/lib/l10n/grd_string_replacements.py +++ b/script/lib/l10n/grd_string_replacements.py @@ -66,6 +66,7 @@ fixup_replacements = [ (r'Brave Pay', r'Google Pay'), (r'Brave Photos', r'Google Photos'), (r'Brave Projects', r'Chromium Projects'), + (r'Brave Root Program', r'Chrome Root Program'), (r'BraveVox', r'ChromeVox'), (r'powered by Brave AI', r'powered by Google AI'), (r'Invite profiles', r'Invite people'),