зеркало из https://github.com/mozilla/gecko-dev.git
Backed out changeset 7599cc4b6688 (bug 1571831) for browser_renderCertToUI.js failures CLOSED TREE
This commit is contained in:
Родитель
ad7184ec58
Коммит
37ebfd0330
|
@ -19,8 +19,6 @@ certificate-viewer-algorithm = Algorithm
|
|||
certificate-viewer-certificate-authority = Certificate Authority
|
||||
certificate-viewer-cipher-suite = Cipher Suite
|
||||
certificate-viewer-common-name = Common Name
|
||||
# Inc. means Incorporated, e.g GitHub is incorporated in Delaware
|
||||
certificate-viewer-inc-country = Inc. Country
|
||||
certificate-viewer-country = Country
|
||||
certificate-viewer-curve = Curve
|
||||
certificate-viewer-distribution-point = Distribution Point
|
||||
|
@ -47,8 +45,6 @@ certificate-viewer-purposes = Purposes
|
|||
certificate-viewer-qualifier = Qualifier
|
||||
certificate-viewer-qualifiers = Qualifiers
|
||||
certificate-viewer-required = Required
|
||||
# Inc. means Incorporated, e.g GitHub is incorporated in Delaware
|
||||
certificate-viewer-inc-state-province = Inc. State/Province
|
||||
certificate-viewer-state-province = State/Province
|
||||
certificate-viewer-sha-1 = SHA-1
|
||||
certificate-viewer-sha-256 = SHA-256
|
||||
|
@ -59,4 +55,3 @@ certificate-viewer-signature-scheme = Signature Scheme
|
|||
certificate-viewer-timestamp = Timestamp
|
||||
certificate-viewer-value = Value
|
||||
certificate-viewer-version = Version
|
||||
certificate-viewer-business-category = Business Category
|
||||
|
|
|
@ -23,12 +23,7 @@ export class InfoItem extends HTMLElement {
|
|||
|
||||
render() {
|
||||
let label = this.shadowRoot.querySelector("label");
|
||||
let labelText = this.item.label
|
||||
.replace(/\s+/g, "-")
|
||||
.replace(/\./g, "")
|
||||
.replace(/\//g, "")
|
||||
.replace(/--/g, "-")
|
||||
.toLowerCase();
|
||||
let labelText = this.item.label.replace(/\s+/g, "-").toLowerCase();
|
||||
label.setAttribute("data-l10n-id", "certificate-viewer-" + labelText);
|
||||
|
||||
let info = this.shadowRoot.querySelector(".info");
|
||||
|
|
Загрузка…
Ссылка в новой задаче