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
parent 522ce46286
commit ebeb11e713
3 changed files with 4 additions and 9 deletions

View File

@ -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();"/>

View File

@ -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;
}

View File

@ -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