Fix for Bug 84151 Checking in for Kai Engert

r=ssaux,ddrinan sr=blizzard

Add some text for the case where a cert doesn't have the appropriate
text for us to present to the user.
This commit is contained in:
javi%netscape.com 2001-08-01 23:13:26 +00:00
Родитель 2018666173
Коммит f05abe55b5
2 изменённых файлов: 4 добавлений и 0 удалений

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

@ -33,6 +33,9 @@ function onLoad()
var bundle = srGetStrBundle("chrome://pippki/locale/pippki.properties"); var bundle = srGetStrBundle("chrome://pippki/locale/pippki.properties");
if (!caName.length)
caName = bundle.GetStringFromName("unnamedCA");
var message2 = bundle.formatStringFromName("newCAMessage1", var message2 = bundle.formatStringFromName("newCAMessage1",
[ caName ], [ caName ],
1); 1);

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

@ -25,6 +25,7 @@ CertPassPrompt=Please enter the Personal Security Password for the PSM Private K
#These are for dialogs #These are for dialogs
#Download Cert dialog #Download Cert dialog
newCAMessage1=Do you want to trust "%S" for the following purposes? newCAMessage1=Do you want to trust "%S" for the following purposes?
unnamedCA=Certificate Authority (unnamed)
#For editing cert trust #For editing cert trust
editTrustWindowTitle=Edit certificate trust editTrustWindowTitle=Edit certificate trust