SSL certificate verification strings

svn path=/trunk/netsurf/; revision=7685
This commit is contained in:
Chris Young 2009-06-01 21:23:14 +00:00
parent bc1c7d4efe
commit 3918a7eaaf
7 changed files with 105 additions and 14 deletions

View File

@ -465,6 +465,25 @@ Login:Login
Cancel:Cancel Cancel:Cancel
# SSL certificate verification
# ============================
#
# This section contains tokens which are used in the
# SSL certificate verification dialog box.
#
SSLCerts:SSL certificates
SSLError:NetSurf failed to verify the authenticity of an SSL certificate. Please verify the details presented below.
Subject:Subject
Issuer:Issuer
Version:Version
ValidFrom:Valid from
ValidTo:Valid until
Type:Type
Serial:Serial
Accept:Accept
Reject:Reject
# Content # Content
# ======= # =======
# #

View File

@ -469,6 +469,25 @@ Login:Login
Cancel:Cancel Cancel:Cancel
# SSL certificate verification
# ============================
#
# This section contains tokens which are used in the
# SSL certificate verification dialog box.
#
SSLCerts:SSL certificates
SSLError:NetSurf failed to verify the authenticity of an SSL certificate. Please verify the details presented below.
Subject:Subject
Issuer:Issuer
Version:Version
ValidFrom:Valid from
ValidTo:Valid until
Type:Type
Serial:Serial
Accept:Accept
Reject:Reject
# Content # Content
# ======= # =======
# #

View File

@ -465,6 +465,25 @@ Login:Login
Cancel:Cancel Cancel:Cancel
# SSL certificate verification
# ============================
#
# This section contains tokens which are used in the
# SSL certificate verification dialog box.
#
SSLCerts:SSL certificates
SSLError:NetSurf failed to verify the authenticity of an SSL certificate. Please verify the details presented below.
Subject:Subject
Issuer:Issuer
Version:Version
ValidFrom:Valid from
ValidTo:Valid until
Type:Type
Serial:Serial
Accept:Accept
Reject:Reject
# Content # Content
# ======= # =======
# #

View File

@ -471,6 +471,25 @@ Login:Login
Cancel:Annulla Cancel:Annulla
# SSL certificate verification
# ============================
#
# This section contains tokens which are used in the
# SSL certificate verification dialog box.
#
SSLCerts:SSL certificates
SSLError:NetSurf failed to verify the authenticity of an SSL certificate. Please verify the details presented below.
Subject:Subject
Issuer:Issuer
Version:Version
ValidFrom:Valid from
ValidTo:Valid until
Type:Type
Serial:Serial
Accept:Accept
Reject:Reject
# Content # Content
# ======= # =======
# #

View File

@ -465,6 +465,25 @@ Login:Login
Cancel:Cancel Cancel:Cancel
# SSL certificate verification
# ============================
#
# This section contains tokens which are used in the
# SSL certificate verification dialog box.
#
SSLCerts:SSL certificates
SSLError:NetSurf failed to verify the authenticity of an SSL certificate. Please verify the details presented below.
Subject:Subject
Issuer:Issuer
Version:Version
ValidFrom:Valid from
ValidTo:Valid until
Type:Type
Serial:Serial
Accept:Accept
Reject:Reject
# Content # Content
# ======= # =======
# #

View File

@ -148,24 +148,20 @@ void gui_cert_verify(struct browser_window *bw, struct content *c,
ami_open_tree(tree,AMI_TREE_SSLCERT); ami_open_tree(tree,AMI_TREE_SSLCERT);
twin = (struct treeview_window *)data->tree->handle; twin = (struct treeview_window *)data->tree->handle;
if(yesorno = ASPrintf("%s|%s",messages_get("Yes"),messages_get("No"))) if(yesorno = ASPrintf("%s|%s",messages_get("Accept"),messages_get("Reject")))
{ {
if(reqcontents = ASPrintf("%s: %s\n%s: %s\n%s: %s\n%s: %s\n%s: %s\n%s: %s\n%s: %s\n\n%s", if(reqcontents = ASPrintf("%s\n\n%s: %s\n%s: %s\n%s: %s\n%s: %s\n%s: %s",
messages_get("ssl subject"), messages_get("SSLError"),
messages_get("Subject"),
to->subject_t, to->subject_t,
messages_get("ssl issuer"), messages_get("Issuer"),
to->issuer_t, to->issuer_t,
messages_get("ssl version"), messages_get("Version"),
to->version, to->version,
messages_get("ssl valid_from"), messages_get("ValidFrom"),
to->valid_from, to->valid_from,
messages_get("ssl type"), messages_get("ValidTo"),
to->type, to->valid_to))
messages_get("ssl valid_to"),
to->valid_to,
messages_get("ssl serial"),
to->serial,
messages_get("ssl question")))
{ {
res = TimedDosRequesterTags(TDR_ImageType,TDRIMAGE_QUESTION, res = TimedDosRequesterTags(TDR_ImageType,TDRIMAGE_QUESTION,
TDR_Window,twin->win, TDR_Window,twin->win,

View File

@ -240,7 +240,7 @@ void ami_open_tree(struct tree *tree,int type)
break; break;
case AMI_TREE_SSLCERT: case AMI_TREE_SSLCERT:
nothl = TRUE; nothl = TRUE;
wintitle = (char *)messages_get("ssl cert"); wintitle = (char *)messages_get("SSLCerts");
ami_get_theme_filename(&item,"theme_list_sslcert"); ami_get_theme_filename(&item,"theme_list_sslcert");
break; break;
} }