rem: var message1 = bundle.formatStringFromName("newServerMessage1", [ cert.commonName, brandName ], 2); var message4 = bundle.formatStringFromName("newServerMessage4", [ cert.commonName ], 1); setText("message1", message1); setText("message4", message4);  document.getElementById('ok-button').focus(); 
add: var continueButton = bundle.GetStringFromName("continueButton");  document.getElementById("ok").label = continueButton;  var message = bundle.formatStringFromName("newServerMessage", [cert.commonName], 1); var notRecognized = bundle.formatStringFromName("certNotRecognized", [brandName], 1);  setText("message", message); setText("notRecognized", notRecognized); 
context: function onLoad(){  pkiParams    = window.arguments[0].QueryInterface(nsIPKIParamBlock);  dialogParams = pkiParams.QueryInterface(nsIDialogParamBlock);  var isupport = pkiParams.getISupportAtIndex(1);  cert = isupport.QueryInterface(nsIX509Cert);  var bundle = srGetStrBundle("chrome://pippki/locale/newserver.properties");  var gBundleBrand = srGetStrBundle("chrome://global/locale/brand.properties");  var brandName = gBundleBrand.GetStringFromName("brandShortName");  var message1 = bundle.formatStringFromName("newServerMessage1",                                             [ cert.commonName, brandName ],                                             2);  var message4 = bundle.formatStringFromName("newServerMessage4",                                             [ cert.commonName ],                                              1);  setText("message1", message1);  setText("message4", message4);  //Set the focus so key press events work  document.getElementById('ok-button').focus();}
meta: 9421	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/9421/bc74c520b1426c1c93fe8365e620bcdcec7c125d/newserver.js/clean/security/manager/pki/resources/content/newserver.js