Bug 482480 - Text on provided identity information seems contradicting. r=gavin, ui-r=johnath

This commit is contained in:
Mike Beltzner 2009-03-15 17:15:59 +01:00
Родитель 934bb1d83e
Коммит c2e43f0669
3 изменённых файлов: 4 добавлений и 9 удалений

Просмотреть файл

@ -403,9 +403,7 @@
</rows>
</grid>
<spacer flex="1"/>
<hbox align="center"><!-- Cert button -->
<description id="security-view-text" class="fieldLabel"
control="security-view-cert" flex="1"/>
<hbox pack="end"><!-- Cert button -->
<button id="security-view-cert" label="&securityView.certView;"
accesskey="&securityView.accesskey;"
oncommand="security.viewCert();"/>

Просмотреть файл

@ -219,7 +219,7 @@ function securityOnLoad() {
// way to tell those apart, and no policy way to establish which organization
// vetting standards are good enough (that's what EV is for) so we default to
// treating these certs as domain-validated only.
owner = pageInfoBundle.getString("securityNoIdentity");
owner = pageInfoBundle.getString("securityNoOwner");
verifier = security.mapIssuerOrganization(info.cAName ||
info.cert.issuerCommonName ||
info.cert.issuerName);
@ -228,7 +228,7 @@ function securityOnLoad() {
}
else {
// We don't have valid identity credentials.
owner = pageInfoBundle.getString("securityNoIdentity");
owner = pageInfoBundle.getString("securityNoOwner");
verifier = pageInfoBundle.getString("notset");
generalPageIdentityString = owner;
}
@ -240,8 +240,6 @@ function securityOnLoad() {
/* Manage the View Cert button*/
var viewCert = document.getElementById("security-view-cert");
if (info.cert) {
var viewText = pageInfoBundle.getString("securityCertText");
setText("security-view-text", viewText);
security._cert = info.cert;
viewCert.collapsed = false;
}

Просмотреть файл

@ -74,7 +74,6 @@ feedRss=RSS
feedAtom=Atom
feedXML=XML
securityCertText=This web site provides a certificate to verify its identity.
securityNoIdentity=This web site does not supply identity information.
securityNoOwner=This web site does not supply ownership information.
securityOneVisit=Yes, once
securityNVisits=Yes, %S times