Bug 1814266 - Use moz-support-link for the "identify-popup-custom-root-learn-more" label. r=tgiles,flod

Differential Revision: https://phabricator.services.mozilla.com/D173701
This commit is contained in:
Ebilite Uchenna 2023-04-14 15:01:10 +00:00
parent eb2de1ef8a
commit 3ecf643cb4
5 changed files with 9 additions and 13 deletions

View File

@ -927,14 +927,6 @@ var gIdentityHandler = {
});
}
// Update "Learn More" for Mixed Content Blocking and Insecure Login Forms.
let baseURL = Services.urlFormatter.formatURLPref("app.support.baseURL");
this._identityPopupCustomRootLearnMore.setAttribute(
"href",
baseURL + "enterprise-roots"
);
let customRoot = false;
// Determine connection security information.

View File

@ -125,9 +125,9 @@
when-connection="secure secure-ev secure-cert-user-overridden"/>
<description id="identity-popup-content-verifier-unknown"
class="identity-popup-warning-box identity-popup-warning-gray"
when-customroot="true"
data-l10n-id="identity-description-custom-root">
<label data-l10n-name="link" id="identity-popup-custom-root-learn-more" is="text-link"/>
when-customroot="true">
<label data-l10n-id="identity-description-custom-root2"/>
<html:a is="moz-support-link" id="identity-popup-custom-root-learn-more" support-page="enterprise-roots"/>
</description>
<!-- Remove Certificate Exception -->

View File

@ -400,7 +400,7 @@ identity-clear-site-data =
identity-connection-not-secure-security-view = You are not securely connected to this site.
identity-connection-verified = You are securely connected to this site.
identity-ev-owner-label = Certificate issued to:
identity-description-custom-root = Mozilla does not recognize this certificate issuer. It may have been added from your operating system or by an administrator. <label data-l10n-name="link">Learn More</label>
identity-description-custom-root2 = Mozilla does not recognize this certificate issuer. It may have been added from your operating system or by an administrator.
identity-remove-cert-exception =
.label = Remove Exception
.accesskey = R

View File

@ -286,6 +286,10 @@
}
}
#identity-popup-content-verifier-unknown > label {
display: inline;
}
/* CONTENT BLOCKING / TRACKING PROTECTION */
#protections-popup-sendReportView-heading,

View File

@ -147,7 +147,7 @@ CO01:
- extension-firefox-alpenglow-name
# browser/locales/en-US/browser/browser.ftl
- identity-custom-root
- identity-description-custom-root
- identity-description-custom-root2
# browser/locales/en-US/browser/migration.ftl
- import-from-firefox
# browser/locales/en-US/browser/migrationWizard.ftl