Bug 348259, "Flag" strings, not shown in UI, stored in properties file

r=rrelyea
This commit is contained in:
kaie%kuix.de 2006-09-01 19:12:01 +00:00
parent 5210a56fd7
commit 9111eebbc0
3 changed files with 8 additions and 12 deletions

View File

@ -54,22 +54,18 @@ issuerNotKnown=Because you do not know the certificate authority that issued thi
issuerCertNotFound=Certificate for this certificate authority was not found
#For Deleting Certificates
deleteSslCertFlag=deleteSslFlag
deleteSslCertConfirm=Are you sure you want to delete these web site certificates?
deleteSslCertImpact=If you delete a web site certificate, you will be asked to accept it again the next time you visit the web site.
deleteSslCertTitle=Delete Web Site Certificates
deleteUserCertFlag=deleteUserFlag
deleteUserCertConfirm=Are you sure you want to delete these certificates?
deleteUserCertImpact=If you delete one of your own certificates, you can no longer use it to identify yourself.
deleteUserCertTitle=Delete your Certificates
deleteCaCertFlag=deleteCaFlag
deleteCaCertConfirm=Are you sure you want to delete these CA certificates?
deleteCaCertImpact=If you delete a certificate authority (CA) certificate, your browser will no longer trust any certificates issued by that CA.
deleteCaCertTitle=Delete CA Certificates
deleteEmailCertFlag=deleteEmailFlag
deleteEmailCertConfirm=Are you sure you want to delete these people's e-mail certificates?
deleteEmailCertImpact=If you delete an e-mail certificate, your will no longer be able to send encrypted e-mail to those people.
deleteEmailCertTitle=Delete E-Mail Certificates

View File

@ -331,19 +331,19 @@ function deleteCerts()
if (selTabID == 'mine_tab')
{
params.SetString(0,bundle.GetStringFromName("deleteUserCertFlag"));
params.SetString(0, selTabID);
}
else if (selTabID == "websites_tab")
{
params.SetString(0,bundle.GetStringFromName("deleteSslCertFlag"));
params.SetString(0, selTabID);
}
else if (selTabID == "ca_tab")
{
params.SetString(0,bundle.GetStringFromName("deleteCaCertFlag"));
params.SetString(0, selTabID);
}
else if (selTabID == "others_tab")
{
params.SetString(0,bundle.GetStringFromName("deleteEmailCertFlag"));
params.SetString(0, selTabID);
}
else
{

View File

@ -66,25 +66,25 @@ function setWindowName()
var confirm;
var impact;
if(typeFlag == bundle.GetStringFromName("deleteUserCertFlag"))
if(typeFlag == "mine_tab")
{
title = bundle.GetStringFromName("deleteUserCertTitle");
confirm = bundle.GetStringFromName("deleteUserCertConfirm");
impact = bundle.GetStringFromName("deleteUserCertImpact");
}
else if(typeFlag == bundle.GetStringFromName("deleteSslCertFlag"))
else if(typeFlag == "websites_tab")
{
title = bundle.GetStringFromName("deleteSslCertTitle");
confirm = bundle.GetStringFromName("deleteSslCertConfirm");
impact = bundle.GetStringFromName("deleteSslCertImpact");
}
else if(typeFlag == bundle.GetStringFromName("deleteCaCertFlag"))
else if(typeFlag == "ca_tab")
{
title = bundle.GetStringFromName("deleteCaCertTitle");
confirm = bundle.GetStringFromName("deleteCaCertConfirm");
impact = bundle.GetStringFromName("deleteCaCertImpact");
}
else if(typeFlag == bundle.GetStringFromName("deleteEmailCertFlag"))
else if(typeFlag == "others_tab")
{
title = bundle.GetStringFromName("deleteEmailCertTitle");
confirm = bundle.GetStringFromName("deleteEmailCertConfirm");