Fixes cert manager branding.

This commit is contained in:
mkarolin
2024-11-18 09:20:35 -05:00
parent 90324f5301
commit 6ffc6cffd4
3 changed files with 24 additions and 1 deletions
+1 -1
View File
@@ -126,7 +126,7 @@
</message>
<message name="IDS_SETTINGS_CERTIFICATE_MANAGER_V2_CRS_CERTIFICATES_DESCRIPTION" desc="Description of the Brave Root Store certificates section of cert manager.">
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.
</message>
<message name="IDS_SETTINGS_CERTIFICATE_MANAGER_V2_CRS_LEARN_MORE_LINK" desc="Link to learning more about the Brave Root Store.">
Learn more
@@ -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
@@ -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'),